Skip to content

Commit 0f7521f

Browse files
committed
update version to 7.6.0, refine order planning logic
1 parent ed75381 commit 0f7521f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
:warning: **Used at one's own risk** :warning:
66

7-
v7.5.8
7+
v7.6.0
88

99

1010
## Overview
@@ -13,7 +13,7 @@ Passivbot is a cryptocurrency trading bot written in Python and Rust, intended t
1313

1414
It operates on perpetual futures derivatives markets, automatically creating and cancelling limit buy and sell orders on behalf of the user. It does not try to predict future price movements, it does not use technical indicators, nor does it follow trends. Rather, it is a contrarian market maker, providing resistance to price changes in both directions, thereby "serving the market" as a price stabilizer.
1515

16-
Passivbot's behavior may be backtested on historical price data, using the included backtester whose CPU heavy functions are written in Rust for speed. Also included is an optimizer, which finds better configurations by iterating thousands of backtests with different candidates, converging on the optimal ones with an evolutionary algorithm.
16+
Order planning is computed by a shared Rust orchestrator used by both live trading and backtesting for speed and consistency. Also included is an optimizer, which finds better configurations by iterating thousands of backtests with different candidates, converging on the optimal ones with an evolutionary algorithm.
1717

1818
## Strategy
1919

@@ -135,6 +135,7 @@ python3 src/main.py path/to/config.json
135135

136136
Passivbot uses Python's logging module throughout the bot, backtester, and supporting tools.
137137
- Use `--debug-level {0-3}` (alias `--log-level`) on `src/main.py` or `src/backtest.py` to adjust verbosity at runtime: `0 = warnings only`, `1 = info`, `2 = debug`, `3 = trace`.
138+
- Use `--verbose` on `src/main.py` to force debug logging (`--log-level debug`).
138139
- Persist a default by adding a top-level section to your config: `"logging": {"level": 2}`. The CLI flag always overrides the config value for that run.
139140
- CandlestickManager and other subsystems inherit the chosen level so EMA warm-up, data fetching, and cache behaviour can be inspected consistently.
140141

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ All notable user-facing changes will be documented in this file.
1818
- Added configurable `live.balance_hysteresis_snap_pct` (default 0.02); set 0.0 to disable balance hysteresis entirely.
1919
- Optimizer: bounds now support optional step size `[low, high, step]` for grid-based optimization; stepped parameters stay on-grid through sampling, crossover/mutation, and Pareto storage.
2020
- Live: added `live.candle_lock_timeout_seconds` to control how long CandlestickManager waits for per-symbol candle locks when multiple bot instances share the same cache (default 10s).
21+
- Rust orchestrator JSON API for unified order planning across live and backtest.
22+
- Backtest HLCV preparation pipeline now routes through CandlestickManager with shared warmup utilities.
2123

2224
### Changed
2325
- Backtest fills now include signed `wallet_exposure` and `twe_long`/`twe_short`/`twe_net` (replacing the previous `total_wallet_exposure` fill column).
@@ -35,3 +37,4 @@ All notable user-facing changes will be documented in this file.
3537
- EMA log spam reduced: volume/log-range EMA summaries only emit when rankings change, keeping live logs quieter.
3638
- Suite configuration is canonical under `backtest.suite` for both backtesting and optimizer runs; `optimize.suite` (if present) is ignored and removed during config normalization.
3739
- Live orchestrator compare mode now derives all EMA inputs from a single per-symbol candle snapshot (1m + 1h), reducing redundant candle-lock contention and false compare failures in multi-bot deployments.
40+
- Live order generation now runs exclusively through the Rust orchestrator; legacy Python order planning paths are removed.

0 commit comments

Comments
 (0)