diff --git a/iron_condor.py b/iron_condor.py index f6c9ad3..ce65707 100644 --- a/iron_condor.py +++ b/iron_condor.py @@ -47,11 +47,6 @@ def monitor_spread_price(short_leg: OptionLeg, long_leg: OptionLeg, stop_price: mid_price_long = (max(long_contract.bid, 0) + long_contract.ask) / 2 current_spread_price = mid_price_short - mid_price_long - logging.info(f'Short Contract: {short_leg.strike} {short_leg.option_type}') - logging.info(f'Long Contract: {long_leg.strike} {long_leg.option_type}') - logging.info(f'Current Spread Price: {current_spread_price}') - logging.info(f'Stop Price: {stop_price}') - if current_spread_price >= stop_price: stopped_out = True logging.info('Stop price reached or exceeded. Exiting trade.')