diff --git a/finta/finta.py b/finta/finta.py index 8500bcf..7d74bdb 100644 --- a/finta/finta.py +++ b/finta/finta.py @@ -1505,7 +1505,8 @@ def FISH(cls, ohlc: DataFrame, period: int = 10, adjust: bool = True) -> Series: A signal line which is a previous value of itself is also calculated. """ - from numpy import log + from numpy import log, seterr + seterr(divide='ignore') med = (ohlc["high"] + ohlc["low"]) / 2 ndaylow = med.rolling(window=period).min()