MCPcopy Index your code

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

Functions708 in github.com/austin-starks/NextTrade

↓ 171 callersMethodset
(symbol: string, priceObj: PriceObj)
app/src/models/priceMap/index.ts:247
↓ 116 callersMethodisTrue
(args: IsConditionTrue)
app/src/models/conditions/or.ts:21
↓ 74 callersMethodget
( asset: AbstractAsset, side: BuyOrSellEnum, fillEnum = FillProbabilityEnum.MID )
app/src/models/priceMap/index.ts:141
↓ 48 callersMethodsave
()
app/src/models/user/index.ts:64
↓ 38 callersMethodtoString
()
app/src/models/time/index.ts:64
↓ 36 callersMethodcreate
(init: IBacktesterConfig)
app/src/models/backtester/index.ts:186
↓ 32 callersMethodaddGroup
(group: FormGroup)
app/src/models/field/formControl.ts:17
↓ 31 callersMethodaddStrategy
(strategy: Strategy)
app/src/models/portfolio/portfolio.ts:98
↓ 31 callersMethodconnect
()
app/src/services/db.ts:54
↓ 30 callersMethodgetPriceObj
(asset: AbstractAsset | string)
app/src/models/priceMap/index.ts:205
↓ 30 callersFunctionprint
(...args: any[])
app/src/utils/functions.ts:6
↓ 28 callersFunctioncatchErrorCallback
( err: any, authCb: (arg: string) => void, bannerCb: (arg: { message: string; severity: "error" | "succe
client/src/services/requests.tsx:109
↓ 25 callersMethodsave
()
app/src/models/strategy/index.ts:93
↓ 24 callersMethodfind
()
app/src/models/user/index.ts:153
↓ 24 callersMethodprint
(str: any, ...args: any[])
app/src/controller/forwardtestController/index.ts:135
↓ 23 callersMethodclearDatabase
()
app/src/services/db.ts:72
↓ 23 callersMethodcloseDatabase
()
app/src/services/db.ts:62
↓ 23 callersMethodfindOne
(backtestId: Id, userId: Id)
app/src/models/backtester/index.ts:310
↓ 21 callersFunctionformatDate
(d: Date)
app/src/utils/functions.ts:80
↓ 21 callersMethodupdatePositions
(order: Order)
app/src/models/portfolio/portfolio.ts:125
↓ 20 callersMethodconstructRealisticMarketDict
( asset: AbstractAsset, mockData: MarketDataArray )
app/src/models/brokerage/testBrokerage.ts:122
↓ 19 callersMethodaddBuyingCondition
(condition: AbstractCondition)
app/src/models/strategy/index.ts:200
↓ 19 callersFunctiondebug
(...args: any[])
app/src/utils/functions.ts:9
↓ 19 callersMethodgetOptimizerVector
* A vector in the following order: * - strategy.buyAmount.amount * - strategy.buyAmount.type * - strategy.sellAmount.amount * - strategy.s
app/src/models/optimization/index.ts:864
↓ 16 callersMethodcreate
(obj: ICondition)
app/src/models/conditions/index.ts:130
↓ 14 callersMethodbuyLimitReached
( allocation: AllocationLimit, buyingPower: number, positions: IPosition[], priceMap: PriceMap
app/src/models/allocation/index.ts:203
↓ 14 callersMethodcreate
(req: Request, res: Response)
app/src/controller/backtestController/index.ts:8
↓ 14 callersMethodcreate
(userInfo: IUser)
app/src/models/user/index.ts:117
↓ 14 callersMethodcreateFromArray
(array: ICondition[])
app/src/models/conditions/index.ts:47
↓ 13 callersMethodHaveNoPositions
(assets: AbstractAsset[])
app/src/models/conditions/havePosition.ts:48
↓ 13 callersMethodfindById
(id: string)
app/src/models/user/index.ts:135
↓ 12 callersMethodaddAll
(conditions: AbstractCondition[])
app/src/models/conditions/compound.ts:39
↓ 12 callersMethodcreateATMstrike
()
app/src/models/asset/Option.ts:44
↓ 12 callersMethodgetPrices
()
app/src/models/backtester/index.ts:285
↓ 11 callersMethodaddField
(field: AbstractField)
app/src/models/field/formGroup.ts:21
↓ 11 callersFunctioncreateMockPortfolio
(asset: AbstractAsset)
app/src/models/backtester/tests/test-backtester-jest.ts:1078
↓ 11 callersFunctionemptyCondition
(obj?: { _id?: string; type?: ConditionEnum; conditions?: AbstractCondition[]; })
client/src/pages/Condition/helpers.tsx:11
↓ 11 callersMethodfindByStrategy
( strategy: Strategy, userId: Id )
app/src/models/portfolio/portfolio.ts:228
↓ 10 callersMethodcreateFromPosition
(pos: IPosition)
app/src/models/asset/index.ts:145
↓ 10 callersMethodsave
()
app/src/models/optimization/index.ts:339
↓ 10 callersMethodsave
()
app/src/models/order/index.ts:164
↓ 9 callersMethodgetDateTime
(currentDate: Date)
app/src/models/time/index.ts:68
↓ 9 callersMethodgetDynamicPrice
( asset: AbstractAsset, side: BuyOrSellEnum, fillEnum = FillProbabilityEnum.MID )
app/src/models/priceMap/index.ts:149
↓ 9 callersMethodsave
()
app/src/models/portfolio/portfolio.ts:76
↓ 9 callersMethodsetOptimizerVector
* * @param vector: a number[] retrieved from a portfolio that has the same strategies * * Precondition: vector is obtained from a portfolio w
app/src/models/optimization/index.ts:1045
↓ 8 callersMethodcalculateNumShares
( allocation: Allocation, buyingPower: number, positions: IPosition[], priceMap: PriceMap,
app/src/models/allocation/index.ts:109
↓ 8 callersMethodcreate
(id: Id, oConfig: OrderConfig)
app/src/models/order/index.ts:232
↓ 8 callersMethodfind
(obj = {})
app/src/models/strategy/index.ts:298
↓ 8 callersMethodgetPositionPrice
(pos: IPosition, fillEnum = FillProbabilityEnum.MID)
app/src/models/priceMap/index.ts:238
↓ 8 callersMethodnewBacktest
(portfolio: AbstractPortfolio)
app/src/models/portfolio/mockPortfolio.ts:148
↓ 7 callersMethodadd
(s: IStatistics)
app/src/models/statistics/index.ts:26
↓ 7 callersMethodcalcPositionValue
(positions: IPosition[], priceMap: PriceMap)
app/src/models/allocation/index.ts:144
↓ 7 callersFunctioncompare
( current: number, target: number, c: Comparator )
app/src/utils/functions.ts:93
↓ 7 callersMethodfindByName
(name: string, userId: Id)
app/src/models/strategy/index.ts:208
↓ 7 callersMethodgetExpiration
(expirationArray: Array<Datestring>)
app/src/models/asset/Option.ts:190
↓ 7 callersMethodgetFilledOrders
(userId: Id)
app/src/models/order/index.ts:189
↓ 7 callersMethodgetOptionExpirationList
(option: Option)
app/src/models/brokerage/testBrokerage.ts:54
↓ 7 callersMethodincrementTime
()
app/src/models/backtester/index.ts:607
↓ 7 callersMethodprint
(...args: any[])
app/src/models/optimization/index.ts:267
↓ 7 callersMethodrun
(config: IRunBacktestConfig)
app/src/models/backtester/index.ts:221
↓ 7 callersMethodsendPaperOrder
(obj: OrderConfig)
app/src/models/brokerage/TradierBrokerage.ts:215
↓ 6 callersFunctioncommifyLargeNumber
(number: number)
client/src/utils/index.tsx:164
↓ 6 callersMethodconstructFakeMarketDict
( asset: AbstractAsset, mockData: Array<number>, ohlc: OhlcEnum )
app/src/models/brokerage/testBrokerage.ts:105
↓ 6 callersMethodcontains
(asset: String | AbstractAsset)
app/src/models/priceMap/index.ts:267
↓ 6 callersMethodcreateStrategyFromModel
(model: IStrategyModel)
app/src/models/strategy/index.ts:292
↓ 6 callersMethodgetForm
()
app/src/models/optimization/index.ts:1280
↓ 6 callersMethodgetMarketHistory
( asset: AbstractAsset, startTime: Datestring )
app/src/models/brokerage/testBrokerage.ts:36
↓ 6 callersMethodkeys
()
app/src/models/priceMap/index.ts:263
↓ 6 callersMethodsave
()
app/src/models/backtester/index.ts:258
↓ 6 callersFunctionsleep
(ms: number)
app/src/utils/functions.ts:89
↓ 5 callersMethodclone
(iproto: IPrototypeStrategy)
app/src/models/strategy/index.ts:132
↓ 5 callersMethodcreate
(obj: IBrokerage)
app/src/models/brokerage/index.ts:20
↓ 5 callersMethodcreate
(obj: AbstractAsset)
app/src/models/asset/index.ts:34
↓ 5 callersMethodcreateOTMstrike
(amount: number, metric?: PercentOrDollarsEnum)
app/src/models/asset/Option.ts:48
↓ 5 callersMethodfind
(obj = {})
app/src/models/portfolio/portfolio.ts:244
↓ 5 callersMethodgetAssets
( portfolios: AbstractPortfolio[], brokerage: AbstractBrokerage )
app/src/models/asset/index.ts:176
↓ 5 callersMethodrun
(obj: IRunOptimizerConfig = {})
app/src/models/optimization/index.ts:355
↓ 4 callersMethodPriceIsNotTooHigh
()
app/src/models/conditions/movingAverage.ts:72
↓ 4 callersMethodaddSellingCondition
(condition: AbstractCondition)
app/src/models/strategy/index.ts:204
↓ 4 callersMethodcalculateQuantityToBuy
( asset: AbstractAsset, priceMap: PriceMap, buyAmount: PurchaseAndSaleAllocation, buyingPower:
app/src/models/allocation/index.ts:35
↓ 4 callersMethodcalculateQuantityToSell
( asset: AbstractAsset, priceMap: PriceMap, sellAmount: PurchaseAndSaleAllocation, buyingPower
app/src/models/allocation/index.ts:81
↓ 4 callersFunctioncreateData
( strategyName: string, time: string, amount: number, profit: string )
client/src/pages/Assets/AssetDashboard.tsx:17
↓ 4 callersMethodexists
(name: string)
app/src/models/asset/StockData.ts:38
↓ 4 callersMethodfind
( portfolioId: Id, userId: Id, limit: number )
app/src/models/optimization/index.ts:1223
↓ 4 callersMethodfindByEmail
(email: string)
app/src/models/user/index.ts:144
↓ 4 callersMethodfindById
(id: Id, userId: Id)
app/src/models/strategy/index.ts:261
↓ 4 callersMethodfindByIdAndUpdate
( id: Id, userId: Id, data: IStrategy )
app/src/models/strategy/index.ts:273
↓ 4 callersMethodfixStateElement
(vector: OptimizerVector[])
app/src/models/optimization/index.ts:788
↓ 4 callersMethodgenerateAuthToken
(longExpiration = false)
app/src/models/user/index.ts:89
↓ 4 callersMethodgetBacktestPrices
(d: Date, interval: TimeIntervalEnum)
app/src/models/brokerage/BacktestBrokerage.ts:200
↓ 4 callersMethodgetForm
()
app/src/models/conditions/or.ts:62
↓ 4 callersFunctiongetOptimizerForm
(optimizerId?: string)
client/src/services/requests.tsx:38
↓ 4 callersFunctionkillAllOptimizers
(user: User)
app/src/controller/optimizationController/index.ts:15
↓ 4 callersMethodlogin
(email: string, password: string)
app/src/models/user/index.ts:100
↓ 4 callersFunctionrandomBoxMueller
(mean: number, sd: number)
app/src/utils/functions.ts:13
↓ 4 callersMethodrun
()
app/src/controller/forwardtestController/index.ts:69
↓ 4 callersMethodrunLoop
()
app/src/controller/forwardtestController/index.ts:89
↓ 4 callersMethodsetPriceFromMap
(priceMap: InternalMap)
app/src/models/priceMap/index.ts:251
↓ 4 callersMethodsetState
()
app/src/models/optimization/index.ts:301
↓ 4 callersMethodvalidateFields
(control: FormControl)
app/src/models/field/formControl.ts:102
next →1–100 of 708, ranked by callers