Skip to content

Commit f515265

Browse files
authored
fix: adjust real time data example code (#590)
1 parent 168c338 commit f515265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/market_data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ methods to receive real-time data.
158158

159159
.. code-block:: python
160160
161-
from alpaca.data import CryptoDataStream, StockDataStream
161+
from alpaca.data.live import CryptoDataStream, OptionDataStream, StockDataStream
162162
163163
# keys are required for live data
164164
crypto_stream = CryptoDataStream("api-key", "secret-key")

0 commit comments

Comments
 (0)