- Binance Bot
- KuCoin Bot
This is as adapted from Algovibes.
Ensure that you have created a Binance API key before proceeding.
Ensure that you are running on Python 3.6 and above.
Recommended to use virtual environment to run the files not required.
# copy and populate your Binance API credentials in the env file
cp test.env .env
# ENV in .env takes either "development" or "production"
# install dependencies
pip install -r requirements.txt
Fetches the data from Binance and stores in sqlite.
# you can pass in an argument
# consisting of the ticker that you want
$ python asyncio_run_ticker.py BTCUSDT
# or just run the command
# with the preset symbol defined in constant.py
$ python asyncio_run_ticker.py
# show all entries of the ticker in the sqlite stream
$ python read_db.py
# show entries as a graph
$ python read_db.py --graph
Please let the asyncio_run_ticker.py script run for a few minutes first before initialising this script. WARNING: Please check that you have set the correct ENV in .env file before running the following.
$ python trade_bot.py
This was made from scratch using KuCoin's Python SDK.
WARNING: Please check that you have set the correct ENV in .env file before running the following.
$ python kucoin_first_trade.py