Skip to content

Commit 376049e

Browse files
author
Shlomi Kushchi
authored
change polyfeed to alpacadatav1
1 parent 3538644 commit 376049e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ the corresponding channel names. For example, if you subscribe to
205205
`trade_updates`, a WebSocket connects to Alpaca stream API, and
206206
if `AM.*` given to the `subscribe()` method, a WebSocket connection is
207207
established to Polygon's interface. If your account is enabled for
208-
Alpaca Data API streaming, adding `polyfeed/` prefix to `T.<symbol>`,
208+
Alpaca Data API streaming, adding `alpacadatav1/` prefix to `T.<symbol>`,
209209
`Q.<symbol>` and `AM.<symbol>` will also connect to the data stream
210210
interface.
211211

@@ -249,7 +249,7 @@ async def on_second_bars(conn, channel, bar):
249249
conn.run(['trade_updates', 'AM.*'])
250250

251251
# if Data API streaming is enabled
252-
# conn.run(['trade_updates', 'polyfeed/AM.SPY'])
252+
# conn.run(['trade_updates', 'alpacadatav1/AM.SPY'])
253253

254254
```
255255

0 commit comments

Comments
 (0)