عکس Erfaniaa
Easy-to-use multi-strategic automatic trading for Binance Futures with Telegram integrationPython
موضوع‌ها
۰
فورک‌ها
۳۰
ستاره‌ها
۱۳۲
تاریخ ایجاد
۱۳ تیر ۱۴۰۱
آخرین بروزرسانی
حدود ۱ ماه قبل
لایسنس
GNU General Public License v3.0

Binance Futures Trading Bot

Easy-to-use multi-strategy automatic trading for Binance Futures

Features

  • You can run it fast and it's easy to use.
  • This project can handle multiple strategies at the same time.
  • There are no complexities and no database usage in this project.

Run

  1. Clone the repository.
  2. Generate a Binance API key and put it in credentials.py.
  3. Run pip3 install -r requirements.txt.
  4. Run python3 init_indicators_dict.py.
  5. Run python3 init_orders_dict.py.
  6. Run python3 main.py.

This will run an example bot on trading Bitcoin with 4 strategies simultaneously.

Config

To write custom bots you can:

  • Set an initial indicators setting in init_indicators_dict.py (because we are handling indicators in the client side with pickle files).

  • Define new indicators in indicators.py.

  • Define a new strategy in main.py (especially inside is_it_time_to_open_long_position and is_it_time_to_open_short_position functions).

  • Config your bot settings in config.py.

To-do

  • Import modules, not variables.
  • Use classes and make main.py smaller.
  • Add more indicators to indicators.py.

Credits

Erfan Alimohammadi and Amir Reza Shahmiri