ccxws icon indicating copy to clipboard operation
ccxws copied to clipboard

[BUG] Gate.io orderbook feed goes out of sync

Open nudabagana opened this issue 3 years ago • 0 comments

Gate.io ob feed goes out of sync quite fast. Here is a repro: https://codesandbox.io/s/node-js-forked-bu2mv?file=/src/index.js

Update 1: made another repro using regular ws. Seems like problem is still there. So gate.io might be at fault here. https://codesandbox.io/s/gate-io-ws-4o806?file=/src/index.js

Update 2: aperantly, gate.io has new websockets implementation (v4): https://www.gate.io/docs/developers/apiv4/ws/en/#spot-websocket-v4 I made reproduction using this new api, and it seems to work: https://codesandbox.io/s/gate-io-ws-v4-8v99z?file=/src/index.js I guess update is needed to gate.io ws implementation then. This new version also supports more features, like snapshot.

nudabagana avatar Nov 30 '21 12:11 nudabagana