I am currently writing code containing some financial calculations. In particular, some exponential moving average. To do this work, I tried Pandas and Talib:
talib_ex=pd.Series(talib.EMA(self.PriceAdjusted.values,timeperiod=200),self.PriceAdjusted.index) pandas_ex=self.PriceAdjusted.ewm(span=200,adjust=True,min_periods=200-1).mean()
Both of them work fine, but at the beginning of the array they give different results:

So, is there some kind of parameter to change in Pandas EWMA, or is it a mistake, and should I worry?
Thank you in advance
Luke
source share