passivbot

Trading bot running on Bybit, Bitget, OKX, GateIO, Binance and Hyperliquid

OTHER License

Stars
1.1K
Committers
41

Bot releases are hidden (Show)

passivbot - v7.0.3-beta new template config Latest Release

Published by enarjord about 1 month ago

passivbot - v7.0.2-beta delete old configs

Published by enarjord about 1 month ago

Remove deprecated configs

passivbot - v7.0.1 beta

Published by enarjord about 1 month ago

Code cleanup, refactoring backtest and optimize, fixes and doc updates

passivbot - Passivbot v7.0.0-beta

Published by enarjord about 1 month ago

First beta release of Passivbot v7.

  • exchange Gate.IO added
  • uses Rust for backtesting
  • added trailing entries and closes
  • backtests dynamic symbol rotation based on volume and volatility
  • new unified config structure
passivbot - v6.1.4b Last Release pre v7

Published by enarjord about 1 month ago

Last release of Passivbot before merging v7 into master.

passivbot - v6.1.4 bug fixes: missing orders

Published by enarjord 5 months ago

fixes a bug where symbols with pos but no open orders were wrongly ignored

passivbot - v6.1.3 forager fixes

Published by enarjord 5 months ago

  • add forced_mode_{long/short}
  • fix ignored_symbols
passivbot - v6.1.2 passivbot multi forager

Published by enarjord 6 months ago

First release with passivbot multi forager mode

  • add exchange hyperliquid
  • add forager mode to passivbot_multi.py
  • add best config extraction tool: tools/extract_best_multi_config.py
  • upgrade ccxt to v4.3.11
  • improvements to multi optimizer
  • refactors, changes, improvements, fixes
passivbot - v6.1.1 bybit fix

Published by enarjord 9 months ago

  • fix bybit max custom_id length
  • implement bingx passivbot_multi
  • add c_mult to calc_initial_entry()
  • add binance testnet
  • misc fixes and improvements
passivbot - v6.1.0 multi symbol

Published by enarjord 10 months ago

First release of Passivbot with multi symbol support.

Instead of one Passivbot instance controlling only one single symbol at a time, the multisymbol Passivbot controls multiple symbols in the same instance. Only recursive grid mode works with passivbot_multi. Extant single symbol passivbot functionality remains unchanged.

Usage
python3 passivbot_multi.py configs/live/{config_name}.hjson
Use configs/live/example_config.hjson as template.

Requirements
Update python packages with pip install -r requirements_live_only.txt

Multi symbol auto unstuck

  • if a position is stuck, bot will use profits made on other markets to realize losses for the stuck position.
  • if multiple positions are stuck, select the stuck position whose price action distance is the lowest.
  • each live config's individual auto unstuck is disabled.
  • recursive configs work the same in multi symbol mode as in single symbol mode, except the auto_unstuck parameters are set to zero, in favor of the multisymbol auto unstuck.

Backtesting
Backtesting for multisymbol passivbot works with the jupyter notebook notes_multisymbol_backtest.ipynb

passivbot - v6.0.1 slices

Published by enarjord 12 months ago

  • backtest on overlapping slices of data, taking mean of selected metrics as final analysis
  • in configs/optimize/default: n_backtest_slices: 10 by default. Set to 1 to disable slices
  • change bounds in optimize config
  • kucoin fix
  • backwards_tp: False fix
  • modify -gs in forager: WE_limit_per_bot = TWE / n_active_bots
passivbot - Passivbot v6.0.0: timer delayed AU

Published by enarjord almost 1 year ago

Upping version from v5 to v6 to emphasize the change in recursive and neat grid modes AU functionality.
See notes for v5.9.12 for more details.

passivbot - v5.9.12 auto unstuck on timer

Published by enarjord about 1 year ago

  • add timed auto unstuck to grid modes
  • remove static grid mode
  • upgrade bybit API to v5 using ccxt
  • change score metrics for optimizing
    • remove eqbal ratio as score metric
    • add maximum_pa_distance_1pct_worst_mean
  • add single opt configs to configs/live/
  • move "symbols" from configs/optimize/default.hjson to configs/backtest/default.hjson
  • add starting config filter to optimize
  • clip threshold arg accepts exact n symbols >= 1
  • async historical ohlcv download
  • misc bug fixes and changes
passivbot - v5.9.11 last release before v5.9.12_AU_delay

Published by enarjord about 1 year ago

bug fixes

passivbot - v5.9.10 exposure ratios mean and bybit ohlcv

Published by enarjord over 1 year ago

  • add score metric exposure_ratios_mean
  • fix in short timer print
  • add support for bybit ohlcv download
passivbot - v5.9.8 forager separate long/short

Published by enarjord over 1 year ago

  • auto profit transfer bybit fix
  • slim analysis optional
  • smaller changes and fixes
passivbot - v5.9.7b server time bug fix

Published by enarjord over 1 year ago

Includes bug fix for clock mode

passivbot - v5.9.7 Slim Analysis

Published by enarjord over 1 year ago

  • use analyze_fills_slim() for optimizing
  • consistency with ema bands for clock mode
  • use server's time instead of UTC
  • add metric and shorten headers in inspect_opt_results.py
passivbot - v5.9.6 move exchanges .py files to separate dir

Published by enarjord over 1 year ago

move exchanges .py files to separate dir

passivbot - v5.9.5 adg weighted and recursive mode improvement

Published by enarjord over 1 year ago

  • score on mean of adgs
  • recursive grid's last order is not too small
  • smaller fixes and changes
Package Rankings
Top 4.75% on Proxy.golang.org
Badges
Extracted from project README
Discord Telegram