diff --git a/streaming_option_chain_example.py b/streaming_option_chain_example.py index e0e23a5..e891a5b 100644 --- a/streaming_option_chain_example.py +++ b/streaming_option_chain_example.py @@ -1,9 +1,3 @@ -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" - This example does not currently work. - The DXLink connection does not currently support options data. - Refer to the comments on this video: https://www.youtube.com/watch?v=qHL4Jy6yIC8 -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" - from datetime import datetime from dotenv import load_dotenv from os import getenv @@ -24,4 +18,4 @@ option_chain_data = client.get_option_chain_compact('SPX')['data']['items'][0] streamer_symbols = option_chain_data['streamer-symbols'] zero_dte_symbols = [symbol for symbol in streamer_symbols if symbol.startswith(symbol_prefix)] -client.start_streaming(zero_dte_symbols) \ No newline at end of file +client.stream_quotes(zero_dte_symbols) \ No newline at end of file