We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
plot(resample=)
1 parent e2fdfd7 commit 431644fCopy full SHA for 431644f
backtesting/_plotting.py
@@ -93,7 +93,7 @@ def _maybe_resample_data(resample_rule, df, indicators, equity_data, trades):
93
if isinstance(resample_rule, str):
94
freq = resample_rule
95
else:
96
- if len(df) < _MAX_CANDLES:
+ if len(df) <= _MAX_CANDLES:
97
return df, indicators, equity_data, trades
98
99
from_index = dict(day=-2, hour=-6, minute=1, second=0, millisecond=0,
0 commit comments