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):
|
def enter_iron_condor(entry_time: datetime):
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
filename=f'iron_condor_{entry_time.strftime("%H%M")}.log',
|
filename = f'iron_condor_{entry_time.strftime("%H%M")}.log',
|
||||||
level=logging.INFO,
|
level = logging.INFO,
|
||||||
format='%(asctime)s : %(levelname)s : %(message)s',
|
format = '%(asctime)s : %(levelname)s : %(message)s',
|
||||||
datefmt='%Y-%m-%d %H:%M:%S'
|
datefmt = '%Y-%m-%d %H:%M:%S'
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
_enter_iron_condor(entry_time)
|
_enter_iron_condor(entry_time)
|
||||||
|
Loading…
Reference in New Issue
Block a user