Giter Site home page Giter Site logo

google and tse about go-quote HOT 3 OPEN

markcheno avatar markcheno commented on May 25, 2024
google and tse

from go-quote.

Comments (3)

markcheno avatar markcheno commented on May 25, 2024

Unfortunately it looks as if historical TSE data is not supported by google.

See: pydata/pandas-datareader#239

However, it does appear to be on yahoo. The symbol is "xsp.to"

A simple "quote xsp.to" should get you some data. Hope that helps.

from go-quote.

codingtony avatar codingtony commented on May 25, 2024

Hi Mark,

Thanks for the update.

I did the test on google finance because I did some query that were returning different data using yahoo than the yahoo history (using the web).

I run with -adjust=false
(volume and close seems good however)
e.g :

quote -start 2016-09-01 -end 2016-09-30  -adjust=false -outfile=test_xsp.to.csv xsp.to

vs

https://ca.finance.yahoo.com/quote/XSP.TO/history?period1=1472702400&period2=1475208000&interval=1d&filter=history&frequency=1d

Is it possible that somehow the -adjust=false gives weird result for the open / high / low ?
would it be possible to get the adj_close in a different column and not having to play with -adjust ?

from go-quote.

markcheno avatar markcheno commented on May 25, 2024

Unfortunately it seems that the Yahoo data is not longer reliable. They changed the way they were calculating prices and the open/high/low is no longer accurate.

See: http://www.amibroker.com/kb/2017/06/30/wrong-close-price-in-yahoo-data/

In addition, they have been regularly changing their api, apparently trying to prevent people from accessing it. I have stopped using Yahoo data myself and have been using tiingo.com. It is very reasonably priced.

I have not been able to find a reliable reference for calculating the Yahoo correct prices. If you know of any, please let me know and I will try to implement it.

from go-quote.

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.