MCPcopy Index your code

hub / github.com/austin-starks/NextTrade / functions

Functions708 in github.com/austin-starks/NextTrade

MethodgetOrders
(strategyIds: any)
app/src/models/history/orderHistory.ts:89
MethodgetPl
(history: { value: number }[])
app/src/models/portfolio/portfolio.ts:117
FunctiongetPositionIndex
(symbol: string)
app/src/models/portfolio/abstractPortfolio.ts:151
MethodgetPrices
(assets: AbstractAsset[])
app/src/models/brokerage/TradierBrokerage.ts:145
MethodgetPrices
(assets: AbstractAsset[])
app/src/models/brokerage/AlpacaBrokerage.ts:70
MethodgetPrices
(assets: AbstractAsset[])
app/src/models/brokerage/CoinbaseBrokerage.ts:65
MethodgetPrices
(assets: AbstractAsset[])
app/src/models/brokerage/testBrokerage.ts:83
MethodgetPrices
(assets: AbstractAsset[])
app/src/models/brokerage/BacktestBrokerage.ts:86
FunctiongetRandomInt
(min: number, max: number)
app/src/utils/functions.ts:67
MethodgetStockPriceObj
(asset: AbstractAsset)
app/src/models/brokerage/TradierBrokerage.ts:127
MethodgetStockPriceObj
(asset: AbstractAsset)
app/src/models/brokerage/AlpacaBrokerage.ts:77
MethodgetStockPriceObj
(asset: AbstractAsset)
app/src/models/brokerage/CoinbaseBrokerage.ts:72
MethodgetStockPriceObj
(asset: AbstractAsset)
app/src/models/brokerage/testBrokerage.ts:98
MethodgetStockPriceObj
(asset: AbstractAsset)
app/src/models/brokerage/BacktestBrokerage.ts:90
FunctiongetStrategies
()
client/src/services/requests.tsx:82
MethodgetStrategies
()
app/src/models/portfolio/mockPortfolio.ts:140
MethodgetSummaries
(req: Request, res: Response)
app/src/controller/optimizationController/index.ts:186
FunctionhandleClickOutside
* Trigger cb if clicked on outside of element
client/src/utils/index.tsx:139
FunctionhandleClose
()
client/src/pages/templates/TwoPage.tsx:20
FunctionhandleClose
()
client/src/pages/templates/OnePage.tsx:18
FunctionhandleMobileMenuOpen
(event: React.MouseEvent<HTMLElement>)
client/src/components/Header/index.tsx:42
FunctionhandleProfileMenuOpen
(event: React.MouseEvent<HTMLElement>)
client/src/components/Header/index.tsx:28
FunctionhandleTabChange
( _event: React.SyntheticEvent, newValue: DateGraphEnum )
client/src/components/LineGraph/MainGraph.tsx:31
FunctionhasAssetField
()
app/src/models/conditions/abstract.ts:168
Functionid
()
app/src/models/abstractions/abstractModel.ts:18
Methodid
()
app/src/models/portfolio/portfolio.ts:72
MethodinitialTime
()
app/src/models/time/index.ts:48
FunctioninitializePortfolioWithNoPositionCondition
(num: number)
app/src/controller/forwardtestController/tests/test-performance-jest.ts:39
MethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/movingAverage.ts:206
MethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/then.ts:49
MethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/compound.ts:17
MethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/assetIsShort.ts:18
MethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/positionValueIs.ts:36
MethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/positionPercentChange.ts:53
MethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/portfolioIsProfitable.ts:29
MethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/portfolioValueIs.ts:36
MethodisTrue
(obj: IsConditionTrue)
app/src/models/conditions/havePosition.ts:90
MethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/enoughTimePassed.ts:42
MethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/buyingPowerIs.ts:36
MethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/simplePrice.ts:53
MethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/and.ts:21
MethodisValidStock
(symbol: string)
app/src/models/asset/StockData.ts:120
Functionlogout
()
client/src/components/Header/index.tsx:46
FunctionmsToTime
(duration: number)
app/src/utils/functions.ts:35
MethodnameExists
(name: string, userId: Id)
app/src/models/conditions/index.ts:54
FunctionnonAssetCb
(asset: IMenuAssetOptions, i: number)
client/src/components/Searchbar/index.tsx:112
FunctiononChange
(e: React.ChangeEvent<HTMLInputElement>)
client/src/components/Searchbar/index.tsx:212
FunctiononCreateCondition
(condition: AbstractCondition, side: side)
client/src/pages/Strategies/NewStrategy.tsx:449
FunctiononDeleteCondition
(condition: AbstractCondition, side: side)
client/src/pages/Strategies/NewStrategy.tsx:461
FunctiononUpdateCompoundCondition
(newCondition: AbstractCondition)
client/src/pages/Strategies/NewStrategy.tsx:279
FunctionpadResult
(array: T[], time: Date)
client/src/utils/index.tsx:54
Functionping
()
client/src/services/requests.tsx:31
Methodprice
()
app/src/models/order/index.ts:179
FunctionremoveField
( condition: AbstractCondition, name: string )
client/src/pages/Condition/helpers.tsx:32
MethodremoveField
(name: string)
app/src/models/field/formControl.ts:25
FunctionrenderAssetInfo
(asset: PositionInfo, index: number)
client/src/components/PositionList/index.tsx:48
FunctionrenderField
(field: AbstractField)
client/src/pages/Condition/helpers.tsx:64
FunctionreplaceNulls
(obj: T, str = "")
app/src/utils/functions.ts:55
Methodreset
()
app/src/models/portfolio/mockPortfolio.ts:41
FunctionrunBacktest
(id: string)
client/src/services/requests.tsx:107
MethodrunOne
(req: Request, res: Response)
app/src/controller/optimizationController/index.ts:89
MethodrunOne
(req: Request, res: Response)
app/src/controller/backtestController/index.ts:79
Functionsave
(userId: Id)
app/src/models/conditions/abstract.ts:142
MethodsaveToDatabase
()
app/src/models/priceMap/index.ts:259
MethodsaveToDatabase
(priceMap: InternalMap)
app/src/models/priceMap/index.ts:321
MethodsearchQueryInModel
( query: string, limit: number, userId: Id )
app/src/models/portfolio/portfolio.ts:322
MethodsearchQueryInModel
* 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
MethodsearchQueryInModel
(query: string, limit: number)
app/src/models/asset/StockData.ts:133
FunctionsendOrder
(obj: OrderConfig)
app/src/models/brokerage/AbstractBrokerage.ts:88
MethodsendOrder
(obj: OrderConfig)
app/src/models/brokerage/AlpacaBrokerage.ts:81
MethodsendOrder
(obj: OrderConfig)
app/src/models/brokerage/CoinbaseBrokerage.ts:76
FunctionsendPaperOrder
( obj: OrderConfig, fractionalShares = false )
app/src/models/brokerage/AbstractBrokerage.ts:75
MethodsendRealOrder
(obj: OrderConfig)
app/src/models/brokerage/TradierBrokerage.ts:193
MethodsendRealOrder
(obj: OrderConfig)
app/src/models/brokerage/AlpacaBrokerage.ts:85
MethodsendRealOrder
(obj: OrderConfig)
app/src/models/brokerage/CoinbaseBrokerage.ts:80
MethodsendRealOrder
(obj: OrderConfig)
app/src/models/brokerage/BacktestBrokerage.ts:113
MethodsetStrategies
(strategies: Strategy[])
app/src/models/portfolio/mockPortfolio.ts:136
MethodsetStrategies
(strategies: Strategy[])
app/src/models/portfolio/portfolio.ts:90
FunctionsubtractPositionHelper
( name: string, symbol: string, type: AssetTypeEnum, quantity: number, posInd: number,
app/src/models/portfolio/abstractPortfolio.ts:232
Functiontick
()
client/src/utils/index.tsx:184
FunctiontoObject
()
app/src/models/conditions/abstract.ts:118
FunctiontoString
()
app/src/models/conditions/abstract.ts:98
MethodtoString
()
app/src/models/conditions/then.ts:66
MethodtoString
()
app/src/models/conditions/assetIsShort.ts:13
MethodtoString
()
app/src/models/conditions/positionValueIs.ts:31
MethodtoString
()
app/src/models/conditions/positionPercentChange.ts:40
MethodtoString
()
app/src/models/conditions/portfolioIsProfitable.ts:24
MethodtoString
()
app/src/models/conditions/portfolioValueIs.ts:31
MethodtoString
()
app/src/models/conditions/havePosition.ts:82
MethodtoString
()
app/src/models/conditions/enoughTimePassed.ts:37
MethodtoString
()
app/src/models/conditions/buyingPowerIs.ts:31
MethodtoString
()
app/src/models/conditions/simplePrice.ts:47
MethodtoString
()
app/src/models/conditions/and.ts:34
FunctiontransformStrategy
(strategy: Strategy)
app/src/controller/strategyController.ts:95
FunctionupdateBoughtPosition
(order: Order)
app/src/models/portfolio/abstractPortfolio.ts:155
MethodupdateHistory
(priceMap: PriceMap, currentDate: Date)
app/src/models/portfolio/mockPortfolio.ts:53
FunctionupdatePaperLimitOrder
(order: Order, priceMap: PriceMap)
app/src/models/brokerage/AbstractBrokerage.ts:180
FunctionupdatePaperMarketOrder
(order: Order, priceMap: PriceMap)
app/src/models/brokerage/AbstractBrokerage.ts:159
FunctionupdatePaperOrders
(userId: Id, priceMap: PriceMap)
app/src/models/brokerage/AbstractBrokerage.ts:142
MethodupdateRealOrders
(userId: Types.ObjectId)
app/src/models/brokerage/TradierBrokerage.ts:219
← previousnext →601–700 of 708, ranked by callers