stockstats icon indicating copy to clipboard operation
stockstats copied to clipboard

kdj bug: ZeroDivisionError: float division by zero , if high == low

Open jiabier opened this issue 10 months ago • 1 comments

if high == low (say: high - low == 0.) in a row, df['kdj*'] raises exception: ZeroDivisionError: float division by zero. version: 0.6.2

jiabier avatar Mar 28 '24 06:03 jiabier

Could you share the sample data frame? Just a few records that triggers the error will help.

jealous avatar Jul 06 '24 07:07 jealous