diff --git a/trade_report.py b/trade_report.py index a72436f..2bf5e69 100644 --- a/trade_report.py +++ b/trade_report.py @@ -3,13 +3,14 @@ from database.procedures import backtest_profit, most_recent_trade_date from database.trades import trades symbol = 'SPX' -strategy = '10 Delta Iron Condor' trade_date = most_recent_trade_date() print(f'Trade Date: {trade_date}') trade_data = trades(trade_date) +strategy = trade_data['Strategy'].iloc[0] + traded_entry_times = set() for _, trade in trade_data.iterrows(): entry_time = str(trade["Entry Time"])[-8:]