diff --git a/iron_condor.py b/iron_condor.py index db75166..af2e559 100644 --- a/iron_condor.py +++ b/iron_condor.py @@ -72,7 +72,7 @@ def monitor_spread_price(short_leg: OptionLeg, long_leg: OptionLeg, stop_price: for leg in [short_leg, long_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 leg_market_data.updateEvent += on_market_data_update