Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/austin-starks/NextTrade
/ functions
Functions
708 in github.com/austin-starks/NextTrade
⨍
Functions
708
◇
Types & classes
325
Method
getOrders
(strategyIds: any)
app/src/models/history/orderHistory.ts:89
Method
getPl
(history: { value: number }[])
app/src/models/portfolio/portfolio.ts:117
Function
getPositionIndex
(symbol: string)
app/src/models/portfolio/abstractPortfolio.ts:151
Method
getPrices
(assets: AbstractAsset[])
app/src/models/brokerage/TradierBrokerage.ts:145
Method
getPrices
(assets: AbstractAsset[])
app/src/models/brokerage/AlpacaBrokerage.ts:70
Method
getPrices
(assets: AbstractAsset[])
app/src/models/brokerage/CoinbaseBrokerage.ts:65
Method
getPrices
(assets: AbstractAsset[])
app/src/models/brokerage/testBrokerage.ts:83
Method
getPrices
(assets: AbstractAsset[])
app/src/models/brokerage/BacktestBrokerage.ts:86
Function
getRandomInt
(min: number, max: number)
app/src/utils/functions.ts:67
Method
getStockPriceObj
(asset: AbstractAsset)
app/src/models/brokerage/TradierBrokerage.ts:127
Method
getStockPriceObj
(asset: AbstractAsset)
app/src/models/brokerage/AlpacaBrokerage.ts:77
Method
getStockPriceObj
(asset: AbstractAsset)
app/src/models/brokerage/CoinbaseBrokerage.ts:72
Method
getStockPriceObj
(asset: AbstractAsset)
app/src/models/brokerage/testBrokerage.ts:98
Method
getStockPriceObj
(asset: AbstractAsset)
app/src/models/brokerage/BacktestBrokerage.ts:90
Function
getStrategies
()
client/src/services/requests.tsx:82
Method
getStrategies
()
app/src/models/portfolio/mockPortfolio.ts:140
Method
getSummaries
(req: Request, res: Response)
app/src/controller/optimizationController/index.ts:186
Function
handleClickOutside
* Trigger cb if clicked on outside of element
client/src/utils/index.tsx:139
Function
handleClose
()
client/src/pages/templates/TwoPage.tsx:20
Function
handleClose
()
client/src/pages/templates/OnePage.tsx:18
Function
handleMobileMenuOpen
(event: React.MouseEvent<HTMLElement>)
client/src/components/Header/index.tsx:42
Function
handleProfileMenuOpen
(event: React.MouseEvent<HTMLElement>)
client/src/components/Header/index.tsx:28
Function
handleTabChange
( _event: React.SyntheticEvent, newValue: DateGraphEnum )
client/src/components/LineGraph/MainGraph.tsx:31
Function
hasAssetField
()
app/src/models/conditions/abstract.ts:168
Function
id
()
app/src/models/abstractions/abstractModel.ts:18
Method
id
()
app/src/models/portfolio/portfolio.ts:72
Method
initialTime
()
app/src/models/time/index.ts:48
Function
initializePortfolioWithNoPositionCondition
(num: number)
app/src/controller/forwardtestController/tests/test-performance-jest.ts:39
Method
isTrue
(args: IsConditionTrue)
app/src/models/conditions/movingAverage.ts:206
Method
isTrue
(args: IsConditionTrue)
app/src/models/conditions/then.ts:49
Method
isTrue
(args: IsConditionTrue)
app/src/models/conditions/compound.ts:17
Method
isTrue
(args: IsConditionTrue)
app/src/models/conditions/assetIsShort.ts:18
Method
isTrue
(args: IsConditionTrue)
app/src/models/conditions/positionValueIs.ts:36
Method
isTrue
(args: IsConditionTrue)
app/src/models/conditions/positionPercentChange.ts:53
Method
isTrue
(args: IsConditionTrue)
app/src/models/conditions/portfolioIsProfitable.ts:29
Method
isTrue
(args: IsConditionTrue)
app/src/models/conditions/portfolioValueIs.ts:36
Method
isTrue
(obj: IsConditionTrue)
app/src/models/conditions/havePosition.ts:90
Method
isTrue
(args: IsConditionTrue)
app/src/models/conditions/enoughTimePassed.ts:42
Method
isTrue
(args: IsConditionTrue)
app/src/models/conditions/buyingPowerIs.ts:36
Method
isTrue
(args: IsConditionTrue)
app/src/models/conditions/simplePrice.ts:53
Method
isTrue
(args: IsConditionTrue)
app/src/models/conditions/and.ts:21
Method
isValidStock
(symbol: string)
app/src/models/asset/StockData.ts:120
Function
logout
()
client/src/components/Header/index.tsx:46
Function
msToTime
(duration: number)
app/src/utils/functions.ts:35
Method
nameExists
(name: string, userId: Id)
app/src/models/conditions/index.ts:54
Function
nonAssetCb
(asset: IMenuAssetOptions, i: number)
client/src/components/Searchbar/index.tsx:112
Function
onChange
(e: React.ChangeEvent<HTMLInputElement>)
client/src/components/Searchbar/index.tsx:212
Function
onCreateCondition
(condition: AbstractCondition, side: side)
client/src/pages/Strategies/NewStrategy.tsx:449
Function
onDeleteCondition
(condition: AbstractCondition, side: side)
client/src/pages/Strategies/NewStrategy.tsx:461
Function
onUpdateCompoundCondition
(newCondition: AbstractCondition)
client/src/pages/Strategies/NewStrategy.tsx:279
Function
padResult
(array: T[], time: Date)
client/src/utils/index.tsx:54
Function
ping
()
client/src/services/requests.tsx:31
Method
price
()
app/src/models/order/index.ts:179
Function
removeField
( condition: AbstractCondition, name: string )
client/src/pages/Condition/helpers.tsx:32
Method
removeField
(name: string)
app/src/models/field/formControl.ts:25
Function
renderAssetInfo
(asset: PositionInfo, index: number)
client/src/components/PositionList/index.tsx:48
Function
renderField
(field: AbstractField)
client/src/pages/Condition/helpers.tsx:64
Function
replaceNulls
(obj: T, str = "")
app/src/utils/functions.ts:55
Method
reset
()
app/src/models/portfolio/mockPortfolio.ts:41
Function
runBacktest
(id: string)
client/src/services/requests.tsx:107
Method
runOne
(req: Request, res: Response)
app/src/controller/optimizationController/index.ts:89
Method
runOne
(req: Request, res: Response)
app/src/controller/backtestController/index.ts:79
Function
save
(userId: Id)
app/src/models/conditions/abstract.ts:142
Method
saveToDatabase
()
app/src/models/priceMap/index.ts:259
Method
saveToDatabase
(priceMap: InternalMap)
app/src/models/priceMap/index.ts:321
Method
searchQueryInModel
( query: string, limit: number, userId: Id )
app/src/models/portfolio/portfolio.ts:322
Method
searchQueryInModel
* Search for a model by a given query. * * The typical use case is to search for a model with query in its name. * However, it can be extende
app/src/models/abstractions/searchHelper.ts:25
Method
searchQueryInModel
(query: string, limit: number)
app/src/models/asset/StockData.ts:133
Function
sendOrder
(obj: OrderConfig)
app/src/models/brokerage/AbstractBrokerage.ts:88
Method
sendOrder
(obj: OrderConfig)
app/src/models/brokerage/AlpacaBrokerage.ts:81
Method
sendOrder
(obj: OrderConfig)
app/src/models/brokerage/CoinbaseBrokerage.ts:76
Function
sendPaperOrder
( obj: OrderConfig, fractionalShares = false )
app/src/models/brokerage/AbstractBrokerage.ts:75
Method
sendRealOrder
(obj: OrderConfig)
app/src/models/brokerage/TradierBrokerage.ts:193
Method
sendRealOrder
(obj: OrderConfig)
app/src/models/brokerage/AlpacaBrokerage.ts:85
Method
sendRealOrder
(obj: OrderConfig)
app/src/models/brokerage/CoinbaseBrokerage.ts:80
Method
sendRealOrder
(obj: OrderConfig)
app/src/models/brokerage/BacktestBrokerage.ts:113
Method
setStrategies
(strategies: Strategy[])
app/src/models/portfolio/mockPortfolio.ts:136
Method
setStrategies
(strategies: Strategy[])
app/src/models/portfolio/portfolio.ts:90
Function
subtractPositionHelper
( name: string, symbol: string, type: AssetTypeEnum, quantity: number, posInd: number,
app/src/models/portfolio/abstractPortfolio.ts:232
Function
tick
()
client/src/utils/index.tsx:184
Function
toObject
()
app/src/models/conditions/abstract.ts:118
Function
toString
()
app/src/models/conditions/abstract.ts:98
Method
toString
()
app/src/models/conditions/then.ts:66
Method
toString
()
app/src/models/conditions/assetIsShort.ts:13
Method
toString
()
app/src/models/conditions/positionValueIs.ts:31
Method
toString
()
app/src/models/conditions/positionPercentChange.ts:40
Method
toString
()
app/src/models/conditions/portfolioIsProfitable.ts:24
Method
toString
()
app/src/models/conditions/portfolioValueIs.ts:31
Method
toString
()
app/src/models/conditions/havePosition.ts:82
Method
toString
()
app/src/models/conditions/enoughTimePassed.ts:37
Method
toString
()
app/src/models/conditions/buyingPowerIs.ts:31
Method
toString
()
app/src/models/conditions/simplePrice.ts:47
Method
toString
()
app/src/models/conditions/and.ts:34
Function
transformStrategy
(strategy: Strategy)
app/src/controller/strategyController.ts:95
Function
updateBoughtPosition
(order: Order)
app/src/models/portfolio/abstractPortfolio.ts:155
Method
updateHistory
(priceMap: PriceMap, currentDate: Date)
app/src/models/portfolio/mockPortfolio.ts:53
Function
updatePaperLimitOrder
(order: Order, priceMap: PriceMap)
app/src/models/brokerage/AbstractBrokerage.ts:180
Function
updatePaperMarketOrder
(order: Order, priceMap: PriceMap)
app/src/models/brokerage/AbstractBrokerage.ts:159
Function
updatePaperOrders
(userId: Id, priceMap: PriceMap)
app/src/models/brokerage/AbstractBrokerage.ts:142
Method
updateRealOrders
(userId: Types.ObjectId)
app/src/models/brokerage/TradierBrokerage.ts:219
← previous
next →
601–700 of 708, ranked by callers