You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting my execution data by subscribing to the execution table:
bitmexWebsocket.addStream('XBTUSD', 'execution', async function (data, symbol, tableName) {
if (!data.length) {return}
...
})
For me it seems the data object is an accumulation of all execution events which happened since subscription.
If one gets frequent executions, the data object can get huge, right?
So is there a kind of reset functionality or what are the best practices to deal with this issue? Un- and resubscribe? How?
The text was updated successfully, but these errors were encountered:
flolege
changed the title
Hot to deal with growing execution stream data? Is there a reset function?
How to deal with growing execution stream data? Is there a reset function?
Feb 9, 2021
I am getting my execution data by subscribing to the execution table:
For me it seems the data object is an accumulation of all execution events which happened since subscription.
If one gets frequent executions, the data object can get huge, right?
So is there a kind of reset functionality or what are the best practices to deal with this issue? Un- and resubscribe? How?
The text was updated successfully, but these errors were encountered: