Skip to content

Commit 1e19f85

Browse files
committed
REF: Fix typo
1 parent 592ea41 commit 1e19f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backtesting/backtesting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def init():
142142
if not is_arraylike or not 1 <= value.ndim <= 2 or value.shape[-1] != len(self._data.Close):
143143
raise ValueError(
144144
'Indicators must return (optionally a tuple of) numpy.arrays of same '
145-
f'length as `data` (data shape: {self._data.Close.shape}; indicator "{name}"'
145+
f'length as `data` (data shape: {self._data.Close.shape}; indicator "{name}" '
146146
f'shape: {getattr(value, "shape" , "")}, returned value: {value})')
147147

148148
if plot and overlay is None and np.issubdtype(value.dtype, np.number):

0 commit comments

Comments
 (0)