gateio / gatews

Gate Websocket V4 SDK
89 stars 35 forks source link

Best bid/ask timestamp semantics #36

Closed LKresta closed 1 year ago

LKresta commented 1 year ago

Hello there,

I have a question regarding best bid/ask notifications coming from WebSocket API (https://www.gate.io/docs/developers/futures/ws/en/#best-ask-bid-notification). There's a timestamp provided in the notification - "t", comment says it's "Book ticker generated timestamp in milliseconds". Does this timestamp represent the time when the change occurred "in engine" or does it represent the time when the notification was dispatched from your end? I assume the former but wanted to double-check.

Thanks!

revilwang commented 1 year ago

It’s the former

LKresta commented 1 year ago

Splendid, thanks!