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

High latency or wrong units? #215

Closed b-seite closed 7 years ago

b-seite commented 7 years ago

Hi charles,

since some days my bots tell me that the orders all have an at least three digits long latency, see picture below. Because the bot is still trading as it should, i assume that you switched internally to ns? (if not, my bots all have a problem)

bildschirmfoto 2017-09-12 um 07 05 13

Thanks a lot and greetings boris

app exchange: Bitfinex/BCH/BTC
app version: undisclosed

300px-spock_vulcan-salute3

ctubio commented 7 years ago

thanks for the notice'' im not sure right now if is a bug or a feature :P will investigate soOn laterz

ctubio commented 7 years ago

after investigate it, i think the numbers and the units are now correct. before the numbers and the units where correct too, but displayed in milliseconds only the time between K calculates a new quote and K send this new quote; now instead what is displaying in milliseconds is the time between K calculates a new quote and K receives a confirmation of the order as received OK and opened in the exchange (so now we have included in the latency the response time, before was only the request time).

i will try laterz to increase the column size a bit :dancer: