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 (1 invisible), 672 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
simulation skipping bars in multi asset #476683
03/22/19 17:49
03/22/19 17:49
Joined: Jan 2014
Posts: 86
London City
B
byakuren81 Offline OP
Junior Member
byakuren81  Offline OP
Junior Member
B

Joined: Jan 2014
Posts: 86
London City
I noticed that when running a strategy in testing mode with more than one asset as for instance EUR/USD and GBP/USD, the simulation will align on the available bars of the first one declared and skipping the bars of the other one even if a bar was available.
Could you please tell me if it is possible to avoid such a behaviour?

Re: simulation skipping bars in multi asset [Re: byakuren81] #476688
03/23/19 07:29
03/23/19 07:29
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
Not really, the manual recommends to use the asset with less gaps as the first, that would be EURUSD in your example. Or maybe you can use an empty string as first asset name, this is a dummy asset and has no gaps. I dont know if this works but try it.

Re: simulation skipping bars in multi asset [Re: Spirit] #476906
04/22/19 13:02
04/22/19 13:02
Joined: Dec 2014
Posts: 206
Germany
Smon Offline
Member
Smon  Offline
Member

Joined: Dec 2014
Posts: 206
Germany
What a coincidence... I'm just having the exact same problem. The empty string trick didn't work for me (I just put "" as first asset), but choosing an asset with fewer gaps worked.

By the way, this is the ducascopy dataset with

StartDate = 20060101;
EndDate = 20181231;

Asset Gaps
AUDJPY 4
EURGBP 5
GBPCHF 5
USDCHF 5
CHFJPY 6
EURUSD 6
GBPUSD 6
USDCAD 6
EURCHF 7
GBPJPY 7
NZDUSD 14
AUDNZD 19
EURJPY 23
USDJPY 24
AUDUSD 58
EURCAD 81
EURAUD 94
GBPAUD 119
AUDCHF 142
EURNZD 167
CADJPY 168
NZDCAD 181
GBPCAD 183
NZDCHF 187
CADCHF 193
NZDJPY 197
GBPNZD 221
AUDCAD 6263


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1