9 lines
277 B
Python
9 lines
277 B
Python
from client import TradeStationClient
|
|
from datetime import datetime
|
|
from dotenv import load_dotenv
|
|
from os import getenv
|
|
|
|
load_dotenv()
|
|
|
|
client = TradeStationClient(getenv('TRADESTATION_REFRESH_TOKEN'))
|
|
client.stream_options_chain('$SPXW.X', expiration = datetime(2024, 1, 26)) |