MCPcopy Create free account

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

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

MethodaddSub
(exchange: string, symbol: string, period: string)
src/modules/system/ccxt_candle_watch_service.ts:128
Methodall
(parameters?: any)
src/repository/signal_repository.ts:6
Methodall
(parameters?: any)
src/repository/logs_repository.ts:8
FunctioncancelAllOrders
( exchange: ccxt.Exchange, pair: string )
src/profile/profile_order_service.ts:360
MethodcleanOldLogEntries
(days: number = 14)
src/repository/ticker_log_repository.ts:14
Functionconstructor
(protected templateHelpers: TemplateHelpers)
src/controller/base_controller.ts:18
Functionconstructor
(partialOptions?: Partial<TOptions>)
src/strategy/strategy.ts:208
Methodconstructor
( private systemUtil: ConfigService, private readonly projectDir: string, private services: Servic
src/modules/http.ts:15
Methodconstructor
(cache: FileCache, exchangeInstanceService: ExchangeInstanceService)
src/modules/profile_pair_service.ts:30
Methodconstructor
( private notify: Notify, private logger: Logger, private logsRepository: LogsRepository, priv
src/modules/trade.ts:9
Methodconstructor
(private candlestickRepository: CandlestickRepository)
src/modules/ta.ts:66
Methodconstructor
(private candlestickRepository: CandlestickRepository)
src/modules/exchange/exchange_candle_combine.ts:10
Methodconstructor
( private technicalAnalysisValidator: TechnicalAnalysisValidator, private exchangeCandleCombine: Excha
src/modules/strategy/v2/typed_backtest.ts:84
Methodconstructor
( private exchangeCandleCombine: ExchangeCandleCombine, private executor: StrategyExecutor )
src/modules/strategy/v2/typed_backtest.ts:241
Methodconstructor
(builtInStrategies: StrategyClassType[] = [])
src/modules/strategy/v2/strategy_registry.ts:46
Methodconstructor
(private candlestickRepository: CandlestickRepository)
src/modules/system/candle_importer.ts:16
Methodconstructor
(private configService: ConfigService)
src/modules/system/desk_service.ts:4
Methodconstructor
( private candleImporter: CandleImporter, private logger: Logger, private exchangeInstanceService:
src/modules/system/ccxt_candle_prefill_service.ts:17
Methodconstructor
(private readonly projectDir: string)
src/modules/system/config_service.ts:120
Methodconstructor
( private candlestickRepository: CandlestickRepository, private ccxtCandleWatchService: CcxtCandleWatc
src/modules/system/candle_export_http.ts:10
Methodconstructor
( private candleImporter: CandleImporter, private dashboardConfigService: DashboardConfigService,
src/modules/system/ccxt_candle_watch_service.ts:26
Methodconstructor
(private logsRepository: LogsRepository)
src/modules/system/logs_http.ts:4
Methodconstructor
(private configService: ConfigService)
src/modules/system/dashboard_config_service.ts:6
Methodconstructor
()
src/utils/queue.ts:8
Methodconstructor
(opts: WinstonSqliteTransportOptions)
src/utils/winston_sqlite_transport.ts:18
Methodconstructor
()
src/utils/file_cache.ts:25
Methodconstructor
(private cache: FileCache)
src/utils/binance_price_service.ts:19
Methodconstructor
( templateHelpers: TemplateHelpers, private dashboardConfigService: DashboardConfigService, privat
src/controller/dashboard_settings_controller.ts:33
Methodconstructor
(templateHelpers: TemplateHelpers, private signalRepository: SignalRepository)
src/controller/signals_controller.ts:6
Methodconstructor
(templateHelpers: TemplateHelpers, private ta: Ta, private dashboardConfigService: DashboardConfigService)
src/controller/dashboard_controller.ts:7
Methodconstructor
( templateHelpers: TemplateHelpers, private deskService: DeskService, private symbolSearchService:
src/controller/desks_controller.ts:7
Methodconstructor
(templateHelpers: TemplateHelpers, private candleExportHttp: CandleExportHttp, private candleImporter: CandleI
src/controller/candles_controller.ts:8
Methodconstructor
( templateHelpers: TemplateHelpers, private profileService: ProfileService )
src/controller/trades_controller.ts:7
Methodconstructor
(templateHelpers: TemplateHelpers, private exchangeInstanceService: ExchangeInstanceService)
src/controller/ccxt_exchanges_controller.ts:45
Methodconstructor
( templateHelpers: TemplateHelpers, private profileService: ProfileService, private pairService: P
src/controller/orders_controller.ts:9
Methodconstructor
( templateHelpers: TemplateHelpers, private profileService: ProfileService, private pairService: P
src/controller/profile_controller.ts:10
Methodconstructor
( templateHelpers: TemplateHelpers, exchangeCandleCombine: ExchangeCandleCombine, private strategy
src/controller/backtest_controller.ts:74
Methodconstructor
(templateHelpers: TemplateHelpers, private logsHttp: LogsHttp)
src/controller/logs_controller.ts:6
Methodconstructor
(templateHelpers: TemplateHelpers)
src/controller/tradingview_controller.ts:6
Methodconstructor
( templateHelpers: TemplateHelpers, private configService: ConfigService )
src/controller/settings_controller.ts:9
Methodconstructor
( private readonly _price: number, private readonly _indicators: IndicatorsResult<TIndicators>, pr
src/strategy/strategy.ts:143
Methodconstructor
( private readonly profileService: ProfileService, private readonly strategyExecutor: StrategyExecutor
src/strategy/bot_runner.ts:35
Methodconstructor
()
src/command/trade.ts:4
Methodconstructor
( private configService: ConfigService, private exchangeInstanceService: ExchangeInstanceService,
src/profile/profile_service.ts:18
Methodconstructor
(private readonly logger: Logger)
src/profile/profile_order_service.ts:49
Methodconstructor
(private db: Database, private logger: Logger)
src/repository/ticker_repository.ts:21
Methodconstructor
(private db: Database)
src/repository/ticker_log_repository.ts:12
Methodconstructor
(private db: Database)
src/repository/signal_repository.ts:11
Methodconstructor
(private db: Database)
src/repository/logs_repository.ts:13
Methodconstructor
(private db: Database)
src/repository/candlestick_repository.ts:20
Methodconstructor
(private telegraf: Telegraf, private config: TelegramConfig, private logger: Logger)
src/notify/telegram.ts:9
Methodconstructor
(private config: SlackConfig)
src/notify/slack.ts:8
Methodconstructor
(private mailer: any, private configService: ConfigService, private logger: Logger)
src/notify/mail.ts:5
Methodconstructor
(private notifier: Notifier[])
src/notify/notify.ts:6
Methodconstructor
( public exchange: string, public symbol: string, public period: string, public time: number,
src/dict/exchange_candlestick.ts:2
Methodconstructor
( public time: number, public open: number, public high: number, public low: number, publi
src/dict/candlestick.ts:2
FunctionconvertMinuteToPeriod
(period: number)
src/utils/resample.ts:108
Methodcreate
(req: express.Request, res: express.Response)
src/controller/profile_controller.ts:101
MethodcreateBot
(req: express.Request, res: express.Response)
src/controller/profile_controller.ts:348
MethodcreateBot
(profileId: string, config: BotConfig)
src/profile/profile_service.ts:244
MethoddecodeHtml
(text: any)
src/controller/base_controller.ts:11
MethoddefineIndicators
()
src/strategy/strategies/pivot_reversal_strategy.ts:36
MethoddefineIndicators
()
src/strategy/strategies/cci_macd.ts:74
MethoddefineIndicators
()
src/strategy/strategies/trader.ts:33
MethoddefineIndicators
()
src/strategy/strategies/noop.ts:38
MethoddefineIndicators
()
src/strategy/strategies/cci.ts:34
MethoddefineIndicators
()
src/strategy/strategies/parabolicsar.ts:31
MethoddefineIndicators
()
src/strategy/strategies/obv_pump_dump.ts:33
MethoddefineIndicators
()
src/strategy/strategies/awesome_oscillator_cross_zero.ts:31
MethoddefineIndicators
()
src/strategy/strategies/macd.ts:37
MethoddefineIndicators
()
src/strategy/strategies/dip_catcher/dip_catcher.ts:40
MethoddefineIndicators
()
src/strategy/strategies/dca_dipper/dca_dipper.ts:35
MethoddefineIndicators
()
var/strategies/playground/playground.ts:35
MethoddeleteBot
(req: express.Request, res: express.Response)
src/controller/profile_controller.ts:404
MethoddeleteBot
(profileId: string, botId: string)
src/profile/profile_service.ts:309
MethoddeleteProfile
(req: express.Request, res: express.Response)
src/controller/profile_controller.ts:120
MethoddeleteProfile
(id: string)
src/profile/profile_service.ts:74
MethodeditBotForm
(req: express.Request, res: express.Response)
src/controller/profile_controller.ts:295
MethodeditForm
(req: express.Request, res: express.Response)
src/controller/profile_controller.ts:84
MethodescapeHtml
(text: any)
src/controller/base_controller.ts:10
Methodexecute
(context: TypedStrategyContext<PivotReversalStrategyIndicators>, signal: StrategySignal)
src/strategy/strategies/pivot_reversal_strategy.ts:46
Methodexecute
(context: TypedStrategyContext<CciMacdIndicators>, signal: StrategySignal)
src/strategy/strategies/cci_macd.ts:87
Methodexecute
(context: TypedStrategyContext<TraderIndicators>, signal: StrategySignal)
src/strategy/strategies/trader.ts:39
Methodexecute
(context: TypedStrategyContext<NoopIndicators>, signal: StrategySignal)
src/strategy/strategies/noop.ts:46
Methodexecute
(context: TypedStrategyContext<CciIndicators>, signal: StrategySignal)
src/strategy/strategies/cci.ts:42
Methodexecute
(context: TypedStrategyContext<ParabolicSarIndicators>, signal: StrategySignal)
src/strategy/strategies/parabolicsar.ts:40
Methodexecute
(context: TypedStrategyContext<ObvPumpDumpIndicators>, signal: StrategySignal)
src/strategy/strategies/obv_pump_dump.ts:40
Methodexecute
(context: TypedStrategyContext<AwesomeOscillatorIndicators>, signal: StrategySignal)
src/strategy/strategies/awesome_oscillator_cross_zero.ts:38
Methodexecute
(context: TypedStrategyContext<MacdIndicators>, signal: StrategySignal)
src/strategy/strategies/macd.ts:50
Methodexecute
(context: TypedStrategyContext<DipCatcherIndicators>, signal: StrategySignal)
src/strategy/strategies/dip_catcher/dip_catcher.ts:67
Methodexecute
(context: TypedStrategyContext<DcaDipperIndicators>, signal: StrategySignal)
src/strategy/strategies/dca_dipper/dca_dipper.ts:48
Methodexecute
()
src/command/trade.ts:6
Methodexecute
(context: TypedStrategyContext<PlaygroundIndicators>, signal: StrategySignal)
var/strategies/playground/playground.ts:89
MethodfetchAllOrders
* Fetch all orders (open and closed) for a profile
src/profile/profile_service.ts:179
MethodfetchCandlePeriods
(mainExchange: string, symbol: string)
src/modules/exchange/exchange_candle_combine.ts:44
FunctionfetchClosedOrders
( exchange: ccxt.Exchange, pair?: string, limit?: number )
src/profile/profile_order_service.ts:215
FunctionfetchOpenPositions
(exchange: ccxt.Exchange)
src/profile/profile_order_service.ts:256
MethodformatDate
(date: any, format: string)
src/controller/base_controller.ts:9
MethodgetBalances
(req: express.Request, res: express.Response)
src/controller/profile_controller.ts:126
MethodgetConfig
* Provide the configuration from var/config.json * * @param key eg "webserver.port" nested config supported * @param defaultValue value if co
src/modules/system/config_service.ts:150
← previousnext →301–400 of 500, ranked by callers