Better comment, use -inf as startup min

mxmn_from_m4
Tyler Goodlet 2022-06-26 10:41:21 -04:00
parent 920a394539
commit 783914c7fe
1 changed files with 2 additions and 1 deletions

View File

@ -314,7 +314,8 @@ def _m4(
# set all y-values to the first value passed in.
y_out[bincount] = ys[0]
mx: float = 0
# full input y-data mx and mn
mx: float = -np.inf
mn: float = np.inf
# compute OHLC style max / min values per window sized x-frame.