run_histo_jobΒΆ
Defined in dccd.daemon.scheduler
- run_histo_job(job, pair, base_path, tz='local', health=None)[source]
Download and save one (exchange, pair) candle job locally.
Data is saved to
base_pathon the daemon host. Remote sync is handled separately bySyncService.- Parameters:
- jobHistoJob
Job configuration (exchange, span, format).
- pairstr
Trading pair in
'CRYPTO/FIAT'format (e.g.'BTC/USDT').- base_pathstr
Root directory for local storage (
CollectorConfig.storage.local_path).- tzstr, optional
Timezone for file labelling (
CollectorConfig.settings.timezone).- healthHealthMonitor or None, optional
Health monitor to record success/failure metrics.