This repository was archived by the owner on Sep 9, 2023. It is now read-only.
Replies: 2 comments 1 reply
-
|
Nevermind I was to stupid too read that the.on accepts a market field as a second param. My bad |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
All data events ( client.subscribeCandles(market);
client.on('candle', (candle, market) => {
// do something with candle and market
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, so I have a problem which I can not solve and hope some of you can answer.
I have a ccxws socket that subscribed to multiple markets on binance. All is working fine but I have big troubles identifying the corresponding market from the candle response as it just contains timestamp and ohlcv data, but no data for which market / symbol it actually is. I need to build caching for all markets and without knowing to which market the response event belonngs, I can not cache the data.
Regards
Beta Was this translation helpful? Give feedback.
All reactions