Trivial formatting change
This commit is contained in:
parent
577aa73ec3
commit
353df04d64
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user