Trivial formatting change

This commit is contained in:
moshferatu 2024-02-19 14:31:09 -08:00
parent 577aa73ec3
commit 353df04d64

View File

@ -72,7 +72,7 @@ def monitor_spread_price(short_leg: OptionLeg, long_leg: OptionLeg, stop_price:
for leg in [short_leg, long_leg]: for leg in [short_leg, long_leg]:
option_contract = client.get_option_contract(leg) option_contract = client.get_option_contract(leg)
leg_market_data = client.get_market_data(option_contract, streaming=True) leg_market_data = client.get_market_data(option_contract, streaming = True)
market_data[leg] = leg_market_data market_data[leg] = leg_market_data
leg_market_data.updateEvent += on_market_data_update leg_market_data.updateEvent += on_market_data_update