Skip to content

Commit a02e694

Browse files
author
Shlomi Kushchi
authored
ws example - a bit better choices for polygon data
1 parent aaf41f9 commit a02e694

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/websocket_example.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,10 @@ async def on_trades(conn, channel, trade):
7777
# you could use either one of these:
7878
# conn.run(['trade_updates', 'AM.AAPL', 'Q.AA', 'T.*'])
7979
# conn.run(['trade_updates', 'AM.AAPL', 'Q.AA', 'T.*'])
80-
# conn.run(['trade_updates', 'AM.*', 'A.*', 'Q.*', 'T.*'])
80+
# conn.run(['AM.*', 'A.*', 'Q.*', 'T.*'])
8181
# conn.run(['trade_updates', 'Q.*', 'T.*'])
8282
# conn.run(['trade_updates', 'AM.*', 'A.*'])
83-
conn.run(['trade_updates', 'AM.*', 'A.*', 'Q.*', 'T.*'])
84-
# conn.run(['Q.AAPL'])
83+
conn.run(['Q.AAPL'])
8584
else:
8685
# these won't work:
8786
# conn.run(['T.*'])

0 commit comments

Comments
 (0)