Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
Hedge on FXCM, 4 or 5?
by qin. 02/11/26 14:12
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 8,653 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
MarginCost discrepancy? #489176
02/11/26 01:07
02/11/26 01:07
Joined: Jan 2023
Posts: 48
Q
qin Offline OP
Newbie
qin  Offline OP
Newbie
Q

Joined: Jan 2023
Posts: 48
I'm testing the Z12 strategy on an FXCM demo account. Some parameters are confusing me.
As shown in the log, it displays: EUR/USD MarginCost 36->3.5
However, in log\Assets.csv and History\AssetsFXCM.csv, the MarginCost for EUR/USD is -3.33, which doesn't match the above display. What is the reason for this discrepancy?

Attached Files QQ_1770771510558.png
Last edited by qin; 02/11/26 01:08.
Re: MarginCost discrepancy? [Re: qin] #489177
02/11/26 08:03
02/11/26 08:03
Joined: Jul 2000
Posts: 28,072
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,072
Frankfurt
The message means that your account does not match your asset list. The margin costs are automatically corrected, but the back tests are wrong. The indicated values are real margin costs. What you need to adapt are the leverages.

Re: MarginCost discrepancy? [Re: jcl] #489179
02/11/26 11:29
02/11/26 11:29
Joined: Jan 2023
Posts: 48
Q
qin Offline OP
Newbie
qin  Offline OP
Newbie
Q

Joined: Jan 2023
Posts: 48
Based on my understanding of the documentation, the log\Assets.csvparameter is retrieved from the live broker API, and it should match the value shown in the run log, which is -3.5 instead of -3.33. Is my understanding incorrect?
The manual says: Any live trading session generates a special asset list named Assets.csv in the Log folder. This list is updated with the actual parameters of all assets used in the trading
script.

Re: MarginCost discrepancy? [Re: qin] #489183
02/12/26 14:02
02/12/26 14:02
Joined: Jul 2000
Posts: 28,072
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,072
Frankfurt
Maybe you're confusing margin percentage with fixed margin cost? Both determine your margin, but they are not the same. The values returned in Assets.csv are margin cost.


Moderated by  Petra 

Gamestudio download | 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