-
-
Notifications
You must be signed in to change notification settings - Fork 17
Description
new_bar_idx = new_index.get_loc(mean_time, method='nearest')
/usr/local/lib/python3.10/dist-packages/backtesting/_plotting.py:148: FutureWarning: Passing method to Int64Index.get_loc is deprecated and will raise in a future version. Use index.get_indexer([item], method=...) instead.
new_bar_idx = new_index.get_loc(mean_time, method='nearest')
/usr/local/lib/python3.10/dist-packages/backtesting/_plotting.py:148: FutureWarning: Passing method to Int64Index.get_loc is deprecated and will raise in a future version. Use index.get_indexer([item], method=...) instead.
new_bar_idx = new_index.get_loc(mean_time, method='nearest')
/usr/local/lib/python3.10/dist-packages/backtesting/_plotting.py:148: FutureWarning: Passing method to Int64Index.get_loc is deprecated and will raise in a future version. Use index.get_indexer([item], method=...) instead.
new_bar_idx = new_index.get_loc(mean_time, method='nearest')
/usr/local/lib/python3.10/dist-packages/backtesting/_plotting.py:148: FutureWarning: Passing method to Int64Index.get_loc is deprecated and will raise in a future version. Use index.get_indexer([item], method=...) instead.
new_bar_idx = new_index.get_loc(mean_time, method='nearest')
/usr/local/lib/python3.10/dist-packages/backtesting/_plotting.py:148: FutureWarning: Passing method to Int64Index.get_loc is deprecated and will raise in a future version. Use index.get_indexer([item], method=...) instead.
new_bar_idx = new_index.get_loc(mean_time, method='nearest')
Backtest strategy ema_cross_with_market_phases - LQTYUSDT - 1h - End
Execution Time: 1m 18s
Backtest strategy ema_cross_with_market_phases - RSRUSDT - 1d - Start
Strategy = ema_cross_with_market_phases
n1 = 80
n2 = 130
Return [%] = 253.88
Buy & Hold Return [%] = -41.67
Backtest start date = 2020-08-27 00:00:00
Backtest end date = 2024-12-26 00:00:00
Backtest strategy ema_cross_with_market_phases - RSRUSDT - 1d - End
Execution Time: 6s