We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff5d254 + bb04693 commit 653b607Copy full SHA for 653b607
alpaca_trade_api/stream2.py
@@ -68,8 +68,8 @@ async def _ensure_polygon(self):
68
if 'staging' in self._base_url:
69
key_id += '-staging'
70
self.polygon = polygon.StreamConn(key_id)
71
- self.polygon._handlers = self._handlers
72
- self.polygon._handler_symbols = self._handler_symbols
+ self.polygon._handlers = self._handlers.copy()
+ self.polygon._handler_symbols = self._handler_symbols.copy()
73
await self.polygon.connect()
74
75
async def _ensure_ws(self):
0 commit comments