diff --git a/trade_report.py b/trade_report.py index 662f2bb..a72436f 100644 --- a/trade_report.py +++ b/trade_report.py @@ -1,7 +1,6 @@ from database.backtest import backtest_results from database.procedures import backtest_profit, most_recent_trade_date from database.trades import trades -from datetime import datetime symbol = 'SPX' strategy = '10 Delta Iron Condor' @@ -49,4 +48,4 @@ for _, backtest in backtest_data.iterrows(): print(f' Backtest Long Strike: {long_leg["Strike"]}, Type: {long_leg["Type"]}') print(f' Backtest Opening Price: {open_price}') -print(f'Backtest Profit: {backtest_profit(datetime.combine(trade_date, datetime.min.time()))}') \ No newline at end of file +print(f'Backtest Profit: {backtest_profit(trade_date)}') \ No newline at end of file