0

I am using TradingView as reference for EMA.

As of 9th December, EMA 100 for ABB (Indian Exchange) is 2962.25. But when I use pandas ta I get 2965.44.

Similarly, 200 ema should be 2720.93 but I get 2685.57

import yfinance as yf
import pandas_ta as ta

x = yf.download('ABB.NS', start = "2021-12-08", progress = False)['Close']

ema100 = ta.ema(x,100)[-1]
ema200 = ta.ema(x, 200)[-1]
trincot
  • 317,000
  • 35
  • 244
  • 286
chintan s
  • 6,170
  • 16
  • 53
  • 86

0 Answers0