This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { polygonClient } from "@/clients/polygon"; | |
| import { inngest } from "./client"; | |
| import { getAggsPeriod } from "@/utils/get-aggs-period"; | |
| import { getAtr } from "@/ta/get-atr"; | |
| import { prisma } from "@/clients/prisma"; | |
| import { getAverageVolume } from "@/ta/get-average-volume"; | |
| import { getConsecutiveGreenDays } from "@/ta/get-consecutive-green-days"; | |
| import { getConsecutiveRedDays } from "@/ta/get-consecutive-red-days"; | |
| import { getAverageRoc } from "@/ta/get-average-roc"; | |
| import { getPreMarketSession } from "@/utils/get-pre-market-session"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id String @id @default(uuid()) | |
| tickerId String | |
| volume Float? | |
| vwap Float? | |
| open Float? | |
| close Float? | |
| high Float? | |
| low Float? | |
| date DateTime? | |
| closedGreen Boolean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const signals = gainers.reduce( | |
| ( | |
| acc: Array<{ | |
| ticker: string; | |
| news: Array<NewsResult>; | |
| bias: string; | |
| }>, | |
| curr | |
| ) => { | |
| const openingBar = curr.bars.find((bar) => bar.t === openingBarTime); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| class Content extends Component { | |
| constructor (props) { | |
| super(props); | |
| this.state = { | |
| isActive: this.props.isActive, | |
| styles: { | |
| height: 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |