Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (dBc), 17,435 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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: 28,022
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,022
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