Commission Roundturn commission in account currency units for opening and closing one contract, or 10000 contracts for currency pairs. Accessible with the Commission variable. When manually entering the commission, double it if was single turn. For currency pairs make sure to convert it to 10000 contracts.

10.000 => 0.1 Lot, same for Roll values, for all FX pairs use values for 0.1 lot when you use the download script and load the whole asset list this values should be correct!

This is a realistic account data for a Darwinex demo account. You can get something similar, changing your preferences, following zorro instructions:

http://zorro-project.com/manual/en/account.htm"There is a special asset list named Assets.csv in the Log folder. This list is updated on every [Trade] session with the parameters of all assets that are selected in the script. If assets are not selected or if certain asset parameters are not available, they are replaced by the content of the current asset list. This is a convenient way to simulate your current broker account: just connect to the broker with a script that selects all needed assets (f.i. the Download script), then copy Assets.csv to the History folder under the name of the asset list that you are using for testing. It's preferable to do this a Monday, Tuesday, or Thursday, as on weekends most assets have an unrealistic spread and no rollover fee, and on Wednesdays or Fridays often the rollover is three times as high for compensating the weekend. For permanently simulating a certain asset/account state, copy the corresponding asset line from Assets.csv into the History\AssetsFix.csv file. Zorro must be restarted when AssetsFix.csv was modified. Below you'll find examples for adding assets and downloading price data with the Download script"

@NicolasDarwinex@DarwinexLabs , Would it be possible for Darwinex to offer Zorro's asset configuration file with updated information? I suppose this information can be queried from a Darwinex database.

So I've just read through this entire thread to get a sense for what's being addressed.

I am familiar with Zorro myself (introduced to it by @CavaliereVerde and took an instant liking since my background includes Lite-C), albeit using it purely for strategy R&D at this point in time, not actual trading - though I can certainly help where possible.

Please pardon my ignorance.. but could we please attempt to answer the following questions to get a better sense of what the problem is?

1) What exactly is the issue being addressed here? From what I understand from the conversation above:

Are the RollLong/Short and Commission values returned via the MT4/5 Zorro Bridge not congruent with what's displayed on the Darwinex Execution Conditions page?

Something else I've missed?

2) OANDA has direct API access to Zorro, so we can rule out the Bridge relevance in its case - has anyone here observed the same issue when running the Zorro MT4/5 Bridge with other brokers?

If yes, then odds of the discrepancy being in the Bridge and not the brokers themselves, are obviously high.

If not, then there's room to investigate further.

3) In terms of **AssetsFix.csv values, can these not be set to realistic values based on the data on the Execution Conditions page?** (what am I missing, please shed some light on this for me so I can understand the situation better).

Ultimately, I'm sure we can all get to the bottom of this.

My own 2 cents on AssetsFix.csv values for RollLong/Short and Commission are that if they are adjusted to 10,000 (0.1 lots) as advised in the Zorro Manual (also previously reiterated by @easyFX) then setting them to values down to the 2nd or 3rd decimal place is likely unnecessary (but I could be wrong, so let's discuss).

Cheers

p.s. I've updated the thread's title and tags to make this more accessible to people looking for similar information.

Hi Aimak,I've asked to Darwinex's support. The answers received were polite and timely, unfortunately was not good enough to fix the issue. All the info regarding Assets execution conditions are clearly published on Darwinex, Unfortunately they are not coherent from what you can download from the MT4/5 bridge this lead to unrealistic testing results.

It goes without saying that if somebody of Darwinex support gives a call to JCL of Zorro, they could solve this issue in minutes. I know I am the weak ring of the chain

Hi Integracore, I am sorry that I am not able to clarify the problem. It is, without doubts, my fault, but the issue is subtle. And I am investing hours of my time and wasting hours of Zorro's support, to fix it.

lets start to answer to your second question. As far as I know the Mt4/5 bridge works for other brokers. When bugs are reported usually they are timely fixed by Zorro's team.

Question 1 and 3 are just part of the story. I have done all the testing recommended by easyFX, but have not solved all the issues.

The AssetFix.csv file is used by Zorro for several tasks:1) testing a strategy2) training a strategy3) provide the info in order to calculate the Factors to allocate money to the different components of the portfolio (portfolio money management)4) send correct lot information to the broker in live trading in order to open, track and close trades during trading time. If the strategy set Hedge = 5 in order to reduce trading costs this is absolutely relevant.

