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
3 registered members (VoroneTZ, monk12, Quad), 829 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
Page 1 of 2 1 2
Zorro 1.44 #459228
04/29/16 11:55
04/29/16 11:55
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
A new Zorro version was uploaded:

http://server.conitec.net/down/Zorro_1440.exe

This version contains the new Oanda plugin, markowitz portfolio optimization, machine learning framework, and matrix libary. A description of the new features can be found here:

http://manual.zorro-trader.com/new.htm

Please also read the part about updating your system. This version will stay here for a one-week test and then become the official release if no problem was found.

Subscribers to Zorro S or to a Z system will receive new versions next week.

Re: Zorro 1.44 [Re: jcl] #459253
05/01/16 17:17
05/01/16 17:17
Joined: Nov 2013
Posts: 123
Mithrandir77 Offline
Member
Mithrandir77  Offline
Member

Joined: Nov 2013
Posts: 123
I didn't find this adressed before, I am trying to download history files from majors pairs from a fxcm standard demo account following the procedures on 'Downloading historical M1 price data for a new asset' on http://zorro-trader.com/manual/en/export.htm and the control panel does not open. In the Zorro console it outputs

Code:
Download (oP group) ..
FXCM.dll => FXCM plugin mounted
Login FXCM.. at UTC 01.05. 16:52
Loading EUR/USD prices.. 8880 min, gap 44 h

Trade: Download EUR/USD 01.05.2016
Lookback period (80 bars).



If I try to download with a modified version of the previous Download.c script:

Click to reveal..

Code:
// Update Assets.dta and/or download price history of a certain asset (or all)
// Select the account (Demo/Real) before

//#define ADD_ASSET "BUND"//"Copper"
// uncomment for adding a new asset to Assets.dta

//#define ALL_ASSETS
// uncomment for updating all assets in the loop (otherwise, selected asset only)

//#define PRICE_HISTORY
// uncomment for downloading the price history (otherwise, update Assets.dta only)

#define MAX_GAP 2
// uncomment for checking the price history for 2-days gaps


#define ALL_MAJORS
#define START_DATE_MAJORS 2015//20020101
#define END_DATE_MAJORS 2016

/*
#define ALL_COMMODITIES
#define START_DATE_COMMODITIES 2014//20020101
#define END_DATE_COMMODITIES 2015
*/
/*
#define ALL_EXOTICS
#define START_DATE_EXOTICS 2014//2011
#define END_DATE_EXOTICS 2015
*/
/*
#define ALL_INDICES
#define START_DATE_INDICES 2014//2011
#define END_DATE_INDICES 2015
*/
/*
#define ALL_ENERGIES
#define START_DATE_ENERGIES 2014//2011
#define END_DATE_ENERGIES 2015
*/
/*
#define ALL_METALS
#define START_DATE_METALS 2014//2011
#define END_DATE_METALS 2015
*/
/*
#define ALL_TREASURIES
#define START_DATE_TREASURIES 2014
#define END_DATE_TREASURIES 2015
*/

