When a subscription it successful, for example type price, it is not emitting the first response for some reason.
Reading the documentation it says that the first response will contain x amount parameters. But the first response i receive is an empty heartbeat.
Private feed: { type: 'heartbeat', data: {} }
But trying the code from nordnets node.js example for subscription and type price.
subscribePrice(14, '1586', sessionData);
It returns:
{"type":"price","data":{"i":"1586","m":14,"trade_timestamp":1523923200000,"tick_timestamp":1523978400012,"bid":0.0000,"bid_volume":0,"ask":0.0000,"ask_volume":0,"close":230.00,"high":0.0000,"last":0.0000,"last_volume":0,"low":0.0000,"open":0.0000,"vwap":229.97,"turnover":0.0000,"turnover_volume":0}}
When a subscription it successful, for example type price, it is not emitting the first response for some reason. Reading the documentation it says that the first response will contain x amount parameters. But the first response i receive is an empty heartbeat.
Private feed: { type: 'heartbeat', data: {} }
But trying the code from nordnets node.js example for subscription and type price.
subscribePrice(14, '1586', sessionData);
It returns:
{"type":"price","data":{"i":"1586","m":14,"trade_timestamp":1523923200000,"tick_timestamp":1523978400012,"bid":0.0000,"bid_volume":0,"ask":0.0000,"ask_volume":0,"close":230.00,"high":0.0000,"last":0.0000,"last_volume":0,"low":0.0000,"open":0.0000,"vwap":229.97,"turnover":0.0000,"turnover_volume":0}}
Of the first response.