Remove entry time from strategy name when inserting records into the trades table

This commit is contained in:
moshferatu 2024-02-03 05:18:36 -08:00
parent d285a33dd0
commit 8edef67e2b

View File

@ -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],