Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Nymphodora, AndrewAMD, TipmyPip, Quad, Imhotep), 847 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
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: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
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