TA-Lib / ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).
http://ta-lib.github.io/ta-lib-python
Other
9.24k stars 1.72k forks source link

Is there a limit on the number of number on the size of close series? #611

Closed darwin403 closed 10 months ago

darwin403 commented 10 months ago

I have something like:

df = my.get_tradingsymbol_candles("RAMCOCEM", minutes=30) # around 30,000 candles
df["ema"] = talib.EMA(df_icici["close"], timeperiod=10)

After around 22,000 all the EMA values in the column are NaN. Does talib impose any inherent limit on the size of input array? If so, how to get around this?

darwin403 commented 10 months ago

Yeah, something silly on my end sorry. As you can see df and df_icici are different dataframes and hence the mismatch. There doesn't seem to be any limitations on the size of input data series for my data.