MCPcopy Index your code

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

Functions708 in github.com/austin-starks/NextTrade

↓ 3 callersMethod__unsafeSpeedup
()
app/src/models/optimization/index.ts:273
↓ 3 callersMethodcalculatePositionAllocation
( allocationType: AllocationEnum, buyingPower: number, positions: IPosition[], priceMap: Price
app/src/models/allocation/index.ts:164
↓ 3 callersMethodconstructValidStockList
()
app/src/models/asset/StockData.ts:101
↓ 3 callersMethodcreateFromForm
* Updates the condition with the attributes in its form fields *
app/src/models/conditions/index.ts:117
↓ 3 callersMethodfilterCachedData
(result: MarketDataArray, startTime: string, endTime: Date)
app/src/models/brokerage/BacktestBrokerage.ts:250
↓ 3 callersMethodfindByUserId
(userId: Id)
app/src/models/portfolio/portfolio.ts:191
↓ 3 callersFunctiongetBacktestState
(backtest: IBacktest)
client/src/pages/Portfolios/helper.tsx:68
↓ 3 callersMethodgetIntradayMarketHistory
( _assetName: string, _startTime: `${number}${number}${number}${number}-${number}${number}-${number}${
app/src/models/brokerage/testBrokerage.ts:137
↓ 3 callersFunctiongetMonthYearString
(date = new Date())
app/src/utils/functions.ts:72
↓ 3 callersFunctiongetOptimizers
(portfolioId: string)
client/src/services/requests.tsx:46
↓ 3 callersFunctiongetPositionInfo
(pos: IPosition)
client/src/pages/Portfolios/helper.tsx:17
↓ 3 callersMethodgetPriceFromConfig
( side: BuyOrSellEnum, fillAt: FillProbabilityEnum, priceObj: PriceObj, assetType: AssetTypeEn
app/src/models/priceMap/index.ts:75
↓ 3 callersMethodgetSpreadObj
(asset: AbstractAsset)
app/src/models/priceMap/index.ts:223
↓ 3 callersMethodgetSymbolInfoFromBrokerage
(brokerage: AbstractBrokerage)
app/src/models/asset/Option.ts:260
↓ 3 callersMethodinitialize
()
app/src/controller/forwardtestController/index.ts:414
↓ 3 callersMethodmarketIsOpen
()
app/src/models/backtester/index.ts:582
↓ 3 callersMethodnow
()
app/src/models/time/index.ts:52
↓ 3 callersFunctionrandrange
( min: number, max: number, isInteger: boolean )
app/src/utils/functions.ts:46
↓ 3 callersMethodset
(obj: T, form: FormControl)
app/src/models/field/formControl.ts:78
↓ 3 callersMethodsetPriceObj
(asset: AbstractAsset, priceObj: PriceObj)
app/src/models/brokerage/testBrokerage.ts:68
↓ 3 callersMethodstockDataWasDownloadedRecently
()
app/src/models/asset/StockData.ts:80
↓ 3 callersFunctiontoggleHelperText
( number: number, showHelperText: number[], setShowHelperText: (s: number[]) => void )
client/src/pages/Condition/helpers.tsx:127
↓ 3 callersFunctionuniqId
()
app/src/utils/index.ts:22
↓ 3 callersMethodupdateHistory
(priceMap: PriceMap)
app/src/models/portfolio/portfolio.ts:158
↓ 3 callersMethodupdatePortfolioHistory
( portfolioId: Id, time: Date, data: { value: number; positions: Position[] } )
app/src/models/history/portfolioHistory.ts:78
↓ 3 callersMethodvalidate
(asset: AbstractAsset | AbstractAsset[])
app/src/models/asset/index.ts:95
↓ 3 callersMethodvalidateHistory
( asset: AbstractAsset, startDate: Date, brokerage: BacktestBrokerage )
app/src/models/backtester/index.ts:546
↓ 2 callersMethodaddTrainingFitnessHistory
()
app/src/models/optimization/index.ts:608
↓ 2 callersFunctionbatchPromises
( array: Promise<T>[], batchSize: number, timeout: number )
app/src/utils/functions.ts:20
↓ 2 callersMethodcalculatePopulationFitness
(state: OptimizerState)
app/src/models/optimization/index.ts:701
↓ 2 callersFunctioncatchConditionError
( e: Error, conditionError: IConditionError, callback: (condition: AbstractCondition) => void )
app/src/controller/conditionController.ts:10
↓ 2 callersMethodcreateBacktest
( vector: OptimizerVector[], startDate: Date, endDate: Date, brokerage: BacktestBrokerage )
app/src/models/optimization/index.ts:647
↓ 2 callersMethodcreateMockOrder
(order: IMockOrder)
app/src/models/order/index.ts:135
↓ 2 callersMethodcreateWorker
(user: User)
app/src/controller/forwardtestController/index.ts:430
↓ 2 callersMethoddeleteExpiredOptions
()
app/src/models/portfolio/portfolio.ts:137
↓ 2 callersMethoddivide
(n: number)
app/src/models/statistics/index.ts:36
↓ 2 callersMethoddownloadStockData
()
app/src/models/asset/StockData.ts:57
↓ 2 callersMethodduration
(duration: Duration, min: number, max: number)
app/src/models/field/formGroup.ts:56
↓ 2 callersFunctiondurationToString
(diff: number)
client/src/utils/index.tsx:33
↓ 2 callersMethodfind
(obj: { _id?: Id; userId?: Id; portfolioId?: Id; strategyId?: Id; acknowledged?: boolean;
app/src/models/order/index.ts:252
↓ 2 callersMethodfindMainPortfolio
(userId: Id)
app/src/models/portfolio/portfolio.ts:287
↓ 2 callersMethodfindOne
( optimizerId: Id, userId: Id, brokerage: AbstractBrokerage, pageNumber?: number )
app/src/models/optimization/index.ts:1166
↓ 2 callersMethodfindOneAndRun
( backtestId: Id, userId: Id, backtestBrokerage: BacktestBrokerage, config?: IRunBacktestConfi
app/src/models/backtester/index.ts:319
↓ 2 callersMethodfindSummaries
( portfolioId: Id, userId: Id, limit: number )
app/src/models/backtester/index.ts:173
↓ 2 callersFunctionflipFillProbabilityEnum
( e: FillProbabilityEnum )
app/src/utils/enums.ts:129
↓ 2 callersMethodgenerateId
()
app/src/models/conditions/compound.ts:27
↓ 2 callersMethodgenerateRandomNumber
( randomizationIntensity: number, min: number, max: number, value: number, isInteger: bool
app/src/models/optimization/index.ts:827
↓ 2 callersMethodget
(req: Request, res: Response)
app/src/controller/backtestController/index.ts:45
↓ 2 callersFunctiongetBacktest
(id: string)
client/src/services/requests.tsx:106
↓ 2 callersMethodgetConditionsVector
( strategies: IStrategy[], side: "buy" | "sell" )
app/src/models/optimization/index.ts:1008
↓ 2 callersFunctiongetDuration
(start?: Date, end?: Date)
client/src/utils/index.tsx:24
↓ 2 callersMethodgetDynamicPrice
(asset: AbstractAsset)
app/src/models/brokerage/testBrokerage.ts:94
↓ 2 callersMethodgetHistorySlice
(id: Id, startDate: Date, endDate: Date)
app/src/models/history/portfolioHistory.ts:67
↓ 2 callersMethodgetHourAndMinute
()
app/src/models/calendar/index.ts:121
↓ 2 callersFunctiongetLine
( title: string | JSX.Element | number | undefined, variant = "subtitle2" )
client/src/components/ItemList/index.tsx:19
↓ 2 callersMethodgetMidPrice
(symbol: string, assetType: AssetTypeEnum)
app/src/models/priceMap/index.ts:273
↓ 2 callersFunctiongetOptimizerResults
(id: string)
client/src/services/requests.tsx:55
↓ 2 callersMethodgetOptionSymbol
( targetAsset: AbstractAsset, brokerage: AbstractBrokerage )
app/src/models/asset/Option.ts:294
↓ 2 callersFunctiongetPortfolio
(id?: string)
client/src/services/requests.tsx:80
↓ 2 callersFunctiongetPortfolioValue
(portfolio?: AbstractPortfolio)
client/src/pages/Portfolios/helper.tsx:47
↓ 2 callersMethodgetStockPrice
(asset: AbstractAsset, bidAsk: BidAskEnum)
app/src/models/priceMap/index.ts:179
↓ 2 callersMethodgetStocksFromFile
(filename: string)
app/src/models/asset/StockData.ts:32
↓ 2 callersMethodgetStrategies
()
app/src/models/portfolio/portfolio.ts:94
↓ 2 callersFunctiongetValue
(value: string | number, fieldType: string)
client/src/components/FormControl/DisplayFormGroup.tsx:29
↓ 2 callersFunctionhandleChange
(panel: number)
client/src/pages/Optimization/View.tsx:349
↓ 2 callersMethodinitializeConditionsInDb
(forceUpdate = false)
app/src/models/conditions/index.ts:75
↓ 2 callersMethodisEOD
()
app/src/models/time/index.ts:56
↓ 2 callersMethodkillall
( obj: { userId?: Id }, errMessage: string )
app/src/models/optimization/index.ts:1199
↓ 2 callersMethodmarketIsOpenNow
()
app/src/models/calendar/index.ts:133
↓ 2 callersMethodminOrMaxOhlcPrice
( arr: Array<Object>, ohlc: OhlcEnum, func: (x: number, y: number) => number )
app/src/models/conditions/movingAverage.ts:92
↓ 2 callersMethodmutateVector
(vector: OptimizerVector)
app/src/models/optimization/index.ts:496
↓ 2 callersMethodnext
()
app/src/models/time/index.ts:60
↓ 2 callersFunctiononChange
(value?: string | number | Date | null)
client/src/components/FormControl/DisplayFormGroup.tsx:58
↓ 2 callersMethodpreconditionsFailed
( obj: IPrecondition, checkIfpriceIsUnrealistic = true )
app/src/models/strategy/index.ts:172
↓ 2 callersFunctionpushConditions
( items: Item[], conditions: AbstractCondition[], newConditions: AbstractCondition[], side: "Buy" | "S
client/src/pages/Optimization/View.tsx:62
↓ 2 callersMethodrandomizeStrategies
* Randomize strategy conditions, strategy buyAmount, and strategy sellAmount for optimizer * * @param randomizationIntensity: a number between 0
app/src/models/optimization/index.ts:805
↓ 2 callersMethodrecordAction
(actionArray: IAction[], data: ActionData)
app/src/models/backtester/index.ts:425
↓ 2 callersMethodrunBacktestAndCalculateFitness
( backtest: Backtester )
app/src/models/optimization/index.ts:720
↓ 2 callersMethodrunValidationTest
()
app/src/models/optimization/index.ts:628
↓ 2 callersMethodsaveToDb
(stocks: IStock[])
app/src/models/asset/StockData.ts:42
↓ 2 callersMethodsearchQueryInModel
( query: string, limit: number, userId: Id )
app/src/models/strategy/index.ts:314
↓ 2 callersMethodselectParentRouletteWheel
(fitnessSum: number)
app/src/models/optimization/index.ts:581
↓ 2 callersMethodselectParentTournament
()
app/src/models/optimization/index.ts:593
↓ 2 callersMethodsendOrder
(obj: OrderConfig)
app/src/models/brokerage/testBrokerage.ts:129
↓ 2 callersFunctionsetCompoundConditions
(conditions: AbstractCondition[])
client/src/pages/Condition/CompoundConditionForm.tsx:131
↓ 2 callersMethodsetFilled
(price: number, time: Date)
app/src/models/order/index.ts:183
↓ 2 callersMethodsetMainPortfolio
(userId: Id)
app/src/models/portfolio/portfolio.ts:309
↓ 2 callersMethodsetSymbol
()
app/src/models/asset/DebitSpread.ts:26
↓ 2 callersMethodsortFitness
()
app/src/models/optimization/index.ts:598
↓ 2 callersFunctionstartOptimizerWorker
( req: Request, res: Response, optimizer: Optimizer )
app/src/controller/optimizationController/index.ts:24
↓ 2 callersMethodtargetAsset
( targetAsset: AbstractAsset, options?: { required: boolean } )
app/src/models/field/formGroup.ts:81
↓ 2 callersMethodtargetAssets
( targetAssets: AbstractAsset[], options?: { required: boolean } )
app/src/models/field/formGroup.ts:108
↓ 2 callersMethodvalidate
( startDate: Date, endDate: Date, portfolio: MockPortfolio, brokerage: BacktestBrokerage )
app/src/models/backtester/index.ts:511
↓ 1 callersMethodHavePosition
(assets: AbstractAsset[])
app/src/models/conditions/havePosition.ts:65
↓ 1 callersMethodabsPercentDifference
(current: number, prev: number)
app/src/models/priceMap/index.ts:71
↓ 1 callersMethodacknowledge
()
app/src/models/order/index.ts:173
↓ 1 callersMethodadd
(condition: AbstractCondition)
app/src/models/conditions/compound.ts:35
↓ 1 callersFunctionaddCompoundCondition
()
client/src/pages/Condition/CompoundConditionForm.tsx:90
↓ 1 callersMethodaddOrderToHistory
(order: Order, commission: number)
app/src/models/portfolio/portfolio.ts:141
↓ 1 callersMethodaddPositions
(quantity: number, price: number)
app/src/models/position/index.ts:38
← previousnext →101–200 of 708, ranked by callers