Simple Bybit Futures bot: if price lower the selected moving average it will open short, if higher then long.
You can set any length for your SMA (bybit max limit is 200 candles, but here there are no limits).
First create python virtual environment and activate it:
python3 -m venv .smabot && source .smabot/bin/activate
And then install necessary libraries:
pip install pandas
pip install pybit==2.4.1
To run the bot type in console:
python3 bybit_sma_bot.py
If you are using windows use python instead of python3 as well.
MIT License - Feel free to modify and distribute.
Contributions, issues, and feature requests are welcome! Feel free to check issues page.
This project is for informational and educational purposes only. You should not use this information or any other material as legal, tax, investment, financial, or other advice. Nothing contained here is a recommendation, endorsement, or offer by me to buy or sell any securities or other financial instruments.
If you intend to use real money, use it at your own risk.
Under no circumstances will I be responsible or liable for any claims, damages, losses, expenses, costs, or liabilities of any kind, including but not limited to direct or indirect damages for loss of profits.
I develop trading bots of any complexity, dashboards, and indicators for crypto exchanges, forex, and stocks. 🚀
To contact me, please send a message:
- Telegram: https://t.me/ryu8777
✈️ - Discord: https://discord.gg/zSw58e9Uvf 🤝
Start your trading journey on Bybit! Join using my referral link below:
Join Bybit: https://www.bybit.com/invite?ref=P11NJW
Keep your bots running 24/7! I prefer and recommend using DigitalOcean.
Get $200 in credit over 60 days by using my referral link:

