*Tested on python 3.8.2 and 3.7.8 *To run this project, you may need to install the following python modules:
pip3 install cryptocom.exchange
pip3 install python-binance
pip3 install pyyaml
pip3 install pytest
For Telegram notifications, you'll also need to enable it in the config (set 'telegram_notifications_on' to True) and provide 'telegram_bot_token' and 'telegram_user_id' (how to create your Telegram bot)
- Duplicate "config/default_config.yaml" file
- Rename it as "user_config.yaml" and add there your API keys and set the other values as you wish
Be careful! -> Do not set your API keys in default_config.yaml and push the file to git!
To run the tests, execute:
pytest
Docker allows you to set up your enviroment without having to install all dependencies. To run corecito using docker:
- Install docker
- Install docker-compose
- Run:
docker-compose build
docker run corecito_app:latest python corecito.py
To run the tests using docker run:
docker run corecito_app:latest pytest
- INVALID_NONCE On All Requests: the issue occurs when the system clock of the client machine is greater than 1 second in the future, or 30 seconds in the past. Usually, re-syncing with the NTP time server on the client machine will correct the issue.