From 8edef67e2bfda73d23a2d31bb1ad013f268f5846 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Sat, 3 Feb 2024 05:18:36 -0800 Subject: [PATCH] Remove entry time from strategy name when inserting records into the trades table --- iron_condor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iron_condor.py b/iron_condor.py index b34f518..6754cd5 100644 --- a/iron_condor.py +++ b/iron_condor.py @@ -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],