It looks like you're new here. If you want to get involved, click one of these buttons!
// Set INFY (408065) to 'full' mode to
// receive market depth as well.
message = { a: "mode", v: ["full", [408065]] };
ws.send(JSON.stringify(message));
I get the following response
{
type: 'Buffer',
data: [
0, 1, 0, 184, 0, 13, 128, 1, 0, 0, 242, 238,
0, 0, 0, 15, 0, 0, 243, 118, 0, 45, 11, 111,
0, 9, 92, 18, 0, 17, 106, 16, 0, 0, 243, 92,
0, 0, 244, 136, 0, 0, 242, 113, 0, 0, 242, 113,
100, 176, 232, 229, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 100, 176, 232, 231, 0, 0, 8, 14,
0, 0, 242, 218, 0, 17, 0, 0, 0, 0, 9, 148,
0, 0, 242, 213, 0, 12, 0, 0, 0, 0, 13, 125,
0, 0, 242, 208,
... 88 more items
]
}
The response contains type buffer and Data that is array of integers with 188 length