altangent / ccxws

WebSocket client for 38 cryptocurrency exchanges
MIT License
619 stars 186 forks source link

Question: Is there a way to subscribe to multiple markets in the same call? #330

Open drsavant-pub opened 2 years ago

drsavant-pub commented 2 years ago

I am subscribing to trades for 9-coins on each exchange, and some of the exchanges allow for subscribing to multiple markets on the same call, so I'm wondering if there is a way to do this in ccxws?

ne0c0de commented 1 year ago

Hi @drsavant-pub did you find any way to do this?

drsavant-pub commented 1 year ago

No! I never did find a way to subscribe to multiple markets on the same call.

nileio commented 1 year ago

I think this is handled internally when you make a loop across multiple markets it batches them as a single subscription - not 100% sure but that's what I thought I saw!