# One minute ago stream c# sdk polygon

**URL:** <https://forum.alpaca.markets/t/one-minute-ago-stream-c-sdk-polygon/2162>\
**Category:** Alpaca Integration Applications\
**Created:** [July 25, 2020, 2:23pm UTC](https://forum.alpaca.markets/t/one-minute-ago-stream-c-sdk-polygon/2162 "2020-07-25T14:23:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_D](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/michael_d/32/727_2.png) [@Michael\_D](https://forum.alpaca.markets/u/Michael_D)\
**Post date:** [July 25, 2020, 2:23pm UTC](https://forum.alpaca.markets/t/one-minute-ago-stream-c-sdk-polygon/2162/1 "2020-07-25T14:23:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![SharpeTrader](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@SharpeTrader](https://forum.alpaca.markets/u/SharpeTrader)\
**Post date:** [July 26, 2020, 3:27pm UTC](https://forum.alpaca.markets/t/one-minute-ago-stream-c-sdk-polygon/2162/2 "2020-07-26T15:27:40Z")

</div>

The polygon stream sometimes closes the websocket. You need to listen on the error channel and reopen the stream and resubscribe.
