Gamestudio Links
Zorro Links
Newest Posts
How to: plot a frequency spectrum in bars?
by Sempervirens. 05/12/21 02:45
Backtest accuracy
by AndrewAMD. 05/12/21 00:26
Test one asset with more bar period in one run
by AndrewAMD. 05/12/21 00:22
System with more take profit
by AndrewAMD. 05/12/21 00:20
EXANTE broker
by madpower2000. 05/11/21 17:02
No Trades when Backtesting Period is longer
by TimmiHendrix. 05/11/21 15:47
Last Candle for Testing and Train?
by jcl. 05/11/21 12:14
DataSplit for Advise
by TimmiHendrix. 05/11/21 10:40
AUM Magazine
Latest Screens
Hecknex World
Scheherazade's Journey
Paradox Vector
The Space Between
Who's Online Now
3 registered members (AndrewAMD, Sempervirens, jyd), 470 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ShadowAx, TimmiHendrix, contactmmfx, msupl7, Robert_
18644 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 5 1 2 3 4 5
New Zorro version 2.35 #482306
01/27/21 09:17
01/27/21 09:17
Joined: Jul 2000
Posts: 27,493
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,493
Frankfurt
Zorro 2.35 is now available:

http://opserver.de/down/Zorro_235.exe

This version will become the official release when no bugs are found in the next time. New features: external optimization libraries, faster backtest, multi-account status script, new broker and data feed plugins. and a lot other new features. The full list can be found on http://manual.zorro-project.com/new.htm.

Please test everything and report any issues here! If you're the first one to find a serious bug of this release candidate, you can get a free Zorro S subscription or support extension. Details on https://manual.zorro-project.com/restrictions.htm.


Re: New Zorro version 2.35 [Re: jcl] #482314
01/27/21 13:07
01/27/21 13:07
Joined: May 2015
Posts: 379
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 379
Czech Republic
Code
string GetDT240(){
    int h=hour()-hour()%4;
	 printf("\n hour: %d  now: %d",hour(),h);
    return strf("%04d-%02d-%02d %02d:00", year(),month(),day(),h);
}


// --------------------------- Main-----------------------------
function main() {
    
	printf("\n %s",GetDT240()); 
}


returns this output:


test compiling................ ok

hour: 0 now: 0
0000-00-00 00:00

this is the same:
Code
function run() {
        BarPeriod=1;    
	LookBack=0;
	printf("\n %s",GetDT240()); 
	quit("");
}


for correct fce must be:
Code
string GetDT240(){
    int h=hour(NOW)-hour(NOW)%4;
	 printf("\n hour: %d  now: %d",hour(NOW),h);
    return strf("%04d-%02d-%02d %02d:00", year(NOW),month(NOW),day(NOW),h);
}


...manual..

Last edited by Grat; 01/27/21 13:16.
Re: New Zorro version 2.35 [Re: jcl] #482315
01/27/21 13:40
01/27/21 13:40
Joined: Jul 2000
Posts: 27,493
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,493
Frankfurt
Yes: manual.

Re: New Zorro version 2.35 [Re: jcl] #482327
01/28/21 13:16
01/28/21 13:16
Joined: May 2015
Posts: 379
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 379
Czech Republic
but I found the seriously bug - not work the CLI command. With "-a USD/CAD" every time run last symbol which I trying.

see the attch. This is screenshot which I start, but run every time the same symbol.

[Linked Image]


Attached Files Snímek obrazovky 2021-01-28 v 14.14.20.pngSnímek obrazovky 2021-01-28 v 14.23.45.png
Last edited by Grat; 01/28/21 13:26.
Re: New Zorro version 2.35 [Re: jcl] #482328
01/28/21 13:37
01/28/21 13:37
Joined: Jul 2000
Posts: 27,493
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,493
Frankfurt
Can you post the begin of the script? Does it use an asset or assetlist function?

Re: New Zorro version 2.35 [Re: jcl] #482329
01/28/21 14:04
01/28/21 14:04
Joined: May 2015
Posts: 379
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 379
Czech Republic
with older version is work.
I dont use asset only assetlist:

assetList("Assets4");

How to reproduce:

a) start Zorro client - and start trade with any symbol
b) close / is not neccessary /
c) start client from command line - with other symbol. Client start with last symbol from point a)

Attached Files
Assets4.csv (38 downloads)
Last edited by Grat; 01/28/21 14:09.
Re: New Zorro version 2.35 [Re: jcl] #482354
01/29/21 12:57
01/29/21 12:57
Joined: Jul 2000
Posts: 27,493
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,493
Frankfurt
Thanks. We'll check that and if there's a bug with the -a option, it will be fixed.

Update: We cannot confirm that. All fine so far with -a. So if you can't find the reason of the problem, please contact Support with your script. It could be some other setting. They'll look into it.

Last edited by jcl; 01/29/21 14:27.
Re: New Zorro version 2.35 [Re: jcl] #482359
01/29/21 14:11
01/29/21 14:11
Joined: Jul 2000
Posts: 27,493
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,493
Frankfurt
I see only some printed dates - what exactly is wrong?

Re: New Zorro version 2.35 [Re: jcl] #482361
01/29/21 14:20
01/29/21 14:20
Joined: May 2015
Posts: 379
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 379
Czech Republic
Sorry, it's Friday - my fault, I delete this

Re: New Zorro version 2.35 [Re: jcl] #482383
01/31/21 19:55
01/31/21 19:55
Joined: May 2015
Posts: 379
Czech Republic
G
Grat Offline
Senior Member
Grat  Offline
Senior Member
G

Joined: May 2015
Posts: 379
Czech Republic
Maybe next bug?

I have Test from 2020/04/01 to today ( last data friday ) and in the report:

Code
Test period         2020-04-01..2021-01-29 (19500 bars), detrended <-- OK
Year Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Total
2020               9   9   7  -1   8  18  -1   8  12   +93


where is year 2021? In the LOG file exist:
Code
[24003: Thu 21-01-28 15:30] 2306 0 274/135  (1.21367)
[24004: Thu 21-01-28 15:45] 2306 0 274/135  (1.21331)
[24005: Thu 21-01-28 16:00] 2306 0 274/135  (1.21223)
[24006: Thu 21-01-28 16:15] 2306 0 274/135  (1.21239)
[24007: Thu 21-01-28 16:30] 2306 0 274/135  (1.21267)
(EUR/USD:total:s) Short 5@1.21227 Entry stop
(EUR/USD:total:s) Entry stop 1.21227 hit by 1.21202 at 16:30:00
(EUR/USD:total:S) Short 5@1.21227 Entry stop
(EUR/USD:total:s) Entry 1.2118 removed (exit)

[24008: Thu 21-01-28 16:45] 2306 0 274/135  (1.21204)
(EUR/USD:total:S) Entry stop 1.21227 hit by 1.21192 at 16:45:00
[EUR/USD:total:S00941] Short 5@1.21214 Risk 42 px at 16:45:00

Page 1 of 5 1 2 3 4 5

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