Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (sleakz, AndrewAMD), 684 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 5 of 7 1 2 3 4 5 6 7
Re: New Zorro version 2.40.3 [Re: jcl] #483894
08/11/21 12:53
08/11/21 12:53
Joined: Feb 2021
Posts: 19
C
CpOo Offline
Newbie
CpOo  Offline
Newbie
C

Joined: Feb 2021
Posts: 19
Hi,

Can confirm that in the 2.40.3 version installation the Binance Futures Plugin is missing. I understand that it's possible to copy the dll from the 2.41.1 to the 2.40.3 without any problem, right?

BTW: 2.41.1b is still not fixed with the latest reported issues, 2.40.3 is.

Last edited by CpOo; 08/11/21 13:01.
Re: New Zorro version 2.40.3 [Re: jcl] #483896
08/12/21 08:21
08/12/21 08:21
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
I cannot confirm any missing plugins, but I can confirm that 2.41.1 beta corresponds to the old 2.40.1 release. There will be a new beta in the next days.

Re: New Zorro version 2.40.3 [Re: jcl] #483907
08/13/21 09:12
08/13/21 09:12
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
New version: 2.40.4.

Changes: Default outlier detection is now less sensitive. And after many discussions, we have now moved tick and tock from the start to the end of the bar when no TICKS flag is set. This makes close price and timestamp match. It TICKS is set, or in trade mode, the behavior is as before.

Re: New Zorro version 2.40.3 [Re: jcl] #483911
08/13/21 16:50
08/13/21 16:50
Joined: May 2018
Posts: 134
S
SBGuy Offline
Member
SBGuy  Offline
Member
S

Joined: May 2018
Posts: 134
Hi jcl,

Thanks for the tick/tock time fix. I can confirm that tick/tock does in fact run at the end of the bar in v2.40.4

However, the tmf that execute before the run() is still running at the beginning of the bar. This difference between v2.35 and v2.40 causes meaningfully significant difference in backtest results.

In 2.40.4, the execution sequence looks like this:
tmf [timestamp = bar begin]
tick [timestamp = bar END]
tock [ timestamp = bar END]
run [timestamp = bar END]

I believe the TMF in this group should also execute at a timestamp=bar END, and with this sequence

tick [timestamp = bar END]
tock [ timestamp = bar END]
tmf [timestamp = bar END]
run [timestamp = bar END]

Basically tmf should run AFTER tick/tock, like v 2.35

Hope you agree.

Thanks.

Re: New Zorro version 2.40.3 [Re: jcl] #483915
08/14/21 10:58
08/14/21 10:58
Joined: Feb 2021
Posts: 19
C
CpOo Offline
Newbie
CpOo  Offline
Newbie
C

Joined: Feb 2021
Posts: 19
Thanks for the new fixed version.

Binance Futures plugin is not missing this time and it seems that it's updated from 1.0.2.6 to 1.0.2.7, but couldn't find if there are any important changes.

BTW: May I claim a perpetual license due to my report? blush

Re: New Zorro version 2.40.3 [Re: jcl] #483918
08/14/21 12:47
08/14/21 12:47
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
1.0.2.7 was just a minor bug fix.

Re: New Zorro version 2.40.3 [Re: jcl] #483936
08/16/21 07:18
08/16/21 07:18
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
There is no execution sequence for TMFs. They are triggered by ticks, entry, stop, and other events, and run when that event happens. In case of ticks they run at the same time as the tick function.

Re: New Zorro version 2.40.3 [Re: jcl] #483945
08/16/21 15:34
08/16/21 15:34
Joined: May 2018
Posts: 134
S
SBGuy Offline
Member
SBGuy  Offline
Member
S

Joined: May 2018
Posts: 134
The TMF below executes immediately before the upcoming run(), after getting the latest tick price.

As you can see, it ran before tick and TOCK. As a result it doesn't get the options chain for time 1840 that was loaded in TOCK.

What I am suggesting is that instead of this execution sequence:
TMF, tick, TOCK, run

It should be this, just like 2.35 and before.
tick, TOCK, TMF, run

I don't think making this change will cause any internal Zorro issues at all. In fact, I think it'll make it better for all TMF events:
tick, TOCK, TMF event....

From v.2.40.4
Code

[1840] INSIDE myTMF[489449]: priceClose(0)=3816.59 
2021-03-05,Call,20210308,3810.0,3815.3,32.60,32.10,0.529,773,
ContractBid[32.10]  ContractAsk[32.60]  TradeStopLimit[27.75]

[4895: 1840] tick priceClose[3816.59]

[4895: 1840] TOCK -- [SPX] Loading chain... 
[4895: 1840] TOCK priceClose[3816.59] -- [C:\Zorro\History\SPX-Options\\SPX_202103_m1.t8] 600 contracts loaded...

[4895: Fri 21-03-05 18:40] 860 -1912 5/4 3815.25/3816.59\3815.09/3816.59 -0.01




Last edited by SBGuy; 08/16/21 15:35.
Re: New Zorro version 2.40.3 [Re: jcl] #483956
08/18/21 07:25
08/18/21 07:25
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Check the TradeIs... flags. You can then see when and why a TMF was triggered.

Re: New Zorro version 2.40.5 [Re: jcl] #483957
08/18/21 07:30
08/18/21 07:30
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
New version: 2.40.5

The bugs, a crash and a wrong contour chart, that were reported for 2.40.4 have been fixed in this version.

Page 5 of 7 1 2 3 4 5 6 7

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