This is an experimental bot for auto trading on Binance Exchange written in Python. You use it at your own risk. I am not responsible for any trades the bot has made.
- First, register an account on Binance, then deposit some coins. If you have already had, skip this step.
- Create New API key with proper permissions.
- Install all dependencies listed above
- Clone this repository to your local
- Edit
config.py
- Edit
main.py
- Copy
sample.tradebot.db
totradebot.db
indatabase/
- Run the bot with
python main.py
, if you want to log the output, you can run it withpython -u main.py 2>&1 | tee logfile
- Support multiple orders
- Stop loss implementation
- Configurable parameters
The strategy for buying is MASPREAD, which is the spread between two moving average lines.
To use this tool, you have to install matplotlib
.
When you change parameters in configuration file, use this tool to observe how these parameters affect the buy and sell signals on historical data.
- Update README.md
- Add more trading strategies (indicators)