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.
1 parent 6411c7d commit f569f04Copy full SHA for f569f04
backtesting/backtesting.py
@@ -20,6 +20,7 @@
20
21
import numpy as np
22
import pandas as pd
23
+import tqdm
24
from numpy.random import default_rng
25
26
try:
@@ -1252,7 +1253,7 @@ def run(self, **kwargs) -> pd.Series:
1252
1253
# np.nan >= 3 is not invalid; it's False.
1254
with np.errstate(invalid='ignore'):
1255
- for i in range(start, len(self._data)):
1256
+ for i in tqdm.tqdm(range(start, len(self._data))):
1257
# Prepare data and indicators for `next` call
1258
data._set_length(i + 1)
1259
for attr, indicator in indicator_attrs:
0 commit comments