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 428fad3 + 0b0c5ff commit 3c438bbCopy full SHA for 3c438bb
alpaca_trade_api/stream2.py
@@ -166,7 +166,7 @@ def __init__(
166
self.trading_ws = _StreamConn(_key_id, _secret_key, _base_url)
167
self.data_ws = _StreamConn(_key_id, _secret_key, _data_url)
168
self.polygon = polygon.StreamConn(
169
- _key_id + '-staging' if 'staging' in _base_url else '')
+ _key_id + '-staging' if 'staging' in _base_url else _key_id)
170
171
self._handlers = {}
172
self._handler_symbols = {}
0 commit comments