Skip to content

Commit 6c0deb0

Browse files
authored
Fix missing URL import for the Stream class example in README (#628)
1 parent 6c45474 commit 6c0deb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ to achieve different goals.
236236
Here in this basic example, We use the Stream class under `alpaca_trade_api.stream` for API V2 to subscribe to trade
237237
updates for AAPL and quote updates for IBM.
238238
```py
239+
from alpaca_trade_api.common import URL
239240
from alpaca_trade_api.stream import Stream
240241

241242
async def trade_callback(t):

0 commit comments

Comments
 (0)