Gamestudio Links
Zorro Links
Newest Posts
Building Diversified Portfolios - New Paper
by SnoopySniff. 10/18/19 16:23
Indices & metals easier to trade than FX???
by SnoopySniff. 10/18/19 10:08
Today real live account blown - my experience
by SnoopySniff. 10/18/19 09:55
What are you working on?
by txesmi. 10/17/19 07:00
Ducascopy exporter
by line7. 10/17/19 06:21
How to install R ?
by AndrewAMD. 10/17/19 00:56
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
10 registered members (JohnJits, SchokoKeks, Dalla, AndrewAMD, Iglarion, Dooley, painkiller, ugofx, SnoopySniff, 1 invisible), 570 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
VillageTalkies, line7, Shutch, Clifford_B, Paulius
18310 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 8 1 2 3 4 5 6 7 8
Yahoo has changed their protocol #465333
04/18/17 14:17
04/18/17 14:17
Joined: Jul 2000
Posts: 27,029
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,029
Frankfurt
We got several complaints today that downloading data from Yahoo does not work anymore. The reason is that Yahoo switched their servers to a new HTTPS protocol last weekend.

We've just uploaded a new beta version, 1.56.4, which downloads Yahoo data with the new protocol. You can get it from http://opserver.de/down/ZorrroBeta.zip.

Alternatively, you can still use your old version, but download Yahoo data from Quandl, f.i. assetHistory("YAHOO/AAPL",FROM_QUANDL);
You must register at Quandl for getting a Quandl key. Also, Quandl does support Stocks, but not all ETFs in their Yahoo database.

Update: For downloading all the Z8 assets with the beta version, you can use a small script like this:

Code:
void main()
{
	assetList("AssetsZ8");
	while(asset(loop(Assets)))
		assetHistory(Asset,FROM_YAHOO);
}


Re: Yahoo has changed their protocol [Re: jcl] #465664
05/08/17 21:40
05/08/17 21:40
Joined: Mar 2015
Posts: 25
J
jmb Offline
Newbie
jmb  Offline
Newbie
J

Joined: Mar 2015
Posts: 25
It seems that some other things have changed at IB.

The Zorro manual states (or it did last time I looked) that you need to be subscribed to "US Value Bundle PLUS" data subscription for Z8.

To make this work, I found I needed these:
- AMEX (Network B/CTA)
- NASDAQ (Network C/UTP)

I cancelled my entry for "US Value Bundle PLUS".

Re: Yahoo has changed their protocol [Re: jmb] #465896
05/17/17 01:02
05/17/17 01:02
Joined: Jan 2017
Posts: 64
J
Jeff1228 Offline
Junior Member
Jeff1228  Offline
Junior Member
J

Joined: Jan 2017
Posts: 64
Still have some problems downloading from Yahoo.

I tested the Heatmap script built-in Zorro. I tried both V1.56 and V1.58, both of them carshed like below:

Heatmap compiling..............
Bad date format - can't parse Historyhistory.csv
0 AEIS bars read
0 AMAT bars read
More assets..
0 AMD bars read
Time 00:01:06
Error 111: Crash in script
Time 00:01:06

What did I do wrong?

By the way, does the data from Yahoo have volume information? What's the right function to get the volume info.

Thank you

Jeff

Re: Yahoo has changed their protocol [Re: Jeff1228] #465901
05/17/17 08:15
05/17/17 08:15
Joined: Jul 2000
Posts: 27,029
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,029
Frankfurt
Yes, Yahoo data has volume info. Or had, at least - look into the "history.csv" with a HTML browser and you'll get the answer for the new download problems. frown

Re: Yahoo has changed their protocol [Re: jcl] #465905
05/17/17 09:07
05/17/17 09:07
Joined: Jan 2017
Posts: 64
J
Jeff1228 Offline
Junior Member
Jeff1228  Offline
Junior Member
J

Joined: Jan 2017
Posts: 64
IE and Chrome can't open it.

Which is the function to get volume info? Like I use priceClose(0) for the close price.

Thank you

Jeff

Re: Yahoo has changed their protocol [Re: Jeff1228] #465907
05/17/17 09:47
05/17/17 09:47
Joined: Jan 2017
Posts: 64
J
Jeff1228 Offline
Junior Member
Jeff1228  Offline
Junior Member
J

Joined: Jan 2017
Posts: 64
"history.csv" comes with Zorro, I didn't modify it, It should have been working.

Jeff

Last edited by Jeff1228; 05/17/17 10:48.
Re: Yahoo has changed their protocol [Re: Jeff1228] #465913
05/17/17 11:25
05/17/17 11:25
Joined: Jul 2000
Posts: 27,029
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,029
Frankfurt
Had you managed to open it with your browser, you had seen this message:

Yahoo
Will be right back...
Thank you for your patience.
Our engineers are working quickly to resolve the issue.


Re: Yahoo has changed their protocol [Re: jcl] #465924
05/18/17 01:05
05/18/17 01:05
Joined: Jan 2017
Posts: 64
J
Jeff1228 Offline
Junior Member
Jeff1228  Offline
Junior Member
J

Joined: Jan 2017
Posts: 64
No, I tried both IE and Chrome, didn't work out. I asked one of my friend tried, not either. Which browser do you use?

Jeff

Re: Yahoo has changed their protocol [Re: Jeff1228] #465930
05/18/17 06:47
05/18/17 06:47
Joined: Jul 2015
Posts: 8
J
Jens Offline
Newbie
Jens  Offline
Newbie
J

Joined: Jul 2015
Posts: 8
Jeff, you have to rename the "history.csv" to "history.html" in order to open it in Chrome or IE.

Re: Yahoo has changed their protocol [Re: Jens] #465934
05/18/17 08:06
05/18/17 08:06
Joined: Jul 2000
Posts: 27,029
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,029
Frankfurt
I have been informed meanwhile that it's unlikely that the "Yahoo engineers" will fix it in the next time.

We'll have to look for an alternative to Yahoo for ETF prices via API. Unfortunately, all I found so far is not free.

Page 1 of 8 1 2 3 4 5 6 7 8

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1