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 (howardR, sleakz), 706 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 1 of 2 1 2
Margin in Assets.dta doesn't change with account leverage? #443758
07/24/14 03:08
07/24/14 03:08
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi. Not sure if this is the right place to post this, but here goes: I have a 1:400 account and a 1:200 account. When I run the Download script to update Assets.dta, it's the same for the 2 accounts. Shouldn't the Margin entries be 1/2 (more or less) in the higher leverage account?

TS shows MMR values that are 1/2...

Thanks.

Re: Margin in Assets.dta doesn't change with account leverage? [Re: DdlV] #443766
07/24/14 07:44
07/24/14 07:44
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Yes, the margin entries should be 1/2.

I would like to forward the issue to FXCM. Can you post the two Assets.dta here, from the old and the new account?

Re: Margin in Assets.dta doesn't change with account leverage? [Re: jcl] #443777
07/24/14 12:24
07/24/14 12:24
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Sure. The files are totally identical, byte for byte, so I'll only post one. It turns out there are actually 3 numbers:

For example, for EUR/CHF:
1:200 MMR in TS is 8.00
1:400 MMR in TS is 4.00
Margin in Assets.dta is 5.00

HTH.

Attached Files
Assets.zip (0 downloads)
Re: Margin in Assets.dta doesn't change with account leverage? [Re: DdlV] #443780
07/24/14 13:55
07/24/14 13:55
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Hmm. This looks as if the margin is neither for 400:1 nor 200:1, but something inbetween. Let me check this with FXCM.

Re: Margin in Assets.dta doesn't change with account leverage? [Re: jcl] #443784
07/24/14 14:31
07/24/14 14:31
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks.

Re: Margin in Assets.dta doesn't change with account leverage? [Re: DdlV] #443819
07/25/14 13:48
07/25/14 13:48
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi jcl. Is there any reply from FXCM? Wondering how I should proceed... Should I manually copy the MMR's from TS into AssetFix.dta? It would seem that should cover Testing. However, if FXCM API is not returning the correct Margin, is it OK to Trade? laugh

Thanks.

Re: Margin in Assets.dta doesn't change with account leverage? [Re: DdlV] #443824
07/25/14 16:04
07/25/14 16:04
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Yes, it is ok to trade, but with half the margin. This compensates for the different size. AssetsFix.dta has no effect on trading.

I have a response by FXCM, but they play the usual game of asking irrelevant questions in hope that the problem goes away inbetween. It will take a couple of days in my experience until a programmer really starts debugging it.

Re: Margin in Assets.dta doesn't change with account leverage? [Re: jcl] #443828
07/25/14 16:44
07/25/14 16:44
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks jcl. Yes, I understand that AssetsFix.dta has no effect on Trading. But it does on Testing. I'll create a new AssetsFix.dta with Margins = MMRs from TS, then Test for the appropriate Margin for the original CR, then per the workaround, set the Margin slider to 1/2 of that value until FXCM fixes the problem.

Thanks.

Re: Margin in Assets.dta doesn't change with account leverage? [Re: DdlV] #443830
07/25/14 17:22
07/25/14 17:22
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
OK, it seems to be stranger than that. Here's the comparison between the Margin in Assets.dta vs. TS:

Code:
Assets.dta	TS 1:400	Difference

AUD/USD	5.000		3.000		-2.000
EUR/CHF	5.000		4.000		-1.000
EUR/USD	5.000		4.000		-1.000
GBP/USD	7.000		4.750		-2.250
GER30	6.000		9.000		3.000
NAS100	2.000		2.500		0.500
SPX500	8.000		12.000		4.000
UK100	6.000		9.000		3.000
US30	6.000		9.000		3.000
USD/CAD	4.500		2.500		-2.000
USD/CHF	4.500		2.500		-2.000
USD/JPY	4.500		2.500		-2.000
USOil	14.000		20.000		6.000
XAG/USD	0.100		7.500/50=0.150	0.050
XAU/USD	3.000		4.000		1.000



The currencies require less margin than Assets.dta reports and the CFD's require more. So, what should be done with the Margin slider?!

Thanks.

Re: Margin in Assets.dta doesn't change with account leverage? [Re: DdlV] #444034
07/29/14 13:26
07/29/14 13:26
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi jcl. Did FXCM change something? Download now seems to give the correct 1:400 Margin on the 1:400 accounts, except that it's giving me 1:400 Margin values in the Demo account too, which they told me was always 1:200...

Page 1 of 2 1 2

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