Copy trading tool for cryptocurrencies - written in Python & Flask
Makes you copy high-performing masters without doing any effort
Disclaimer : this is a hobby project not intended for commercial use, and is provided as-is without warranty or liability. capital at risk.
bot used to make a mass buying or selling of identical bots to do basic copy trading.
- Binance Spot
- Bitmex
- Bitmex Testnet
-
Downland and install requirements
git clone https://github.com/MohammedRashad/Crypto-Copy-Trader.git cd Crypto-Copy-Trader pip install -r requirements.txt cp ./config_files/config-sample.json ./config_files/config.json
-
Configure
config.json
- Open
./config_files/config.json
in text editor and paste your api keys and secrets to master and slaves - Possible values for a variable
exchange_name
you can find in folder ExchangeInterfaces.
- Open
-
Run
python api.py
-
Open GUI
- go to http://127.0.0.1:5000/ or http://0.0.0.0:5000/
- click
Run
button - see log in terminal or in file
logs/cct.log
- when will you see message
Launch complete
you can place the orders
- Build Docker container
docker build -t crypto-copy-trader .
- Run first Docker container
docker run --publish 8000:5000 --detach --name crypto-copy-trader crypto-copy-trader
- Database SQLite
- Slave-Master Configuration
- Copy active orders on launch
- WebUI
- Flask API
- All orders Supported
- Adding slaves in realtime
- Ratio for not similar accounts
- Built with bootstrap
- Add and delete slaves buttons not working with new config file. So need to fill
config.json
manually - database is not related with
config.json
- Bitmex working only with
XBTUSD
andETHUSD
pairs now - You may have an issue "ModuleNotFoundError: No module named 'jsonschema.compat'" (python 3.8.x) Please refer this post: https://stackoverflow.com/questions/69426664/modulenotfounderror-no-module-named-jsonschema-compat solution: pip install -Iv jsonschema==3.2.0
Please open an issue to help us fix any bugs or request features if needed.
Thanks to everyone trying to help, special thanks for NickPius for multiple patches.
Contact me if you want to join as a contributor.
Apache 2.0 License