GithubHelp home page GithubHelp logo

Comments (4)

DaveSkender avatar DaveSkender commented on June 9, 2024 1

Oh, it’s a good idea to compare to other libraries, it’s really your only way to double check that everything’s okay. Some of them are not good sources of truth, is the only point I was making.

My guess is that there’s a slight variance between the raw quote data sources you’re comparing. Are you able to get the raw data from each of these sources to compare equivalency? Some of them may use dividend adjusted prices, Yahoo might have a separate adjusted price too.

from stock.indicators.

Callightman avatar Callightman commented on June 9, 2024 1

After getting raw data from tw problem seems to be with the Yahoo adjusted data. Thanks for your help

from stock.indicators.

DaveSkender avatar DaveSkender commented on June 9, 2024

Check to make sure you're using enough historical data to exceed the normal warmup and convergence periods for Relative Strength Index (RSI). It's a common problem that is misunderstood that can be extra frustrating when comparing to other potentially faulty platforms.

Warning
For RSI, the first 10×N periods will have decreasing magnitude, convergence-related precision errors that can be as high as ~5% deviation in indicator values for earlier periods.

Review this additional information and see if it can explain what you're seeing. If you still believe there's something wrong with this library, please provide more specific information to allow us to narrow down the source or to reproduce the error.

from stock.indicators.

Callightman avatar Callightman commented on June 9, 2024

Sorry for misunderstanding i did not mean to compare you with other libraries it was just to double check.

I am sure there is enough historical data as i have tried remove warmup periods which did not have any effect.
With the attached file when i use getrsi it calculates rsi as "52.5963803620636" . Close is the last coloumn.

aksen.csv

And here are the results from other sources. It should be 56.

aksen

aksent

aksenf

from stock.indicators.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.