ctubio / Krypto-trading-bot

Self-hosted crypto trading bot (automated high frequency market making) written in C++
https://127.0.0.1:3000
Other
3.37k stars 823 forks source link

Ghost orders #699

Closed piotrekkaminski closed 6 years ago

piotrekkaminski commented 6 years ago

If something crashes (power outage etc) later orders get removed from exchange but they stay visible in bot. If you remove them by clicking X, they come back in a few seconds. Checking directly open orders on exchange, they are not open.

image

nspassov commented 6 years ago

Which exchange are you using? I am seeing something similar with HitBTC.

On Bitfinex I have the opposite issue: apparently sometimes orders cannot be cancelled successfully, so on BFX I see way more orders than the bot lists (either in console or in web interface).

Has anyone else experienced any of that? Only restarting K seems to fix.

piotrekkaminski commented 6 years ago

It is on HitBTC. Yeah, restarting fixes that.

ctubio commented 6 years ago

im sorry here works nice hitbtc since months ago, im not sure how to reproduce this (about bitfinex, it was recently updated at https://github.com/ctubio/Krypto-trading-bot/commit/b32e7a7905d5ee88d4794862fb221f904b8142d1 and now it doesnt creates/cancels orders, instead it updates orders)