function run()
{
	if(!is(TRADEMODE)) {
		quit("Click [Trade] to update assets!");
		return;
	}
	
	LookBack = 0;
	StartDate = 2014; // set date for downloading price history
	EndDate = 2015;
	
#ifdef PRICE_HISTORY
#ifdef MAX_GAP	
	GapDays = MAX_GAP;		// detect gaps
#endif
#else	
	NumYears = -1; // don't load prices, only update Assets.dta
#endif

	string name;
#ifdef ADD_ASSET // add single asset
	//static int i = 0;
	name = ADD_ASSET;	
	asset(name);	
	loadHistory(name,1);
	//msg("%d",i);
	//i = i + 1;	
#else
#ifdef ALL_MAJORS
#ifdef START_DATE_MAJORS
	StartDate = START_DATE_MAJORS;	
#endif
#ifdef END_DATE_MAJORS
	EndDate = END_DATE_MAJORS;
#endif
	while(name = loop("EUR/USD","USD/JPY","GBP/USD","USD/CHF"))
		loadHistory(name,1);
#endif
#ifdef ALL_COMMODITIES
#ifdef START_DATE_COMMODITIES
	StartDate = START_DATE_COMMODITIES;
#endif
#ifdef END_DATE_COMMODITIES
	EndDate = END_DATE_COMMODITIES;
#endif
	while(name = loop("AUD/USD","USD/CAD","NZD/USD"))
		loadHistory(name,1);
#endif 
#ifdef ALL_EXOTICS
#ifdef START_DATE_EXOTICS
	StartDate = START_DATE_EXOTICS;
#endif
#ifdef END_DATE_EXOTICS
	EndDate = END_DATE_EXOTICS;
#endif
	while(name = loop(
	"USD/CNH","AUD/CAD","AUD/CHF","AUD/JPY","AUD/NZD","CAD/CHF","CAD/JPY","CHF/JPY","CHF/NOK","CHF/SEK","EUR/AUD","EUR/CAD","EUR/CHF",
	"EUR/CZK","EUR/DKK","EUR/GBP","EUR/HUF","EUR/JPY","EUR/NOK","EUR/NZD","EUR/PLN","EUR/SEK","EUR/TRY","GBP/AUD","GBP/CAD","GBP/CHF",
	"GBP/JPY","GBP/NZD","GBP/SEK","GBP/USD","HKD/JPY","NOK/JPY","NZD/CAD","NZD/CHF","NZD/JPY","SEK/JPY","SGD/JPY","TRY/JPY","USD/CNH",
	"USD/CZK","USD/DKK","USD/HKD","USD/HUF","USD/ILS","USD/MXN","USD/NOK","USD/PLN","USD/RUB","USD/SEK","USD/SGD","USD/TRY","USD/ZAR",
	"ZAR/JPY"))
	loadHistory(name,1);
#endif  
#ifdef ALL_INDICES
#ifdef START_DATE_INDICES
	StartDate = START_DATE_INDICES;
#endif
#ifdef END_DATE_INDICES
	EndDate = END_DATE_INDICES;
#endif
	while(name = loop("US30","SPX500","NAS100","UK100","GER30","ITA40","ESP35","FRA40","HKG33","JPN225","SUI30","AUS200","EUSTX50","USDOLLAR"))
		loadHistory(name,1);
#endif 
#ifdef ALL_ENERGIES
#ifdef START_DATE_ENERGIES
	StartDate = START_DATE_ENERGIES;
#endif
#ifdef END_DATE_ENERGIES
	EndDate = END_DATE_ENERGIES;
#endif
	while(name = loop("USOil","UKOil","NGAS"))
		loadHistory(name,1);
#endif 
#ifdef ALL_METALS
#ifdef START_DATE_METALS
	StartDate = START_DATE_METALS;
#endif
#ifdef END_DATE_METALS
	EndDate = END_DATE_METALS;
#endif
	while(name = loop("XAU/USD","XAG/USD","XPD/USD","XPT/USD","Copper"))
		loadHistory(name,1);
#endif 
#ifdef ALL_TREASURIES
#ifdef START_DATE_TREASURIES
	StartDate = START_DATE_TREASURIES;
#endif
#ifdef END_DATE_TREASURIES
	EndDate = END_DATE_TREASURIES;
#endif
	while(name = loop("BUND"))
		loadHistory(name,1);
#endif 
#ifdef ALL_ASSETS // update all assets	

	while(name = loop(	
	
	//Currencies: (see http://www.fxcm.com/uk/markets/forex/currency-pairs/ and 
						// http://forums.babypips.com/newbie-island/5167-tip-non-correlated-portfolio.html#post17611)
	
	//Majors:
	"EUR/USD","USD/JPY","GBP/USD","USD/CHF"
	,
	//Commodity Pairs: 
	"AUD/USD","USD/CAD","NZD/USD"
	,
	//Exotic Pairs:
	  "AUD/CAD","AUD/CHF","AUD/JPY","AUD/NZD","CAD/CHF","CAD/JPY","CHF/JPY","CHF/NOK","CHF/SEK","EUR/AUD","EUR/CAD","EUR/CHF","EUR/CZK",
	  "EUR/DKK","EUR/GBP","EUR/HUF","EUR/JPY","EUR/NOK","EUR/NZD","EUR/PLN","EUR/SEK","EUR/TRY","GBP/AUD","GBP/CAD","GBP/CHF","GBP/JPY",
	  "GBP/NZD","GBP/SEK","HKD/JPY","NOK/JPY","NZD/CAD","NZD/CHF","NZD/JPY","SEK/JPY","SGD/JPY","TRY/JPY","USD/CNH","USD/CZK","USD/DKK",
	  "USD/HKD","USD/HUF","USD/ILS","USD/MXN","USD/NOK","USD/PLN","USD/RUB","USD/SEK","USD/SGD","USD/TRY","USD/ZAR","ZAR/JPY"	
	,
	
	
	//Indices: (no history previous 2009 in many of them)
	//(ver http://docs.fxcorporate.com/user-guide/ug-cfd-product-guide-ltd-es.pdf 
	//see http://docs.fxcorporate.com/user-guide/ug-cfd-product-guide-ltd-en.pdf)
	//(
	"US30","SPX500","NAS100","UK100","GER30","ITA40","ESP35","FRA40","HKG33","JPN225","SUI30","AUS200","EUSTX50","USDOLLAR"
	,
	//)
	
	//Commodities (no history previous 2009 in many of them)
	//(ver http://docs.fxcorporate.com/user-guide/ug-cfd-product-guide-ltd-es.pdf 
	//see http://docs.fxcorporate.com/user-guide/ug-cfd-product-guide-ltd-en.pdf)
	//(
	//Energy:
	"USOil","UKOil","NGAS"
	,
	//Metals:
	"XAU/USD","XAG/USD","XPD/USD","XPT/USD","Copper"
	//,
	//)
	
	//Treasury
	//(ver http://docs.fxcorporate.com/user-guide/ug-cfd-product-guide-ltd-es.pdf 
	//see http://docs.fxcorporate.com/user-guide/ug-cfd-product-guide-ltd-en.pdf)
	//(
	//"BUND"
	  )

	
	)
	loadHistory(name,1);	
#endif		
#endif
	//if (i == 7)		
		quit("Done!");
	
}




