Historical Prices

Spartaniz

Expert Member
Joined
Oct 7, 2008
Messages
1,256
Hi Guys

I've been playing around with python, pandas and scikit, and cannot find a reliable provider of historical prices. Both Google and Yahoo are lacking as well. I've had a look at ig.com's API, and have no idea how to use it to pull historical prices.

Anyone have any suggestions?

thanks!
 

Thor

Honorary Master
Joined
Jun 5, 2014
Messages
44,236
Google works perfectly fine. You just need to decipher the API ;)
 

HavocXphere

Honorary Master
Joined
Oct 19, 2007
Messages
33,155
Probably easier to pay a data provider the 100 odd bucks and get it all in nice Excel format.
 

Spartaniz

Expert Member
Joined
Oct 7, 2008
Messages
1,256
Google works perfectly fine. You just need to decipher the API ;)


I used BS4 to grab ticker details of all the shares on the JSE from wikipedia.

Using the ticker info, I used Panda's DataReader to pull the info from Google's database.

I found most of data on google, but google does not have info for a lot of companies, including Steinhoff and BAT.

Do you have any suggestions? Maybe (probably) I'm doing something wrong on my side.
 

HavocXphere

Honorary Master
Joined
Oct 19, 2007
Messages
33,155
I though about doing that - Use ShareData or something or someone else. Do you have any suggestions?
Don't have any personal experience with it, but should work.

I just pulled the data off my bank's site. But that's ticker by ticker.
 

Thor

Honorary Master
Joined
Jun 5, 2014
Messages
44,236
I used BS4 to grab ticker details of all the shares on the JSE from wikipedia.

Using the ticker info, I used Panda's DataReader to pull the info from Google's database.

I found most of data on google, but google does not have info for a lot of companies, including Steinhoff and BAT.

Do you have any suggestions? Maybe (probably) I'm doing something wrong on my side.
It has information on both.

Just use php it's very easy I had a thread on here a while back where I explained the API and how to get information.

But do note its against the JSE's policies so they can fine you heavily if you use data without a license.

Contact PDSNET.co.za
 
Top