Crypto Trading Bot
Automated crypto trading bots for Binance and KuCoin platforms
Install / Use
npx skills add kaikoh95/crypto-trading-botInstalls into whichever agent you are using.
README
crypto-trading-bot
Features
- Binance Bot
- KuCoin Bot
Binance Bot
This is as adapted from Algovibes.
Pre-requisites
Ensure that you have created a Binance API key before proceeding.
Ensure that you are running on Python 3.6 and above.
Setup
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
Getting a ticker's data
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
Processing/Reading ticker's data
# show all entries of the ticker in the sqlite stream
$ python read_db.py
# show entries as a graph
$ python read_db.py --graph
Executing the trade bot
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
KuCoin Bot
This was made from scratch using KuCoin's Python SDK.
Executing the KuCoin bot to snag first listings
WARNING: Please check that you have set the correct ENV in .env file before running the following.
$ python kucoin_first_trade.py
Related Skills
node-connect
385.6kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.7kCommit, push, and open a PR
