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 (AndrewAMD, Nymphodora, Quad), 923 guests, and 5 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 Beta 1.47 #461085
07/24/16 20:56
07/24/16 20:56
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline OP
User
Sphin  Offline OP
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
Does one have a chance to get 1.47.2? On the download page there is only 1.47.0 available and the currency strength functions seem to fit my new strategy thoughts. laugh

Re: Zorro Beta 1.47 [Re: Sphin] #461089
07/25/16 08:06
07/25/16 08:06
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
I think we'll get a new beta by the end of the week.

Re: Zorro Beta 1.47 [Re: jcl] #461461
08/06/16 18:36
08/06/16 18:36
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline OP
User
Sphin  Offline OP
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
1.47.2:

Get often "Error 030: Check lookback, settings, asset order" when changing BarPeriod. After restart of Zorro it proceeds with normal behaviour.

Re: Zorro Beta 1.47 [Re: Sphin] #461486
08/08/16 08:12
08/08/16 08:12
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Can you check if this also happens with the current beta, 1.47.3? If so, can you post the script for reproducing the problem?

Re: Zorro Beta 1.47 [Re: jcl] #461510
08/08/16 18:52
08/08/16 18:52
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline OP
User
Sphin  Offline OP
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
It also happens with 1.47.3.
Code:
function run() {

 StartDate = 2009;
 EndDate = 2015;
 BarPeriod = 1440;

 asset("EUR/USD");
 var EURUSD = (priceClose() - price()) / priceClose();

 asset("GBP/USD");

 if(EURUSD > 0)
	reverseShort(1);

 if(EURUSD < 0)
	reverseLong(1);

}



Changing BarPeriod causes a 030 error or it crashes completely. After restart Zorro executes the strategy.

Re: Zorro Beta 1.47 [Re: Sphin] #461511
08/08/16 19:03
08/08/16 19:03
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline OP
User
Sphin  Offline OP
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
.bar vs. .t6

I think "loadHistory" is deprecated and "assetHistory" is the new command? Using loadHistory with mode = 1 downloads .t6 now, but all my history files are on .bar and I wanted to use them with the most recent prices - at least until the archives on the download page are available in .t6. Is there a chance to save new downloaded prices in .bar?

Re: Zorro Beta 1.47 [Re: Sphin] #461525
08/09/16 12:22
08/09/16 12:22
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Yes, set History = ".bar" and then the prices are saved in .bar format. - I'll check the Barperiod issue.

Re: Zorro Beta 1.47 [Re: jcl] #461569
08/11/16 12:25
08/11/16 12:25
Joined: Jul 2016
Posts: 2
V
Varanus Offline
Guest
Varanus  Offline
Guest
V

Joined: Jul 2016
Posts: 2
I'm sorry for my reply into this Zorro Beta Test forum but I cannot create a new topic under the Bug Hunt forum probably because of insufficient rights and maybe the issue is valid for Zorro Beta 1.47 as well.

Subject: Probably a bug in processing of the last bar in the run() function.

It seems that the last bar is not processed properly by the run() function. Please try to run the following code:

Code:
function run()
{
    StartDate = 20160101;
    BarPeriod = 1440;
    string AssentName = "A";

    set(LOGFILE);
    
    if(is(INITRUN))
        assetHistory(AssentName,FROM_YAHOO);

    asset(AssentName);

    vars Open = series(priceOpen());
    vars High = series(priceHigh());
    vars Low = series(priceLow());
    vars Close = series(priceClose());
    
    print(TO_LOG," => Open: %f, High: %f, Low: %f, Close: %f",Open[0],High[0],Low[0],Close[0]);
}



The version 1.44.1 produces the log file where there are no values for the last trading day.
The version 1.46 produces the log file where there are values for the last trading day however they are the same as values from the previous day (except the date).

I think, the problem is somewhere in calling of the run() function because once I write one more fictional bar with the date last_trading_date+1 into the <asset_name>.bar file as a workaround, the version 1.44 shows the “hidden” bar from the last trading day correctly.

Re: Zorro Beta 1.47 [Re: Varanus] #461584
08/12/16 12:19
08/12/16 12:19
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Yes, someone had reported some time ago that the last bar of the test period was not included. According to my list, it is included from version 1.47 on, although I have not tested it yet. Just try it and post again when it still does not work.

Re: Zorro Beta 1.47 [Re: jcl] #461633
08/15/16 09:17
08/15/16 09:17
Joined: Jul 2016
Posts: 2
V
Varanus Offline
Guest
Varanus  Offline
Guest
V

Joined: Jul 2016
Posts: 2
I have tested Beta 1.47 and the issue is fixed there. Thanks!

Page 1 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1