Trivial formatting change
This commit is contained in:
parent
c05bed04b9
commit
a72d8aa0ab
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user