Trivial formatting change

This commit is contained in:
moshferatu 2024-02-14 12:34:34 -08:00
parent c05bed04b9
commit a72d8aa0ab

View File

@ -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)