Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 827 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
dataFromQuandl stopped working #481999
12/03/20 17:47
12/03/20 17:47
Joined: Jan 2020
Posts: 4
P
pablomfz Offline OP
Guest
pablomfz  Offline OP
Guest
P

Joined: Jan 2020
Posts: 4
Hi,

I have multiple scripts to download some data from Quandl and all of them stopped working with the same error:

Error 058: Bad date for 'QECx02,You' in CFTC-TIFF_CME_SP_ALL

Here is the simple script:

Quote

#include <contract.c>

// COT report for S&P500
var CFTC_SP(int Column) {
return dataFromQuandl(802,"%Y-%m-%d,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f","CFTC/TIFF_CME_SP_ALL",Column);
}


void main()
{
if(!is(SPONSORED))
{
printf("Need Zorro S this strategy!");
return;
}
}

function run()
{
StartDate = 2019;
EndDate = 2020;
BarPeriod = 1440; //Daily
LookBack = 12*20;
set(PLOTNOW);

var mydata = CFTC_SP(2);
}


Also all the examples in the zorro documentation using dataFromQuandl does not work. Could you fix it please?

Thank you!


Last edited by pablomfz; 12/03/20 18:43.
Re: dataFromQuandl stopped working [Re: pablomfz] #482002
12/04/20 17:03
12/04/20 17:03
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Is your Quandl key correct?

Re: dataFromQuandl stopped working [Re: jcl] #482011
12/05/20 18:09
12/05/20 18:09
Joined: Jan 2020
Posts: 4
P
pablomfz Offline OP
Guest
pablomfz  Offline OP
Guest
P

Joined: Jan 2020
Posts: 4
Originally Posted by jcl
Is your Quandl key correct?

Yes, I can download data from Quantdl using the API key without any issue. Also the assethistory command works with the same API key but the dataFromQuandl command gives me always the same error "Bad date"

Re: dataFromQuandl stopped working [Re: pablomfz] #482175
01/05/21 15:17
01/05/21 15:17
Joined: Apr 2008
Posts: 586
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 586
Austria
Maybe they have changed the date format, have you checked the date in the csv?


Moderated by  Petra 

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