Releases: enarjord/passivbot
Releases · enarjord/passivbot
Passivbot v7.4.1 – Custom Endpoint Support
- Introduced configurable REST endpoint overrides via configs/custom_endpoints.json, including CLI/config opt‑in and automatic websocket disabling.
- Added loader intelligence for hostname placeholders and detailed startup logging.
- Documented the setup flow and added pytest coverage to ensure ccxt rewrites and headers behave as intended.
Full Changelog: v7.4.0...v7.4.1
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
v7.3.21 – Candles & Control
Release Highlights (v7.3.21 vs v7.3.20)
- Introduced an asynchronous CandlestickManager with disk-backed caching, automatic gap repair, and earliest-ts metadata. Requests now clamp to discovered history, and a new pytest suite guards the cache behaviour.
- Reworked symbol screening: filter_markets is now a shared utility, and UTC handling in ts_to_date is consistent across the bot.
- Order execution pipeline gained “panic close” support and refined order-type handling; a follow-up patch fixed an edge case where panic close could fail.
- Rust backtest tooling grew substantially (new analysis module, ADX-driven trailing flip logic, richer metrics, error handling, and max-flip tracking). Supporting dependencies were added in the Rust workspace.
- Documentation refresh: README now covers Windows activation paths and references the Hyperliquid vault; outdated Passivbot imagery was removed.
- Miscellaneous housekeeping: expanded .gitignore, removal of stale notebooks/configs, and other formatting cleanups.
These changes focus on sturdier market-data handling, sharper backtest analytics, and safer order-management controls while keeping configuration untouched.
What's Changed
- Update README for Windows users by @ozymotv in #517
- Window crashes fix 7.3.15 by @ozymotv in #516
- Zone recovery improvements by @Belgianwafflecorp in #520
- Fix import for generate mcap list by @TayyabTalha in #521
New Contributors
- @Belgianwafflecorp made their first contribution in #520
Full Changelog: v7.3.20...v7.3.21
v7.3.20 Kucoin
- officially added Kucoin exchange
v7.3.19 tidy up
Full Changelog: v7.3.16...v7.3.19
v7.3.16 dynamic WEL and n_pos
- backtester will now update effective n_positions and wallet exposure limits for each coin dynamically, like live bot does
- increase grid/trailing allocations by 1% to overshoot grid_trailing_ratio_threshold
Full Changelog: v7.3.15...v7.3.16
v7.3.15 ccxt version rollback
- rollback ccxt from v4.4.96 to v4.4.90 due to breaking changes
v7.3.14 coin overrides
- replaces coin flags with coin overrides
- adds coin overrides to backtest
- adds safeguards to prevent bot making duplicate orders
- up ccxt version to 4.4.96
- allow selecting subset of objectives for pareto front when using src/pareto.py
- remove mimic_backtest_1m_delay feature from live bot
- other fixes and improvements
What's Changed
- Master by @msei99 in #510
- New requirements-live.txt and passivbot-live service added to docker-compose.yml by @Couillos in #508
- skipping get_first_timestamp exception by @JohnyX in #511
- Fixes for trailing entries and closes by @TayyabTalha in #512
- V7.3.14 coin overrides by @enarjord in #515
New Contributors
- @Couillos made their first contribution in #508
- @JohnyX made their first contribution in #511
- @TayyabTalha made their first contribution in #512
Full Changelog: v7.3.13...v7.3.14
v7.3.13 markup
- Replace bot parameters
- close_grid_min_markup and close_grid_markup_range
- with
- close_grid_markup_start and close_grid_markup_end
- see docs/configuration.md for more details
- while logic has changed, backwards compatibility with old param names/values is maintained by automatically adjusting param values
- Fixes for binance fetch pnl
- Add param
config.live.mimic_backtest_1m_delaywhich when true adds delays of live order execution of up to 1m for better backtest conformity - Update some requirements
What's Changed
- V7.3.12 bounds by @enarjord in #504
- Windows bugs fix by @ozymotv in #503
- pandas: 1.4.0 -> 1.4.3 workaround for numpy/pdb bug by @eliottness in #506
- V7.3.13 markup by @enarjord in #507
New Contributors
- @ozymotv made their first contribution in #503
- @eliottness made their first contribution in #506
Full Changelog: v7.3.10...v7.3.13
v7.3.10 coins path list bug fix
fixes bug where ignored/approved coins given as path would fail