make_jobΒΆ
Defined in dccd.daemon.backfill
- make_job(exchange, crypto, fiat, span, path, tz, form, max_retries=3, retry_delay=2.0)[source]
Build the appropriate backfill strategy for an (exchange, pair).
- Parameters:
- exchangestr
Exchange name (e.g.
'binance').- crypto, fiatstr
Asset symbols (e.g.
'BTC','USDT').- spanint
Candle interval in seconds.
- pathstr
Root data directory.
- tzstr
Timezone for date parsing and file labelling.
- formstr
Output format (accepted for backward compatibility).
- Returns:
- _BackfillBase
KrakenBackfillfor Kraken,OHLCBackfillotherwise.
- Raises:
- ValueError
If exchange is not in the supported defaults table.