kelvinau / crypto-arbitrage

Automatic Cryptocurrency Trading Bot using Triangular or Exchange Arbitrages
MIT License
713 stars 193 forks source link

Can`t get it to start working #9

Open PlayboySatoshi opened 6 years ago

PlayboySatoshi commented 6 years ago

I left it running for about 24 hours and this is all I get. Im doing the default values of BTC-LTC-ETH and the exchange is bittrex. I didnt change anything in the code except I put my Bittrex APIs

python main.py -m triangular -p 20180321023439 starting Triangular Arbitrage Engine... checking open orders... no open orders starting to check order book... [<Response [200]>, <Response [200]>, None]

[<Response [200]>, <Response [200]>, None]

[<Response [200]>, <Response [200]>, None]

[<Response [200]>, <Response [200]>, None]

[<Response [200]>, <Response [200]>, None]

[None]

[<Response [200]>, <Response [200]>, None]

[None, None, None]

[None, <Response [200]>, <Response [200]>]

[<Response [200]>, <Response [200]>, None]

[<Response [200]>, <Response [200]>, None]

[<Response [200]>, None, None]

[None, None, None]

[None]

[None]

[None, <Response [200]>, <Response [200]>]

[None, <Response [200]>, <Response [200]>]

[<Response [200]>, None, <Response [200]>]

u'BTC'

PlayboySatoshi commented 6 years ago

Also I checked htop during the bot run and it doesnt seem to use even %1 of the cpu. So that makes me wonder if its actually checking the rates and calculating if there is an opportunity at all.

How often this script checks for an opportunity and how can I adjust that time length?

Seems like an awesome and super simple bot. Thank you. Good job dude. Keep it up!

kelvinau commented 6 years ago

See #5. I will make changes to display the log that it's checking the rates. Now it's only shown in mock mode.