Passivbot
Open-source contrarian market-making bot for crypto perpetual futures (Bybit, OKX, Bitget, Binance, Hyperliquid and others), written in Python and Rust, with an optimizer.
Serious engineering for futures grid/martingale trading; take the time to understand its risk settings before going live.
Who it is for
Experienced futures traders who understand martingale-style position averaging and want to optimize it with backtests.
Strengths
- The same Rust order-planning engine is used in live trading and backtesting, for consistency.
- Built-in optimizer that iterates thousands of backtests with an evolutionary algorithm.
- Supports many exchanges: Bybit, OKX, Bitget, Bitunix, Gate.io, Binance, Kucoin, Hyperliquid, WEEX and Lighter.
Good to know
- The default strategy is 'trailing_martingale': it adds to positions as price moves against you. Martingale-style systems can suffer severe losses in strong trends.
- Trades leveraged perpetual futures; the README itself says 'used at one's own risk'.
- Version 8 changed config and strategy formats; old v7 configs must not be used live without migration.
- An optimizer that searches thousands of configurations is a classic path to overfitting.
Want a bot built on Passivbot, or something similar?
We set it up, connect it to your accounts and keep it running.
Sources
Every fact on this page comes from these sources, checked on 2026-10-24. If something has changed, the source wins; tell us at hello@heybotify.com.
- https://github.com/enarjord/passivbot: strategy description, exchanges, optimizer, v8 migration notes, risk warning, license
Alternatives in Trading bots
Hummingbot
Open-source Python framework for market-making bots and other strategies on centralized and decentralized exchanges.
Superalgos
Community-owned open-source platform to design, backtest and run crypto trading bots visually, with a very large built-in documentation.
Freqtrade
Open-source crypto trading bot written in Python, with backtesting, parameter optimization, a simulated mode and Telegram control.
3Commas
Commercial cloud platform for crypto DCA, grid and signal bots that connect to your exchange accounts through API keys.