Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (SBGuy), 652 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to test my code with other pairs of currency? #469800
12/09/17 00:51
12/09/17 00:51
Joined: Dec 2017
Posts: 42
Mongolia
T
Tuguldur717 Offline OP
Newbie
Tuguldur717  Offline OP
Newbie
T

Joined: Dec 2017
Posts: 42
Mongolia
Hello all. I have a question. I wrote a code. I tested it on USD/JPY. But there is an error on other pairs of currency. Error was "USD/CHF price history missing". How can i fix this problem?

Re: How to test my code with other pairs of currency? [Re: Tuguldur717] #469804
12/09/17 06:07
12/09/17 06:07
Joined: Nov 2017
Posts: 8
BaWü / KA
L
Lobo Offline
Newbie
Lobo  Offline
Newbie
L

Joined: Nov 2017
Posts: 8
BaWü / KA
Good morning :-) , you will have to download historical data into your Zorro installation .

You will find historical data here : http://zorro-project.com/download.php

Please take advantage of the Zorro Online Manual here : http://www.zorro-trader.com/manual/

For example , if you review workshop 6 ( see the png attached for you ) you will find more information re multiple assets and how to work them .

Hope helps , best wishes for a relaxing weekend

Wolfgang

Attached Files MultipleAsset.png

Do not trade alone & Never Give Up
Re: How to test my code with other pairs of currency? [Re: Lobo] #469848
12/11/17 13:11
12/11/17 13:11
Joined: Dec 2017
Posts: 42
Mongolia
T
Tuguldur717 Offline OP
Newbie
Tuguldur717  Offline OP
Newbie
T

Joined: Dec 2017
Posts: 42
Mongolia
Thank for help. But there is only few pairs of currency with t1 format. I need many pairs of currency with t6 format. Could you help me?

Re: How to test my code with other pairs of currency? [Re: Tuguldur717] #470154
12/29/17 10:22
12/29/17 10:22
Joined: Dec 2017
Posts: 3
Ceuta
T
TerRaki0 Offline
Guest
TerRaki0  Offline
Guest
T

Joined: Dec 2017
Posts: 3
Ceuta
Hi,
in my case, I have connected to my account fxcm and traded this script
Code:
function main()
{
  NumYears = 6;     // download up to 6 years data 
assetHistory("NZD/USD",1);
assetHistory("AUD/USD",1);
assetHistory("GBP/USD",1);
assetHistory("XAG/USD",1);
assetHistory("XAU/USD",1);
assetHistory("USD/CAD",1);  
assetHistory("USD/CHF",1);
assetHistory("USD/JPY",1);
assetHistory("EUR/CHF",1);
assetHistory("EUR/JPY",1);
assetHistory("GER30",1);
assetHistory("NAS100",1);
assetHistory("SPX500",1);
assetHistory("UK100",1);
assetHistory("US30",1);
}


and i get the 6 years history for all the assets listed.
good luck

Re: How to test my code with other pairs of currency? [Re: TerRaki0] #470240
01/04/18 13:29
01/04/18 13:29
Joined: Dec 2017
Posts: 42
Mongolia
T
Tuguldur717 Offline OP
Newbie
Tuguldur717  Offline OP
Newbie
T

Joined: Dec 2017
Posts: 42
Mongolia
Hey your code downloaded data in 2018. I need 6 years historic data? Could you help me?

Re: How to test my code with other pairs of currency? [Re: Tuguldur717] #470279
01/06/18 13:22
01/06/18 13:22
Joined: Dec 2017
Posts: 3
Ceuta
T
TerRaki0 Offline
Guest
TerRaki0  Offline
Guest
T

Joined: Dec 2017
Posts: 3
Ceuta
If only you downloaded 2018 data it's because you already have the other years and you've only updated them, I think.

Re: How to test my code with other pairs of currency? [Re: TerRaki0] #470581
01/23/18 05:15
01/23/18 05:15
Joined: Dec 2017
Posts: 42
Mongolia
T
Tuguldur717 Offline OP
Newbie
Tuguldur717  Offline OP
Newbie
T

Joined: Dec 2017
Posts: 42
Mongolia
Hey i used your code at NZDUSD. but it couldn't download fully. Only 3 days data of 2017 year was downloaded. I need 365 days of 2017 year data. Could you help me?


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1