Smart CryptoTradingBot on Binance API (spot & futures long/short pos) with Telegram Chat Bot Managements(commands & notifications)
the main python script to start
-
Get free historical crypto data API key there https://www.alphavantage.co/support/#api-key
-
Get your free binance API key on binance.com (KEY & SECRET KEY) and paste them in cred.py
-
Paste the obtained keys from binance into cred.py file (key & secret accondingly) & api keys from alphavantage inside of bot.py
-
futures_signature.py is needed to get access to binance futures by your binance API keys
-
Get your telegram api key on telegram bot father and paste in into bot.py
P.S. (don't allow your binance API key use Widthrawal & Transfer permissions)
- Recommend to use Ubuntu 20.04 LTS image or docker with lighweight version (python:3-alpine) and pyenv within.
- Install required libs & run it
pip install python-binance
pip install binance
python bot.py
- You can use crontab to reshedule launch of the cryptobot (bot.py) whenever you want.