DeviaVir / zenbot

Zenbot is a command-line cryptocurrency trading bot using Node.js and MongoDB.
MIT License
8.22k stars 2.04k forks source link

Kraken: Buy Order never cancelled when limit is far away from market price #806

Open MT00x opened 6 years ago

MT00x commented 6 years ago

Limit Buy Order: Why Zenbot cancel an inserted order if price go down, but DON'T cancel inserted (limit) order if maker price go up far away from my order limit ?

Example: XMR-EUR price is NOW 208€, zenbot has inserted limit order to buy at 192€... this order will probabilly never filled

Thanks

MT00x commented 6 years ago

I think the problem is Kraken timeout in kraken-api. When an order is send the API call go in timeout but order is completed in Kraken, so zenbot loose reference to this order, and never get cancelled

I really think the kraken-api should be updated and timeout should be a option parameter in Zenbot

dextervip commented 6 years ago

Kraken timeout issues are terrible now. I am looking for if it will cause troubles in zenbot. Anyone else having issues?

MT00x commented 6 years ago

Yes all Kraken users have this kind of issue. If you want continue use Kraken with Zenbot my suggestion for now is increase the kraken-api timeout at least