ethemguner / dobot

Real Time Crypto Currency Price Tracker by using Django
2 stars 0 forks source link

Dobot

Dobot is a crypto currency trade bot by made Dopigo developer members.

Before Installation

You need .localsecrets file to run the project and other executions. Please contact with Ethem or Sencer H. before you start install the project.

If You Gott .localsecrets File

From now on, you will be able to run migrations & binance websocket listener.

Django Setup

Redis

RabbitMQ

Running System Over Binance Websocket (Recommended)

You may encounter binance API errors because requests are IP based restricted. If so, please contact with Ethem.

Running System Over Celery Service (not essential right now)

Because we're sending processes to query, you may encounter delays in price changes. Also there is a 2.35 seconds delay in code, otherwise binance is throwing connection timeout error. This is why using binance websocket listener is recommended. Currently, this is not a necessarry part of the project.

Open two terminal, in one of them run in dobot/dobot

./ssc/celery.sh

Open your other terminal and run in dobot/dobot

./ssc/celerybeat.sh

You good to go!