Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, alibaba), 1,184 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
PRELOAD with quandl #465545
05/03/17 04:49
05/03/17 04:49
Joined: Nov 2016
Posts: 103
NSW
V
vinsom Offline OP
Member
vinsom  Offline OP
Member
V

Joined: Nov 2016
Posts: 103
NSW

Hi,
As YAHOO data download is not working with v1.54 i was trying to use QUANDL.
The issue I'm facing is that the PRELOAD setting doesn't seem to work with QUANDL. Please see code below give price history missing even if data is downloaded from quandl.

As also as another user mentioned Z8 is not working too for the YAHOO issue, would it be possible to patch v1.54 to work with yahoo ?

Thanks
Vincenzo



function run()
{

BarPeriod = 1440;
BarZone = ET;
BarOffset = 10*60; // trade at 10 am Eastern time. BarOffset determines the UTC minute into the day when the candle opens
LookBack = 50;

StartDate = 2011;


set(PRELOAD);

asset("MSFT");

if(is(INITRUN))
{
char ticker[30];
strcpy(ticker,"WIKI/");
strcat(ticker,Asset);
printf("n ticker %s",ticker);

//if(is(Test))
dataDownload(ticker,FROM_QUANDL,1440);
//assetHistory(Names[N],FROM_YAHOO);
//else
//dataDownload(ticker,FROM_QUANDL|1,0);
}

}

Re: PRELOAD with quandl [Re: vinsom] #465596
05/05/17 13:32
05/05/17 13:32
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
PRELOAD is a flag for using preloaded history when live trading. It has nothing to do with Yahoo or Quandl. You can use data from any source.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1