Skip to content

Commit

Permalink
Update NATS server addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitoshi Harada committed Jun 27, 2018
1 parent d7302ab commit 8ea99f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alpaca_trade_api/polygon/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ def __init__(self, api_key):

async def connect(self, loop=None):
servers = [
'nats://{}@nats1.polygon.io:30401'.format(self._api_key),
'nats://{}@nats2.polygon.io:30402'.format(self._api_key),
'nats://{}@nats3.polygon.io:30403'.format(self._api_key),
'nats://{}@nats1.polygon.io:31101'.format(self._api_key),
'nats://{}@nats2.polygon.io:31102'.format(self._api_key),
'nats://{}@nats3.polygon.io:31103'.format(self._api_key),
]

# TODO:
Expand Down

0 comments on commit 8ea99f2

Please sign in to comment.