Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Ta-lib RSI Producing wrong values

I am trying to calculate RSI for 10 days period RSI(10, close). I have 20 data points which I pass to the Ta-lib function which gives 10 records as a result. But the resultant values are wrong. I am matching my record with tradingview.com for stock ticker AAPL

How shall I get the correct result which matches tradingview result? My stackoverflow question regarding the same issue as follows.

http://stackoverflow.com/questions/40283182/c-sharp-ms-charting-library-relativestrengthindex-rsi/40284598#40284598