Remove entry time from strategy name when inserting records into the trades table
This commit is contained in:
parent
d285a33dd0
commit
8edef67e2b
@ -185,7 +185,7 @@ def _enter_iron_condor():
|
||||
trade_records.append({
|
||||
'Date': now.date(),
|
||||
'Symbol': symbol,
|
||||
'Strategy': f'{int(target_delta * 100)} Delta Iron Condor @ {now.strftime("%H:%M:00")}',
|
||||
'Strategy': f'{int(target_delta * 100)} Delta Iron Condor',
|
||||
'Entry Time': now,
|
||||
'Exit Time': None,
|
||||
'Spreads': [call_spread_details, put_spread_details],
|
||||
|
Loading…
Reference in New Issue
Block a user