v6.1.4
Passivbot is a cryptocurrency trading bot written in Python, intended to require minimal user intervention.
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.
Passivbot's behavior may be backtested on historical price data, using the included backtester whose CPU heavy functions are written compatible with Numba 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.
Inspired by the Martingale betting strategy, the robot will make a small initial entry and double down on its losing positions multiple times to bring the average entry price closer to current price action. The orders are placed in a grid, ready to absorb sudden price movements. After each re-entry, the robot quickly updates its closing orders at a set take-profit markup. This way, if there is even a minor market reversal, or "bounce", the position can be closed in profit, and it starts over.
The Forager feature dynamically chooses the most volatile markets on which to open positions. Volatility is defined as the mean of the normalized relative range for the most recent candles (15m by default), i.e. mean((ohlcv.high - ohlcv.low) / ohlcv.close)
.
Passivbot manages underperforming, or "stuck", positions by realizing small losses over time. If multiple positions are stuck, the bot prioritizes positions with the smallest gap between the entry price and current market price for "unstucking". Losses are limited by ensuring that the account balance does not fall under a set percentage below the past peak balance.
Passivbot is controlled via terminal commands.
To let Passivbot run on multiple markets simultaneously, use passivbot_multi (see docs/passivbot_multi.md)
There is also an integrated manager for controlling multiple single symbol bots (see docs/manager.md).
See also https://github.com/msei99/pbgui/ for a web based Passivbot GUI.
- Python >= 3.8
- requirements.txt dependencies
Pre-optimized configurations for Passivbot can be found in the directory configs/live/
See also https://pbconfigdb.scud.dedyn.io/
For more detailed information about Passivbot, see documentation on https://www.passivbot.com
Passivbot Manager Service:
For users uncomfortable with or unwilling to run the robot themselves, there is a paid manager service to run Passivbot on the user's behalf.
www.passivbotmanager.com
Referrals:
Signing up using these referrals is appreciated:
https://accounts.binance.me/en/register?ref=TII4B07C
https://partner.bybit.com/b/passivbot
https://partner.bitget.com/bg/Y8FU1W
https://www.okx.com/join/PASSIVBOT (20% rebate)
https://www.kucoin.com/r/rf/QBSFZ5HT
https://bingx.com/invite/DFONXA
BuyMeACoffee:
https://www.buymeacoffee.com/enarjord
Donations:
If the robot is profitable, consider donating as showing gratitude for its development:
Tether USD (USDT):
- USDT Solana:
9hUCHBQA261PU6rUSbwgMoxn8nrdcXPAYgbASRgA8dtm - USDT Binance Smart Chain BEP20 (TSS address):
0xa1e290ec13bf716dadf81640447df9639128460a - USDT Matic Polygon:
0xa1e290ec13bf716dadf81640447df9639128460a
Monero (XMR):
49gUQ1jasDK23tJTMCvP4mQUUwndeLWAwSgdCFn6ovmRKXZAjQnVp2JZ2K4UuDDdYMNam1HE8ELZoWdeJPRfYEa9QSEK6XZ
Bitcoin (BTC):
bc1qcc3kr9gudg35gnsljg64zeaurt0y24pfej36w6
Released freely without conditions. Anybody may copy, distribute, modify, use or misuse for commercial, non-commercial, educational or non-educational purposes, censor, claim as one's own or otherwise do whatever without permission from anybody.