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
The client has a list of symbols to stream quotes and trades. It's around 1800 symbols for now.
When they subscribe to streaming API, they get data only up to a certain amount (around 1400 symbols) as it's in alphabetical order, it's only up to the letter "S". After that it's just silence.
The client subscribed to the Alpaca Unlimited plan.
Expected Behavior
All initiated subscriptions should work as expected and provide actual data.
The root cause of this problem is in the underlying WS sending logic. Buffering logic sometimes sends two (or more) messages in one packet and the server cannot handle this packet as a separate messages.
The current workaround is to send all subscriptions in chunks not one-by-one with small delays between calls. See this code snipped for reference:
Is there an existing issue for this?
Current Behavior
Expected Behavior
All initiated subscriptions should work as expected and provide actual data.
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: