Order Book
data renderer
- BitMEX: wss://www.bitmex.com/realtime
Node (LTS/Carbon)
$ node -v
v8.10.0
-
Server:
- nodejs
- express
- bitmex-realtime-api
-
Client:
- react
- redux
- webpack 3.12
- socket.io-client
- redux-thunk
- sass
-
Server:
node server.js OR nodemon server.js
- Basic express server setup with the intent to fetch and feed the client with the stream of data originated from third-party libraries (eg.: BitMEX Websocket)
-
Client:
npm run start
The greatest difficulty was to find possible solutions for a direct connection from the client to third-party websocket services (e.g: BitMEX Websocket). After several attempts, I have decided on implementing a basic ezpress server setup making usage of the bitmex-realtime-api
module to fetch and feed the data to the client.