Skip to content

Instantly share code, notes, and snippets.

View chrispeterson3's full-sized avatar
🏄‍♂️

Chris Peterson chrispeterson3

🏄‍♂️
View GitHub Profile
id String @id @default(uuid())
tickerId String
volume Float?
vwap Float?
open Float?
close Float?
high Float?
low Float?
date DateTime?
closedGreen Boolean
const signals = gainers.reduce(
(
acc: Array<{
ticker: string;
news: Array<NewsResult>;
bias: string;
}>,
curr
) => {
const openingBar = curr.bars.find((bar) => bar.t === openingBarTime);
import React, { Component } from 'react';
class Content extends Component {
constructor (props) {
super(props);
this.state = {
isActive: this.props.isActive,
styles: {
height: 0,
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"