MCPcopy Create free account

hub / github.com/Open-Trader/opentrader / functions

Functions1,175 in github.com/Open-Trader/opentrader

↓ 1 callersMethodarrayBuffer
()
app/frontend/assets/index-6txj_4R8.js:88
↓ 1 callersFunctionassertHasExchangeOrderId
( order: OrderEntity, )
packages/db/src/asserts/assertHasExchangeOrderId.ts:7
↓ 1 callersMethodassertIsNotAlreadyStopped
()
packages/trpc/src/services/bot.service.ts:84
↓ 1 callersFunctionassertIsOrderBased
( smartTrade: SmartTradeEntity, )
packages/db/src/asserts/assertIsOrderBased.ts:10
↓ 1 callersFunctionat
(s)
app/frontend/assets/index-6txj_4R8.js:886
↓ 1 callersFunctionbi
()
app/frontend/assets/browser-CsINfYrj.js:1682
↓ 1 callersMethodbootstrap
()
packages/bot/src/platform.ts:39
↓ 1 callersFunctionbuyOrder
(smartTrade: Trade)
packages/backtesting/src/report/buyOrder.ts:5
↓ 1 callersFunctionbuyTransaction
(smartTrade: Trade)
packages/backtesting/src/report/buyTransaction.ts:5
↓ 1 callersMethodcacheMarkets
(markets: Dictionary<Market>, cacheKey: CacheKey)
packages/exchanges/src/client/cache/providers/memory-cache.provider.ts:56
↓ 1 callersMethodcacheMarkets
(markets: Dictionary<Market>, cacheKey: CacheKey)
packages/exchanges/src/server/cache/providers/prisma-cache.provider.ts:44
↓ 1 callersFunctioncalcGridStepSize
( highPrice: number, lowPrice: number, gridLevels: number, )
packages/tools/src/grid/calcGridStepSize.ts:4
↓ 1 callersFunctioncalcHighLowPrice
(exchange: IExchange, currencyPair: string)
packages/trpc/src/routers/private/grid-bot/get-form-options/handler.ts:39
↓ 1 callersMethodcalcTotalProfit
()
packages/backtesting/src/backtesting-report.ts:132
↓ 1 callersMethodcancel
()
packages/bot/src/trade.ts:60
↓ 1 callersMethodcancel
(id: number)
packages/bot/src/trade.manager.ts:61
↓ 1 callersMethodcancelLimitOrder
(_body: ICancelLimitOrderRequest)
packages/backtesting/src/exchange/memory-exchange.ts:103
↓ 1 callersMethodcancelOrders
* Cancel all orders linked to the smart trade. * Return number of cancelled orders.
packages/bot/src/processing/executors/arb/arb.executor.ts:107
↓ 1 callersMethodcancelOrders
* Cancel all orders linked to the smart trade. * Return number of cancelled orders.
packages/bot/src/processing/executors/dca/dca.executor.ts:301
↓ 1 callersFunctioncheckDaemonHealth
(daemonRpc: ReturnType<typeof createDaemonRpcClient>)
app/src/api/run-trading.ts:91
↓ 1 callersFunctionci
(t)
app/frontend/assets/browser-CsINfYrj.js:1512
↓ 1 callersMethodclean
(bots: TBotWithExchangeAccount[])
packages/bot/src/streams/markets.stream.ts:97
↓ 1 callersMethodcleanOrphanedBots
* When the app starts, check if there are any enabled bots and stop them gracefully. * This is necessary because the previous process might have be
packages/bot/src/platform.ts:129
↓ 1 callersMethodcleanOrphanedTrades
* Cleans up trades left in an inconsistent state, e.g. from unexpected bot shutdowns.
packages/bot/src/platform.ts:143
↓ 1 callersMethodcleanup
(activeKeys: Set<string>)
packages/bot/src/streams/ticker.stream.ts:51
↓ 1 callersMethodcleanup
(activeKeys: Set<string>)
packages/bot/src/streams/trades.stream.ts:51
↓ 1 callersMethodcleanup
(activeKeys: Set<string>)
packages/bot/src/streams/orderbook.stream.ts:52
↓ 1 callersMethodcleanup
(activeKeys: Set<string>)
packages/bot/src/streams/candles.stream.ts:66
↓ 1 callersMethodcleanupFromBots
(bots: TBotWithExchangeAccount[])
packages/bot/src/streams/ticker.stream.ts:46
↓ 1 callersMethodcleanupFromBots
(bots: TBotWithExchangeAccount[])
packages/bot/src/streams/trades.stream.ts:46
↓ 1 callersMethodcleanupFromBots
(bots: TBotWithExchangeAccount[])
packages/bot/src/streams/orderbook.stream.ts:47
↓ 1 callersMethodcleanupFromBots
(bots: TBotWithExchangeAccount[])
packages/bot/src/streams/candles.stream.ts:61
↓ 1 callersMethodclearInterval
()
packages/bot/src/bot.ts:194
↓ 1 callersFunctionclearPid
()
app/src/utils/pid.ts:25
↓ 1 callersFunctioncombine
(combinator: "and" | "or" | string, expressions: boolean[])
packages/tools/src/dca/evaluateConditions.ts:66
↓ 1 callersFunctioncomposeSymbolIdFromPair
( exchangeCode: ExchangeCode, currencyPair: string, )
packages/tools/src/symbolId/composeSymbolIdFromPair.ts:4
↓ 1 callersMethodconnect
(t, e)
app/frontend/assets/index-xly4HLC0.js:21
↓ 1 callersFunctioncopyDirectory
(src: string, dest: string)
app/plugins/copy-prisma-schema-plugin.ts:57
↓ 1 callersFunctioncopyPrismaSchemaPlugin
()
app/plugins/copy-prisma-schema-plugin.ts:16
↓ 1 callersMethodcreate
()
packages/backtesting/src/backtesting-report.ts:24
↓ 1 callersFunctioncreateCustomStrategiesDir
()
app/scripts/postinstall.mjs:59
↓ 1 callersFunctioncreateMockExchange
()
packages/bot/src/channels/trades/trades.channel.test.ts:6
↓ 1 callersFunctioncreateMockExchange
()
packages/bot/src/channels/ticker/ticker.channel.test.ts:6
↓ 1 callersFunctioncreateMockExchange
()
packages/bot/src/channels/orderbook/orderbook.channel.test.ts:6
↓ 1 callersFunctioncreateMockExchange
()
packages/bot/src/channels/candles/candles.channel.test.ts:6
↓ 1 callersFunctioncreateMockOrderbook
(symbol: string)
packages/bot/src/channels/orderbook/orderbook.channel.test.ts:14
↓ 1 callersFunctioncreateMockTicker
(symbol: string)
packages/bot/src/channels/ticker/ticker.channel.test.ts:14
↓ 1 callersFunctioncreateMockTrades
(symbol: string)
packages/bot/src/channels/trades/trades.channel.test.ts:14
↓ 1 callersFunctioncreateOrUpdateBot
( strategyName: string, options: CreateOrUpdateBotOptions, botConfig: BotConfig<T>, exchangeAccounts:
app/src/utils/bot.ts:70
↓ 1 callersFunctioncreateOrUpdateExchangeAccounts
(exchangesConfig: Record<string, ExchangeConfig>)
app/src/utils/bot.ts:10
↓ 1 callersFunctioncreateQueuePayload
(event: StrategyEvent, bot: TBotWithExchangeAccount)
packages/bot/src/bot.ts:88
↓ 1 callersMethodcreateRunner
()
packages/bot/src/processing/bot/bot.processing.ts:172
↓ 1 callersFunctioncreateServer
(params: CreateServerOptions)
packages/bot/src/server.ts:25
↓ 1 callersFunctionct
(e)
app/frontend/assets/SimpleGridForm-BUsQPU4Z.js:187
↓ 1 callersFunctioncustomBotModel
(prisma: PrismaClient)
packages/db/src/extension/models/custom-bot.model.ts:13
↓ 1 callersFunctiond
()
app/frontend/assets/page-B7EduWBL.js:75
↓ 1 callersFunctiondatetime
(timestamp: number | Date, resetSeconds = false)
packages/logger/src/formatters.ts:15
↓ 1 callersFunctiondbCommands
(program: Command)
app/src/commands/db.ts:5
↓ 1 callersFunctiondcaBotModel
(prisma: PrismaClient)
packages/db/src/extension/models/dca-bot.model.ts:15
↓ 1 callersMethoddestroy
()
packages/exchanges/src/exchanges/ccxt/exchange.ts:103
↓ 1 callersMethoddestroy
* @override
packages/exchanges/src/exchanges/ccxt/paper-exchange.ts:69
↓ 1 callersMethoddestroy
()
packages/bot/src/streams/ticker.stream.ts:109
↓ 1 callersMethoddownloadLastCandle
* Downloads the last closed candle from the exchange. * E.g. if timeframe is set to 1d, it will download all the 1-minute candles * from the pre
packages/bot/src/channels/candles/candles.channel.ts:164
↓ 1 callersFunctiondt
(e)
app/frontend/assets/SimpleGridForm-BUsQPU4Z.js:228
↓ 1 callersMethodeditSmartTrade
(newSmartTrade: Trade, ref: string)
packages/backtesting/src/market-simulator.ts:41
↓ 1 callersFunctionee
(t)
app/frontend/assets/browser-CsINfYrj.js:970
↓ 1 callersFunctionen
(r)
app/frontend/assets/index-6txj_4R8.js:2157
↓ 1 callersMethodenable
()
packages/bot/src/channels/orders/orders.channel.ts:34
↓ 1 callersMethodenqueue
(payload: QueuePayload)
packages/bot/src/bot.ts:30
↓ 1 callersFunctioneo
()
app/frontend/assets/browser-CsINfYrj.js:4251
↓ 1 callersFunctionevaluate
(operator: "=" | "!=" | "<" | ">" | "<=" | ">=" | string, value1: number, value2: number)
packages/tools/src/dca/evaluateConditions.ts:47
↓ 1 callersFunctionf
(e, r)
app/frontend/assets/index-6YyaKLqc.js:1341
↓ 1 callersMethodfetchClosedOrder
(order: OrderWithSmartTrade)
packages/bot/src/processing/exchange-account/exchange-account.processor.ts:132
↓ 1 callersMethodfetchExchangeOrder
(order: OrderWithSmartTrade)
packages/bot/src/processing/exchange-account/exchange-account.processor.ts:82
↓ 1 callersMethodfillGaps
* Fills the gaps in the bucked with the last known candle data. * @param startCandle Last candle in the bucket before the gap. * @param endCandl
packages/bot/src/channels/candles/candles.channel.ts:141
↓ 1 callersMethodfindFromCache
(order: OrderWithSmartTrade)
packages/bot/src/processing/exchange-account/exchange-account.processor.ts:150
↓ 1 callersFunctionfindPackageJsonFiles
(dir: string)
app/plugins/generate-package-json-plugin.ts:50
↓ 1 callersFunctionfindPackageJsonFiles
(dir)
scripts/utils/generate-package-json.mjs:34
↓ 1 callersFunctionft
(e, n)
app/frontend/assets/SimpleGridForm-BUsQPU4Z.js:332
↓ 1 callersMethodfulfillOrder
* Update order statue to "Filled" based on current asset price: * - `placed -> filled` * @param smartTrade - SmartTrade * @returns Returns `t
packages/backtesting/src/market-simulator.ts:103
↓ 1 callersMethodfulfillOrders
* Changed orders statuses from `placed -> filled` * Return `true` if any order was fulfilled
packages/backtesting/src/market-simulator.ts:63
↓ 1 callersFunctiongeneratePackageJson
(outDir)
scripts/utils/generate-package-json.mjs:16
↓ 1 callersFunctiongeneratePackageJsonPlugin
()
app/plugins/generate-package-json-plugin.ts:17
↓ 1 callersFunctiongeneratePassword
(wordCount = 3, numberCount = 2)
app/scripts/postinstall.mjs:27
↓ 1 callersMethodgetActiveKeysFromBots
(bots: TBotWithExchangeAccount[])
packages/bot/src/streams/ticker.stream.ts:29
↓ 1 callersMethodgetActiveKeysFromBots
(bots: TBotWithExchangeAccount[])
packages/bot/src/streams/trades.stream.ts:29
↓ 1 callersMethodgetActiveKeysFromBots
(bots: TBotWithExchangeAccount[])
packages/bot/src/streams/orderbook.stream.ts:30
↓ 1 callersMethodgetActiveKeysFromBots
(bots: TBotWithExchangeAccount[])
packages/bot/src/streams/candles.stream.ts:37
↓ 1 callersMethodgetActiveSmartTrades
()
packages/backtesting/src/backtesting-report.ts:144
↓ 1 callersMethodgetClosedOrders
()
packages/backtesting/src/exchange/memory-exchange.ts:203
↓ 1 callersMethodgetExchange
(label: string)
packages/bot-processor/src/bot-control.ts:86
↓ 1 callersFunctiongetLastClosedCandleTimestamp
(bucketSize: number)
packages/bot/src/channels/candles/candles.channel.ts:246
↓ 1 callersMethodgetMany
(marketIds: MarketId[], isDemo: boolean)
packages/bot/src/bot-market.store.ts:50
↓ 1 callersMethodgetMarketPrice
(params: IGetMarketPriceRequest)
packages/backtesting/src/exchange/memory-exchange.ts:133
↓ 1 callersMethodgetMarkets
(exchange: IExchange)
packages/exchanges/src/client/cache/providers/memory-cache.provider.ts:31
↓ 1 callersMethodgetOpenOrders
()
packages/backtesting/src/exchange/memory-exchange.ts:199
↓ 1 callersMethodgetOrCreate
(exchangeCode: ExchangeCode, symbol: string, isDemoAccount: boolean)
packages/bot/src/streams/ticker.stream.ts:18
↓ 1 callersMethodgetOrCreate
(exchangeCode: ExchangeCode, symbol: string, isDemoAccount: boolean)
packages/bot/src/streams/trades.stream.ts:18
↓ 1 callersMethodgetOrCreate
(exchangeCode: ExchangeCode, symbol: string, isDemoAccount: boolean)
packages/bot/src/streams/orderbook.stream.ts:19
↓ 1 callersMethodgetOrCreate
( exchangeCode: ExchangeCode, symbol: string, timeframe: BarSize, isDemoAccount: boolean,
packages/bot/src/streams/candles.stream.ts:19
← previousnext →501–600 of 1,175, ranked by callers