I’m using the c# sdk and subscribing to the polygon one minute agg stream. For some reason after some time maybe 30 mins to an hour, not exactly sure, I stop receiving minute aggregate streams of data on the symbols i’ve subscribed too? is there a timeout for the subscriptions or something I need to know on how to keep the subscription active? i can’t find any documentation on details for the subscriptions with polygon and how they work? any help is appreciated.
The polygon stream sometimes closes the websocket. You need to listen on the error channel and reopen the stream and resubscribe.