Gamestudio Links
Zorro Links
Newest Posts
long time to load data
by qin. 12/29/25 14:06
The new evaluation shell
by jcl. 12/29/25 09:56
about Zorro S (monthly)
by AndrewAMD. 12/29/25 03:24
Xor Memory Problem.
by TipmyPip. 12/26/25 19:14
ZorroFix. ini /data and /log path
by Martin_HH. 12/19/25 21:02
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (vicknick), 81,396 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Syndrela, HDRSEO, AOUNZA, digitalboy381, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Zorro Cross Margin for FX Question #486518
08/31/22 18:03
08/31/22 18:03
Joined: Apr 2021
Posts: 22
S
scatters Offline OP
Newbie
scatters  Offline OP
Newbie
S

Joined: Apr 2021
Posts: 22
Hi,

I have a question when running an FX strategy on a basket of FX pairs with an initial deposit in USD.

//while(asset(loop("EUR/USD", "AUD/CAD", "EUR/NZD", "GBP/AUD", "USD/JPY", "GBP/JPY")))

how does zorro correctly calculate the proper cross margin if I am trading in USD or my original balance is in USD?

for example

How should we adjust our asset file so the backtest is correct for trading a basket of currency, do we need to make the pip cost dynamic in the asset file, or is this already done?

Re: Zorro Cross Margin for FX Question [Re: scatters] #486539
09/03/22 13:25
09/03/22 13:25
Joined: Apr 2008
Posts: 598
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 598
Austria
Margin is always in account currency. Not in counter currency.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1