Skip to content

rafalense/corecito

 
 

Repository files navigation

Corecito

Setting up

*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)

Config

  1. Duplicate "config/default_config.yaml" file
  2. 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!

Tests

To run the tests, execute:

pytest

Docker

Docker allows you to set up your enviroment without having to install all dependencies. To run corecito using docker:

docker-compose build
docker run corecito_app:latest python corecito.py

To run the tests using docker run:

docker run corecito_app:latest pytest

Known issues

  • 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.

About

Core number script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Dockerfile 0.3%