PRELOAD with quandl

Posted By: vinsom

PRELOAD with quandl - 05/03/17 04:49


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);
}

}
Posted By: jcl

Re: PRELOAD with quandl - 05/05/17 13:32

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.
© 2024 lite-C Forums