I get

Code:
DownloadALLFXCMASSETS compiling...............
Login FXCM.. at UTC 01.05. 17:05
EUR/USD updated to Assets.csv
USD/JPY updated to Assets.csv
GBP/USD updated to Assets.csv
USD/CHF updated to Assets.csv
Error 047: not enough bars (2 missing)
Done!
Logout.. ok



According to the manual
Quote:

Error 047: Not enough bars

Not enough price bars are available to cover the full LookBack and test period. There can be several reasons: Logging in at a weekend or when the market is closed (...)


But I remember that I have previously downloaded history from FXCM on weekends, another thing that puzzles me is that there isn't any Assets.csv in History folder confused

EDIT: Just looked up 'loadHistory' in the manual but didn't find it -was it deprecated? I didn't get any compile error if so-, instead I found assetHistory(string name, int mode) and I replace loadHistory in the script above with it but it gives the same error.

EDIT2: If I comment #define MAX_GAP 2 -ie not check for gaps- it downloads ok. Is it a bug or am I missing something?

Last edited by Mithrandir77; 05/01/16 18:21.
Re: Zorro 1.44 [Re: jcl] #459254
05/01/16 18:49
05/01/16 18:49
Joined: Apr 2016
Posts: 27
Frankfurt, Germany
M
MIGI Offline
Newbie
MIGI  Offline
Newbie
M

Joined: Apr 2016
Posts: 27
Frankfurt, Germany
I installed Zorro 1.44 as an administrator, but I cannot use it as a default user under windows 7 64-bit.

Re: Zorro 1.44 [Re: MIGI] #459259
05/02/16 10:33
05/02/16 10:33
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Control panel does not open: You probably started the old Download script, not the new one. The old script has no control panel. Delete Download.c from your folder. - assetHistory is the same as loadHistory.

Installed it as administrator: I believe a normal user can not access the administrator folder. You must install it with your user name.

Re: Zorro 1.44 [Re: jcl] #459261
05/02/16 12:35
05/02/16 12:35
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi MIGI. If your objective is to avoid the whole VirtualStore thing, then either

a) Turn off UAC;
b) After install as a normal user, change to Run as Administrator; or
c) Install into a different folder; f.i. "My Program Files (x86)".

HTH.

Re: Zorro 1.44 [Re: jcl] #459262
05/02/16 13:40
05/02/16 13:40
Joined: Nov 2013
Posts: 123
Mithrandir77 Offline
Member
Mithrandir77  Offline
Member

Joined: Nov 2013
Posts: 123
Originally Posted By: jcl
Control panel does not open: You probably started the old Download script, not the new one. The old script has no control panel. Delete Download.c from your folder. - assetHistory is the same as loadHistory.


jcl, I checked but there is no Download.c in the Strategy folder, I have just Download.x and Download.csv. I have Zorro 1.44 installed in the desktop. Moreover if I try to edit the script it says it can't find Download.c.

Attached Files imagen.png
Re: Zorro 1.44 [Re: Mithrandir77] #459263
05/02/16 16:58
05/02/16 16:58
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Ah, ok, thanks. We'll look into that.

Re: Zorro 1.44 [Re: jcl] #459267
05/03/16 08:41
05/03/16 08:41
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
New version:

http://server.conitec.net/down/Zorro_1441.exe

The issue with the missing Download panel was fixed, as well as a small bug in the markowitz function.

Re: Zorro 1.44 [Re: jcl] #459283
05/05/16 01:52
05/05/16 01:52
Joined: Nov 2013
Posts: 123
Mithrandir77 Offline
Member
Mithrandir77  Offline
Member

Joined: Nov 2013
Posts: 123
Thanks a lot!

Re: Zorro 1.44 [Re: Mithrandir77] #459331
05/08/16 20:25
05/08/16 20:25
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi jcl.

It looks from the manual that 1.44 is now the current official release?

Is the link above for 1.44.1 the correct link to use?

Thanks.

Page 1 of 2 1 2

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1