Comments (3)
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.
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
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.
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)
- Can you add proxy and timeout for API? HOT 1
- Recommendation: Add adjusted data **besides** orginal data into the output HOT 1
- Reading From CSV files into quote object causes error
- Why i can't get hourly quotes? HOT 1
- Please improve docs. HOT 2
- Getting segfaults that shouldn't happen (I think) HOT 4
- While installing CLI quote, Bitdefender throws a virus detected error HOT 2
- No data from quote.NewQuoteFromGoogle() HOT 3
- Port library to go modules
- gitignore .vscode directory HOT 1
- Google functionality failing HOT 1
- README CLI Examples section has a typo HOT 1
- README.md error: "main.go:353: invalid market HOT 2
- Error: "main.go:353: invalid market" HOT 1
- coinmarketcap data via yahoo finance HOT 1
- runtime error:quote: 2022/05/17 10:39:30 quote.go:566: bad data for symbol 'spy'
- README Library example broken HOT 1
- [Feature suggestions] VWAP & trade count for binance data HOT 1
- Running quote CLI command on Pi 3 returns word in quotes HOT 3
- QuoteFromCSV ignores last data HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-quote.