Usually when discussing the assets.csv impacts the points 3 and 4 are not taken into consideration. To be more practical RollLong & Short, Commission, Pip cost, Margin/Leverage and lot size has also to be correct not only from a mathematical point of you (that's easy), but the values must generate tradable lot quantities.Tradable quantities depends from the settings of Mt5 broker's server (not the end user platform platform) the Zorro' Bridge and Zorro's itself.

So if you train and test a Strategy on 2 brokers with similar leverage (As it is now, after the ESMA) on the same historical data you should receive similar results. On top of this you should be able to trade the strategy on the 2 brokers without errors i.e you should respect minimum contract size and its multiplier.

My strategy reach an AR of 45% on Oanda and 171% on Darwinex using the data Assets Data downloaded from the 2 brokers. When I modified the Assets file accordingly with the easyFX hint the lot calculation in live training was wrong and Zorro's was not able to trade correctly on Darwinex.

This is the issue I would like to fix

You can make your own testing on your PC even it will be time consuming:

1) grab workshop 6 enlarge the assets loop including all the darwinex Assets2) prepare the assets.csv to train, test and trade with Oanda and Darwinex3) You should find similar results4) Live trade the 2 strategy on the 2 brokers in order to see that trades are opened correctly i.e. no orphan trades will be generated

you see in your trade list that the large rollover was caused by shorting Gold. Maximum was $1339 by 9 contracts and ~50 days trade. 50 * 9 * 3.1 = ~1400, so the gain is real. You just were lucky as far as we see.

Since you cannot rely on always positive rollover for shorting gold, better test this system with rollover set to 0.

Thank you,I did not noticed the large positive rollover. Based on the trades file attached I do not see any rogue trade. On the contrary, most of the Assets as Gold or EUR/USD present only positive roll over in all the trades. Only few Assets shoes some negative rollover in some trades

I will run all the test or simulation you required, but I am not able to identify the issue by myself.

Ciao

Hi Matteo,

you can see in the .txt files that the Darwinex simulation had large positive rollover. The rollover in your NATGAS example was correct. So the problem is somewhere else. Either one of your assets had a wrong positive rollover value, or your strategy produced a rogue trade that never closed and thus had an unrealistic rollover gain. The sum of long and short rollover must be always negative, so the problem should be easy to catch.

Hi,the same strategy tested on the same Oanda history price, with the Oanda asset file and Darwinex Asset file (both attached) gives totally different results. The Darwinex is (unfortunately) unrealistic.After ESMA the leverage of the 2 brokers are the same so I was expecting similar results, but as you can see from the report attached there are huge differences. AR: 61% Oanda Assets File -> 171% Darwinex Assets File

I guess that something is wrong in modeling the Darwinex trading cost structure.Regarding the Natgas the roll cost and the pip cost of the should be 1/10 of the reported ones, because you are open 1/10 of the standard lot.

What Am I missing?

Oggetto: AW: MT5 Assets download issue

Hi,

so far we did not notice anything wrong with the NATGAS parameters on the Darwinex MT5 platform. The values returned by their MT5 server seem in agreement to their website and to their MT4 server parameters. Small variations of spread, rollover, pipcost are normal and due to varying exchange rates. What exactly is the problem?

Best regardsZorro Support TeamoP group Germany GmbH

Good morning,JCL has suggested to report this issueWith the Darwinex broker I connect to the MT5 Server:MT5 DEMO SERVERLogin: Password: Server: demoUK-mt5.darwinex.comI used the download script and received the attached Assets.csv file (renamed to mpDarwinexESMALive.csv). Commission have been manually added. Leverage have been fixed and Margin set to 0 as explained in the manual).

It seems that RollLong, RollCost and PIPCost are wrong and should be divided by 10 (Min. Size 0.1).

I Have modified the lot amount to 0,1 and it works in testing, but when traded and the TS try to open a new trade I receive the error[2559: Fri 18-08-24 16:00] 1.1593/1.1640\1.1582/1.1625{SILVER:MM:s5901} Short 1@14.87 Risk 49 .Error 075: (SILVER:NET:S) - can't open 1@0.01 at 16:00:00

Ok some more info regarding trading with Zorro on Darwinex.Avoid using Mt5 Bridge, Mt4 Bridge seems to work smoothly.

The full story is that my script was unable to open and close trades. I switched to Mt4 and everything was working correctly. Same script, same Assets file, same broker just different bridge.

With the Zorro's support we had agreed to run some more test, I do not know when I will have time to run them, but its on my list.Even the assets parameters downloaded from Mt4 with the download.c, makes a lot more sense.

One of the limitation I discovered is Mt5 bridge does not allow to partially close trades i.e. using Zorro's Hedge functionalities was not possible. I have received a pimped version of that bridge that fix the problem. I do not know if it will be included in the upcoming version.

CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. 73 % of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money.