MCPcopy Create free account

hub / github.com/Haehnchen/crypto-trading-bot / functions

Functions500 in github.com/Haehnchen/crypto-trading-bot

↓ 1 callersMethodgetBots
(profileId: string)
src/profile/profile_service.ts:235
↓ 1 callersMethodgetCandleExportHttp
()
src/modules/services.ts:174
↓ 1 callersMethodgetCandlePeriods
(exchange: string, symbol: string)
src/repository/candlestick_repository.ts:84
↓ 1 callersMethodgetCandles
(exchange: string, symbol: string, period: string, start: Date, end: Date)
src/modules/system/candle_export_http.ts:15
↓ 1 callersMethodgetCandlesController
(templateHelpers: any)
src/modules/services.ts:189
↓ 1 callersMethodgetCandlesInWindow
(exchange: string, symbol: string, period: string, start: Date, end: Date)
src/repository/candlestick_repository.ts:61
↓ 1 callersMethodgetCcxtExchangesController
(templateHelpers: any)
src/modules/services.ts:193
↓ 1 callersFunctiongetClosePrices
* Get close prices from candles (ASC order)
test/utils/indicators.test.ts:28
↓ 1 callersMethodgetDashboardConfig
()
src/modules/system/config_service.ts:163
↓ 1 callersMethodgetDashboardController
(templateHelpers: any)
src/modules/services.ts:181
↓ 1 callersMethodgetDebug
()
src/strategy/strategy.ts:194
↓ 1 callersMethodgetDefaultOptions
()
src/strategy/strategies/cci.ts:111
↓ 1 callersMethodgetDeskNames
()
src/modules/system/desk_service.ts:10
↓ 1 callersMethodgetDesksController
(templateHelpers: any)
src/modules/services.ts:192
↓ 1 callersMethodgetLatestLogs
(excludes: string[] = ['debug'], limit: number = 200)
src/repository/logs_repository.ts:15
↓ 1 callersMethodgetLevels
()
src/repository/logs_repository.ts:34
↓ 1 callersMethodgetLogsController
(templateHelpers: any)
src/modules/services.ts:191
↓ 1 callersMethodgetLogsHttp
()
src/modules/services.ts:170
↓ 1 callersMethodgetLogsPageVariables
(request: any, response: any)
src/modules/system/logs_http.ts:6
↓ 1 callersMethodgetMarketType
* Determine market type
src/modules/profile_pair_service.ts:140
↓ 1 callersMethodgetOrdersController
(templateHelpers: any)
src/modules/services.ts:187
↓ 1 callersMethodgetPeriods
()
src/modules/system/dashboard_config_service.ts:20
↓ 1 callersFunctiongetPivotPoints
(prices: number[], left: number, right: number)
src/strategy/strategies/cci_macd.ts:16
↓ 1 callersFunctiongetPivotPointsWithWicks
(candles: CandleSource, left: number, right: number)
src/utils/indicators.ts:85
↓ 1 callersFunctiongetPrecision
(numberAsString)
web/static/js/orders.js:2
↓ 1 callersMethodgetProfileController
(templateHelpers: any)
src/modules/services.ts:194
↓ 1 callersMethodgetProfileOrderService
()
src/modules/services.ts:206
↓ 1 callersMethodgetPromise
* @private
src/modules/system/candle_importer.ts:64
↓ 1 callersMethodgetRunningBots
()
src/strategy/bot_runner.ts:173
↓ 1 callersMethodgetSettingsController
(templateHelpers: any)
src/modules/services.ts:195
↓ 1 callersMethodgetSignals
(since: number)
src/repository/signal_repository.ts:13
↓ 1 callersMethodgetSignalsController
(templateHelpers: any)
src/modules/services.ts:188
↓ 1 callersMethodgetSymbolSearchService
()
src/modules/services.ts:201
↓ 1 callersFunctiongetSymbolType
(symbol: string)
src/modules/system/ccxt_candle_watch_service.ts:10
↓ 1 callersMethodgetSystemInfo
()
src/controller/settings_controller.ts:35
↓ 1 callersMethodgetTa
()
src/modules/services.ts:158
↓ 1 callersMethodgetTaForPeriods
(periods: string[], symbols: TaSymbol[])
src/modules/ta.ts:68
↓ 1 callersFunctiongetTalib
()
src/utils/indicators.ts:69
↓ 1 callersMethodgetTechnicalAnalysisValidator
()
src/modules/services.ts:168
↓ 1 callersMethodgetTickerLogRepository
()
src/modules/services.ts:171
↓ 1 callersMethodgetTradesController
(templateHelpers: any)
src/modules/services.ts:186
↓ 1 callersMethodgetTradesData
()
src/controller/trades_controller.ts:14
↓ 1 callersMethodgetTradingViewController
(templateHelpers: any)
src/modules/services.ts:196
↓ 1 callersFunctiongetTrendingDirection
(lookbacks: number[])
src/modules/ta.ts:6
↓ 1 callersMethodinsertSignal
(exchange: string, symbol: string, options: Record<string, any>, side: string, strategy: string)
src/repository/signal_repository.ts:18
↓ 1 callersFunctionisFuturesPair
* CCXT uses a colon in the pair symbol to denote futures/swap markets, * e.g. "BTC/USDT:USDT". Spot pairs have no colon: "BTC/USDT".
src/strategy/bot_runner.ts:28
↓ 1 callersMethodisLong
()
src/strategy/strategy.ts:160
↓ 1 callersMethodisSafeStrategyName
* Validate that a strategy name contains only safe characters. * Rejects names with path traversal sequences or special characters.
src/modules/strategy/v2/strategy_registry.ts:56
↓ 1 callersMethodisShort
()
src/strategy/strategy.ts:161
↓ 1 callersMethodisWatched
* Returns true if the given exchange+symbol+period is currently subscribed * via the websocket (i.e. it is present in the dashboard config or any b
src/modules/system/ccxt_candle_watch_service.ts:67
↓ 1 callersFunctionloadOrders
()
web/static/js/orders.js:18
↓ 1 callersMethodmergeNotify
(notify: any)
src/modules/system/config_service.ts:227
↓ 1 callersMethodmergeWebserver
(webserver: any)
src/modules/system/config_service.ts:250
↓ 1 callersFunctionmockLogger
Create a mock logger using ts-mockito
test/profile/profile_order_service.test.ts:37
↓ 1 callersFunctionparseExchangeSymbol
(param: string)
src/utils/tradingview_util.ts:43
↓ 1 callersMethodparsePairs
(body: any)
src/controller/dashboard_settings_controller.ts:116
↓ 1 callersMethodparsePeriods
(body: any)
src/controller/dashboard_settings_controller.ts:109
↓ 1 callersFunctionperiodToMinutes
Convert a period string (e.g. "15m", "4h", "1d") to whole minutes.
src/strategy/bot_runner.ts:9
↓ 1 callersMethodplaceBuyOrder
(amountCurrency: number, price: number)
src/strategy/strategy.ts:190
↓ 1 callersMethodprocessQueue
()
src/modules/system/ccxt_candle_prefill_service.ts:44
↓ 1 callersMethodprocessSignals
* Process signals into trades and calculate backtest metrics * This is backtest-specific logic
src/modules/strategy/v2/typed_backtest.ts:337
↓ 1 callersMethodrunBot
(bot: Bot, profile: Profile)
src/strategy/bot_runner.ts:101
↓ 1 callersMethodrunLoop
()
src/modules/system/ccxt_candle_prefill_service.ts:54
↓ 1 callersMethodrunWatcher
(exchangeId: string, pairs: [string, string][], gen: number)
src/modules/system/ccxt_candle_watch_service.ts:176
↓ 1 callersMethodrunWithCandles
* Run a backtest with pre-fetched candles * Use this when candles are already available (e.g., from live trading)
src/modules/strategy/v2/typed_backtest.ts:250
↓ 1 callersMethodsaveConfig
(config: DashboardConfig)
src/modules/system/dashboard_config_service.ts:12
↓ 1 callersMethodsaveDashboardConfig
(dashboard: DashboardConfig)
src/modules/system/config_service.ts:172
↓ 1 callersMethodsearchSymbols
(query: string)
src/modules/system/symbol_search_service.ts:10
↓ 1 callersMethodsleep
(ms: number)
src/modules/system/ccxt_candle_prefill_service.ts:72
↓ 1 callersMethodstartFlushInterval
()
src/modules/system/ccxt_candle_watch_service.ts:106
↓ 1 callersFunctiontoAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/obv_pump_dump.test.ts:25
↓ 1 callersFunctiontoAscOrder
* Convert DESC candles to ASC order (oldest first)
test/modules/strategy/v2/strategies/playground.test.ts:37
↓ 1 callersFunctiontoAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/cci.test.ts:25
↓ 1 callersFunctiontoAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/parabolicsar.test.ts:25
↓ 1 callersFunctiontoAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/trader.test.ts:25
↓ 1 callersFunctiontoAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/pivot_reversal_strategy.test.ts:25
↓ 1 callersFunctiontoAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/cci_macd.test.ts:25
↓ 1 callersFunctiontoAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/dca_dipper.test.ts:31
↓ 1 callersFunctiontoAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/noop.test.ts:25
↓ 1 callersFunctiontoAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/dip_catcher.test.ts:25
↓ 1 callersFunctiontoAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/awesome_oscillator_cross_zero.test.ts:25
↓ 1 callersFunctiontoAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/macd.test.ts:25
↓ 1 callersFunctiontoAscOrder
* Convert DESC candles to ASC order (oldest first) * This is what indicators expect
test/utils/indicators.test.ts:21
↓ 1 callersFunctiontoCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/obv_pump_dump.test.ts:21
↓ 1 callersFunctiontoCandlestickInstances
* Convert raw candle objects to Candlestick class instances
test/modules/strategy/v2/strategies/playground.test.ts:30
↓ 1 callersFunctiontoCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/cci.test.ts:21
↓ 1 callersFunctiontoCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/parabolicsar.test.ts:21
↓ 1 callersFunctiontoCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/trader.test.ts:21
↓ 1 callersFunctiontoCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/pivot_reversal_strategy.test.ts:21
↓ 1 callersFunctiontoCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/cci_macd.test.ts:21
↓ 1 callersFunctiontoCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/dca_dipper.test.ts:27
↓ 1 callersFunctiontoCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/noop.test.ts:21
↓ 1 callersFunctiontoCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/dip_catcher.test.ts:21
↓ 1 callersFunctiontoCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/awesome_oscillator_cross_zero.test.ts:21
↓ 1 callersFunctiontoCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/macd.test.ts:21
↓ 1 callersMethodupdate
(req: express.Request, res: express.Response)
src/controller/profile_controller.ts:112
↓ 1 callersMethodupdateProfile
(id: string, data: Partial<Profile>)
src/profile/profile_service.ts:53
↓ 1 callersFunctionzigzag
* ZigZag indicator
src/utils/indicators.ts:230
MethodaddQueue2
(promise: () => Promise<any>)
src/utils/queue.ts:32
MethodaddQueue3
(promise: () => Promise<any>)
src/utils/queue.ts:36
← previousnext →201–300 of 500, ranked by callers