Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 911 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
What does FAST mode do? #471775
03/19/18 16:31
03/19/18 16:31
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
Hi, All,

In a system with 1 asset and 1 algo, and which occasionally closes trades with Take Profit limit orders, setting TICKS makes no difference to the result.

However, setting FAST in addition to TICKS - does.
(results are better).

So, what does FAST actually do - in this case of 1 asset/1 algo system?

Re: What does FAST mode do? [Re: Zheka] #471779
03/19/18 17:19
03/19/18 17:19
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
Comparing trade exit prices between these 2 scenaria with prices in the database,I see that:
- this only affects Trade exits, when exitLong/Short() is used (stops in this case)
- FAST exits trades at the OPEN of the M1-tick of the exit signal.
e.g. with BarPeriod=5 and exit generated at 7:16, FAST will exit at the Open of 7:16 M1-tick, i.e. at 7:15. - which guarantees peeking.

IS this really how FAST supposed to work?
What's the use case of this?
(I tested 2 assets/2algos and see neither memory savings nor calculation speed up)

Re: What does FAST mode do? [Re: Zheka] #471808
03/20/18 10:41
03/20/18 10:41
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The difference is that intrabar management is per-trade in FAST mode, but per-tick without FAST mode.

In FAST mode the time moves from bar begin to bar end for any trade separately, and then jumps back. In normal mode, the time moves continuously.

FAST mode can strongly improve backtest speed with many open trades, but is normally not recommended. It will probably be removed in a future version, because it adds a lot complexity to the engine.

Re: What does FAST mode do? [Re: jcl] #471810
03/20/18 11:26
03/20/18 11:26
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
Thanks for clarifying.
So, the normal per-tick mode simulates portfolio level interactions realistically, and FAST is a shortcut, useful during development. Clear.

But why such fill prices?
Time supposedly jumps back AFTER processing a trade, not before...


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1