Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Haehnchen/crypto-trading-bot
/ functions
Functions
500 in github.com/Haehnchen/crypto-trading-bot
⨍
Functions
500
◇
Types & classes
267
↓ 1 callers
Method
getBots
(profileId: string)
src/profile/profile_service.ts:235
↓ 1 callers
Method
getCandleExportHttp
()
src/modules/services.ts:174
↓ 1 callers
Method
getCandlePeriods
(exchange: string, symbol: string)
src/repository/candlestick_repository.ts:84
↓ 1 callers
Method
getCandles
(exchange: string, symbol: string, period: string, start: Date, end: Date)
src/modules/system/candle_export_http.ts:15
↓ 1 callers
Method
getCandlesController
(templateHelpers: any)
src/modules/services.ts:189
↓ 1 callers
Method
getCandlesInWindow
(exchange: string, symbol: string, period: string, start: Date, end: Date)
src/repository/candlestick_repository.ts:61
↓ 1 callers
Method
getCcxtExchangesController
(templateHelpers: any)
src/modules/services.ts:193
↓ 1 callers
Function
getClosePrices
* Get close prices from candles (ASC order)
test/utils/indicators.test.ts:28
↓ 1 callers
Method
getDashboardConfig
()
src/modules/system/config_service.ts:163
↓ 1 callers
Method
getDashboardController
(templateHelpers: any)
src/modules/services.ts:181
↓ 1 callers
Method
getDebug
()
src/strategy/strategy.ts:194
↓ 1 callers
Method
getDefaultOptions
()
src/strategy/strategies/cci.ts:111
↓ 1 callers
Method
getDeskNames
()
src/modules/system/desk_service.ts:10
↓ 1 callers
Method
getDesksController
(templateHelpers: any)
src/modules/services.ts:192
↓ 1 callers
Method
getLatestLogs
(excludes: string[] = ['debug'], limit: number = 200)
src/repository/logs_repository.ts:15
↓ 1 callers
Method
getLevels
()
src/repository/logs_repository.ts:34
↓ 1 callers
Method
getLogsController
(templateHelpers: any)
src/modules/services.ts:191
↓ 1 callers
Method
getLogsHttp
()
src/modules/services.ts:170
↓ 1 callers
Method
getLogsPageVariables
(request: any, response: any)
src/modules/system/logs_http.ts:6
↓ 1 callers
Method
getMarketType
* Determine market type
src/modules/profile_pair_service.ts:140
↓ 1 callers
Method
getOrdersController
(templateHelpers: any)
src/modules/services.ts:187
↓ 1 callers
Method
getPeriods
()
src/modules/system/dashboard_config_service.ts:20
↓ 1 callers
Function
getPivotPoints
(prices: number[], left: number, right: number)
src/strategy/strategies/cci_macd.ts:16
↓ 1 callers
Function
getPivotPointsWithWicks
(candles: CandleSource, left: number, right: number)
src/utils/indicators.ts:85
↓ 1 callers
Function
getPrecision
(numberAsString)
web/static/js/orders.js:2
↓ 1 callers
Method
getProfileController
(templateHelpers: any)
src/modules/services.ts:194
↓ 1 callers
Method
getProfileOrderService
()
src/modules/services.ts:206
↓ 1 callers
Method
getPromise
* @private
src/modules/system/candle_importer.ts:64
↓ 1 callers
Method
getRunningBots
()
src/strategy/bot_runner.ts:173
↓ 1 callers
Method
getSettingsController
(templateHelpers: any)
src/modules/services.ts:195
↓ 1 callers
Method
getSignals
(since: number)
src/repository/signal_repository.ts:13
↓ 1 callers
Method
getSignalsController
(templateHelpers: any)
src/modules/services.ts:188
↓ 1 callers
Method
getSymbolSearchService
()
src/modules/services.ts:201
↓ 1 callers
Function
getSymbolType
(symbol: string)
src/modules/system/ccxt_candle_watch_service.ts:10
↓ 1 callers
Method
getSystemInfo
()
src/controller/settings_controller.ts:35
↓ 1 callers
Method
getTa
()
src/modules/services.ts:158
↓ 1 callers
Method
getTaForPeriods
(periods: string[], symbols: TaSymbol[])
src/modules/ta.ts:68
↓ 1 callers
Function
getTalib
()
src/utils/indicators.ts:69
↓ 1 callers
Method
getTechnicalAnalysisValidator
()
src/modules/services.ts:168
↓ 1 callers
Method
getTickerLogRepository
()
src/modules/services.ts:171
↓ 1 callers
Method
getTradesController
(templateHelpers: any)
src/modules/services.ts:186
↓ 1 callers
Method
getTradesData
()
src/controller/trades_controller.ts:14
↓ 1 callers
Method
getTradingViewController
(templateHelpers: any)
src/modules/services.ts:196
↓ 1 callers
Function
getTrendingDirection
(lookbacks: number[])
src/modules/ta.ts:6
↓ 1 callers
Method
insertSignal
(exchange: string, symbol: string, options: Record<string, any>, side: string, strategy: string)
src/repository/signal_repository.ts:18
↓ 1 callers
Function
isFuturesPair
* 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 callers
Method
isLong
()
src/strategy/strategy.ts:160
↓ 1 callers
Method
isSafeStrategyName
* 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 callers
Method
isShort
()
src/strategy/strategy.ts:161
↓ 1 callers
Method
isWatched
* 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 callers
Function
loadOrders
()
web/static/js/orders.js:18
↓ 1 callers
Method
mergeNotify
(notify: any)
src/modules/system/config_service.ts:227
↓ 1 callers
Method
mergeWebserver
(webserver: any)
src/modules/system/config_service.ts:250
↓ 1 callers
Function
mockLogger
Create a mock logger using ts-mockito
test/profile/profile_order_service.test.ts:37
↓ 1 callers
Function
parseExchangeSymbol
(param: string)
src/utils/tradingview_util.ts:43
↓ 1 callers
Method
parsePairs
(body: any)
src/controller/dashboard_settings_controller.ts:116
↓ 1 callers
Method
parsePeriods
(body: any)
src/controller/dashboard_settings_controller.ts:109
↓ 1 callers
Function
periodToMinutes
Convert a period string (e.g. "15m", "4h", "1d") to whole minutes.
src/strategy/bot_runner.ts:9
↓ 1 callers
Method
placeBuyOrder
(amountCurrency: number, price: number)
src/strategy/strategy.ts:190
↓ 1 callers
Method
processQueue
()
src/modules/system/ccxt_candle_prefill_service.ts:44
↓ 1 callers
Method
processSignals
* Process signals into trades and calculate backtest metrics * This is backtest-specific logic
src/modules/strategy/v2/typed_backtest.ts:337
↓ 1 callers
Method
runBot
(bot: Bot, profile: Profile)
src/strategy/bot_runner.ts:101
↓ 1 callers
Method
runLoop
()
src/modules/system/ccxt_candle_prefill_service.ts:54
↓ 1 callers
Method
runWatcher
(exchangeId: string, pairs: [string, string][], gen: number)
src/modules/system/ccxt_candle_watch_service.ts:176
↓ 1 callers
Method
runWithCandles
* 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 callers
Method
saveConfig
(config: DashboardConfig)
src/modules/system/dashboard_config_service.ts:12
↓ 1 callers
Method
saveDashboardConfig
(dashboard: DashboardConfig)
src/modules/system/config_service.ts:172
↓ 1 callers
Method
searchSymbols
(query: string)
src/modules/system/symbol_search_service.ts:10
↓ 1 callers
Method
sleep
(ms: number)
src/modules/system/ccxt_candle_prefill_service.ts:72
↓ 1 callers
Method
startFlushInterval
()
src/modules/system/ccxt_candle_watch_service.ts:106
↓ 1 callers
Function
toAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/obv_pump_dump.test.ts:25
↓ 1 callers
Function
toAscOrder
* Convert DESC candles to ASC order (oldest first)
test/modules/strategy/v2/strategies/playground.test.ts:37
↓ 1 callers
Function
toAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/cci.test.ts:25
↓ 1 callers
Function
toAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/parabolicsar.test.ts:25
↓ 1 callers
Function
toAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/trader.test.ts:25
↓ 1 callers
Function
toAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/pivot_reversal_strategy.test.ts:25
↓ 1 callers
Function
toAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/cci_macd.test.ts:25
↓ 1 callers
Function
toAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/dca_dipper.test.ts:31
↓ 1 callers
Function
toAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/noop.test.ts:25
↓ 1 callers
Function
toAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/dip_catcher.test.ts:25
↓ 1 callers
Function
toAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/awesome_oscillator_cross_zero.test.ts:25
↓ 1 callers
Function
toAscOrder
(candles: Candlestick[])
test/modules/strategy/v2/strategies/macd.test.ts:25
↓ 1 callers
Function
toAscOrder
* Convert DESC candles to ASC order (oldest first) * This is what indicators expect
test/utils/indicators.test.ts:21
↓ 1 callers
Function
toCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/obv_pump_dump.test.ts:21
↓ 1 callers
Function
toCandlestickInstances
* Convert raw candle objects to Candlestick class instances
test/modules/strategy/v2/strategies/playground.test.ts:30
↓ 1 callers
Function
toCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/cci.test.ts:21
↓ 1 callers
Function
toCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/parabolicsar.test.ts:21
↓ 1 callers
Function
toCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/trader.test.ts:21
↓ 1 callers
Function
toCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/pivot_reversal_strategy.test.ts:21
↓ 1 callers
Function
toCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/cci_macd.test.ts:21
↓ 1 callers
Function
toCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/dca_dipper.test.ts:27
↓ 1 callers
Function
toCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/noop.test.ts:21
↓ 1 callers
Function
toCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/dip_catcher.test.ts:21
↓ 1 callers
Function
toCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/awesome_oscillator_cross_zero.test.ts:21
↓ 1 callers
Function
toCandlestickInstances
(candles: RawCandle[])
test/modules/strategy/v2/strategies/macd.test.ts:21
↓ 1 callers
Method
update
(req: express.Request, res: express.Response)
src/controller/profile_controller.ts:112
↓ 1 callers
Method
updateProfile
(id: string, data: Partial<Profile>)
src/profile/profile_service.ts:53
↓ 1 callers
Function
zigzag
* ZigZag indicator
src/utils/indicators.ts:230
Method
addQueue2
(promise: () => Promise<any>)
src/utils/queue.ts:32
Method
addQueue3
(promise: () => Promise<any>)
src/utils/queue.ts:36
← previous
next →
201–300 of 500, ranked by callers