Passivbot v7.4.0 (“Candles & Control”)
Market Data & Candles
- Introduced an asynchronous CandlestickManager with on-disk caching, metadata, and gap repair.
- Added EMA/log-range series APIs, optional pagination limits, and higher-timeframe fetching (tf_to_ms, get_latest_ema*, etc.).
- Align warmup windows between backtester and live; new config keys (inactive_coin_candle_ttl_minutes, entry_grid_spacing_log_*, filter_log_range_ema_span) replace legacy rolling-window settings.
procedures.get_first_timestamps_unified() now defers Bitget lookups until cheaper exchanges fail and iteratively discovers earliest timestamps.
Risk & Execution Controls
- Expanded noise → log-range filters for coin selection and grid spacing, including hourly EMA modulation.
- Panic-close and auto-unstuck pipelines hardened; existing unstuck safeguards extended with exchange overrides.
- Live bot now prevents disabled sides from refilling approved lists and only logs the disable event once.
- Added hourly memory snapshots to Passivbot telemetry.
Backtester & Optimizer
- Refined warmup/backfill handling (first_timestamp_ms, 1h alignment, improved gap repair).
- Optimizer gains fine-tune mode (--fine_tune_params), CLI-friendly bounds and limits, and updated docs.
- Various Rust backtest enhancements (analysis.rs, extended metrics, timestamp clamping).
Configs & Examples
- Template and example configs refreshed to use new log-range EMA spans, trailing weights, and log spacing fields.
- Added max_memory_candles_per_symbol defaults and refined per-exchange warmup ratio handling.
- Removed stale all_approved.json example; hyperliquid guide/docs updated accordingly.
Tooling & Requirements
- Rust toolchain pinned to 1.76; requirements.txt now includes maturin/portalocker/portalocker.
- README & docs clarified around installation, Windows venv activation, optimizer fine-tuning, and backtest data (downloader-based archives).
Miscellaneous
- Logging tidy-ups (throttled EMA progress, reduced noisy lines).
- Several .gitignore additions, dependency updates, and formatting runs (black).
- Tests expanded for CandlestickManager and Passivbot’s unstuck flow, ensuring new behaviour is well-covered.
What's Changed
- Merge v7.4.0_noisiness into master: noise-aware filters, smarter panic exits, and Rust backtest upgrades by @enarjord in #523
Full Changelog: v7.3.21...v7.4.0