Gamestudio Links
Zorro Links
Newest Posts
Votes for future features
by 7th_zorro
Today at 01:57
Open WMB file
by Superku
Yesterday at 23:37
Stopping and resuming sessions without interrupting trade statis
by jcl
Yesterday at 08:14
Best Devlopment Experience
by j45p41
03/20/19 23:04
Blog Post: Continuous Futures Data in Zorro
by chsmac85
03/20/19 15:59
Error message : Closing Order Quantity
by OptimusPrime
03/20/19 12:49
script can work but no result(Profit and loss)
by jcl
03/20/19 09:12
AUM Magazine
Latest Screens
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Who's Online
3 registered (AndrewAMD, 7th_zorro, 1 invisible), 658 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
FrankFred, QuartzLoop, Conchip, danatrader, ilikezorro
18190 Registered Users
Topic Options
Rate This Topic
#473858 - 08/23/18 00:38 Asset List problems
MatPed Offline

Registered: 02/28/15
Posts: 537
Loc: Milano, Italy
Hi, I am having problem mapping some assets of my broker. Here is an example of the info gathered from the broker website (Darwinex)
Asset: US Natural Gas/USD (Spot)
Ticker: XNGUSD
Current spread: 0.01 points
Margin: 10.00%
Min. size (contracts): 0.10
Contract size: 10000 XNG
Tick Value (1 Contract): 10 USD
Swap Long* (1 Contract): -13.00 USD
Swap Short* (1 Contract): -4.00 USD
Roundtrip Commission (1 Contract): 0.005% trade value

When I run the the Download.c script with the MT5 bridge. I receive the following information in asset.csv file. (Commission have been manually added. Leverege have been fixed and Margin set to 0 as explained in the manual).

Price: 2.93
Spread: 0.00
RollLong: -9.0000
RollShort: -8.0000
PIP: 0.01000
PIPCost: 8.756414
MarginCost: 0
Leverage: 10.000
LotAmount: 1000.00
Commission: 0.050
Symbol: XNGUSD

It seems that RollLong, RollCost and PIPCost are wrong and should be divided by 10 (Min. Size 0.1).
Am I correct?
Thank you in advance

#473879 - 08/24/18 10:01 Re: Asset List problems [Re: MatPed]
MatPed Offline

Registered: 02/28/15
Posts: 537
Loc: Milano, Italy

#473880 - 08/24/18 10:23 Re: Asset List problems [Re: MatPed]
jcl Offline

Chief Engineer

Registered: 07/22/00
Posts: 26788
Loc: Frankfurt
If it's a MT5 demo account, can you contact Support with the login data? They'll look into the problem and will find the reason.

#473881 - 08/24/18 10:58 Re: Asset List problems [Re: jcl]
MatPed Offline

Registered: 02/28/15
Posts: 537
Loc: Milano, Italy
It's a MT5 real account, but the same issue is with the demo. I will contact support. Thank you


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at)