Remove unnecessary print statement
This commit is contained in:
parent
b4a79cf3aa
commit
6726cfc2c2
@ -7,7 +7,6 @@ def best_entry_times(date: datetime = datetime.now(), days_to_look_back: int = 1
|
|||||||
start_date = end_date - timedelta(days = days_to_look_back)
|
start_date = end_date - timedelta(days = days_to_look_back)
|
||||||
|
|
||||||
backtest = backtest_results('SPX', '10 Delta Iron Condor', start_date = start_date, end_date = end_date)
|
backtest = backtest_results('SPX', '10 Delta Iron Condor', start_date = start_date, end_date = end_date)
|
||||||
print(backtest)
|
|
||||||
backtest['Entry Time'] = backtest['Entry Time'].dt.time
|
backtest['Entry Time'] = backtest['Entry Time'].dt.time
|
||||||
|
|
||||||
profit_by_entry_time = backtest.groupby('Entry Time')['Profit'].sum().reset_index()
|
profit_by_entry_time = backtest.groupby('Entry Time')['Profit'].sum().reset_index()
|
||||||
|
Loading…
Reference in New Issue
Block a user