diff --git a/iron_condor.py b/iron_condor.py index 45a10d8..5fc9f01 100644 --- a/iron_condor.py +++ b/iron_condor.py @@ -78,10 +78,10 @@ def monitor_spread_price(short_leg: OptionLeg, long_leg: OptionLeg, stop_price: def enter_iron_condor(entry_time: datetime): logging.basicConfig( - filename=f'iron_condor_{entry_time.strftime("%H%M")}.log', - level=logging.INFO, - format='%(asctime)s : %(levelname)s : %(message)s', - datefmt='%Y-%m-%d %H:%M:%S' + filename = f'iron_condor_{entry_time.strftime("%H%M")}.log', + level = logging.INFO, + format = '%(asctime)s : %(levelname)s : %(message)s', + datefmt = '%Y-%m-%d %H:%M:%S' ) try: _enter_iron_condor(entry_time)