Gamestudio Links
Zorro Links
Newest Posts
How to buy tomorrow at open?
by frutza. 06/01/23 19:58
Adding Position to Current Trade
by AndrewAMD. 05/30/23 10:34
Unable to change multiplier of contract
by vicknick. 05/30/23 06:56
Wrong Definition of Sharpe Ratio in Zorro?
by vicknick. 05/29/23 06:32
Backtest strategy on bitcoin/crypto
by JamesHH. 05/26/23 04:36
Return type of floor()
by AndrewAMD. 05/25/23 14:17
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (AndrewAMD), 1,065 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
BInnacle, androsa, XquicksnowX, danishinvest, Trail
18942 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Wrong Trade Status on HTML page for Trade profits [Re: Martin_HH] #487522
05/26/23 10:59
05/26/23 10:59
Joined: Jul 2000
Posts: 27,947
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,947
Frankfurt
You can find the commissions in the Commission field in AssetsFix.csv. They are also available on the rate card on the FXCM website.

Re: Wrong Trade Status on HTML page for Trade profits [Re: Martin_HH] #487529
05/30/23 08:19
05/30/23 08:19
Joined: May 2023
Posts: 9
Hamburg, Germany
M
Martin_HH Offline OP
Newbie
Martin_HH  Offline OP
Newbie
M

Joined: May 2023
Posts: 9
Hamburg, Germany
Thanks for the reply. Yes, I am aware, but the comissions for my traded instruments are zero, see:

Name,Price,Spread,RollLong,RollShort,PIP,PIPCost,MarginCost,Market,Multiplier,Commission,Symbol
AUD/USD,0.653930,0.000070000,-0.3309,0.08490,0.0001000,0.092914,-6.05,0,1000,0.0,AUD/USD
EUR/USD,1.07579,0.000080000,-2.228,1.053,0.0001000,0.092914,-3.33,0,1000,0.0,EUR/USD
GBP/USD,1.23702,0.000100000,-1.254,0.5646,0.0001000,0.092914,-3.77,0,1000,0.0,GBP/USD
GER30,15840.10,1.30000,-0.2783,0.02783,1.000,0.10000,-6.48,0,1.00,0.0,GER30
NAS100,13563.78,1.00000,-0.2876,0.07421,1.000,0.092914,-5.48,0,1.00,0.0,NAS100
SPX500,4112.23,0.500000,-0.8627,0.2226,0.1000,0.092914,-5.71,0,1.00,0.0,SPX500
USD/CAD,1.35959,0.000170000,-0.7104,0.2004,0.0001000,0.068376,-3.58,0,1000,0.0,USD/CAD
USD/JPY,139.17,0.0110000,1.873,-3.916,0.01000,0.066849,-3.58,0,1000,0.0,USD/JPY
XAU/USD,1963.20,0.310000,-0.6250,0.2588,0.01000,0.0092914,-5.76,0,1.00,0.0,XAU/USD

The AssetsFix file was updated via the API of FXCM (and my Broker does not show any commissions for this trades)

I could find a possible reason for the wrong profit in the html sheet. I recognised it several times when I manually stop the position. Again, today I closed manually a Long position with a little win, Zorro shows a loss with almost the same amount.
Therefore, the issue I recognised seems to be for Long and Short positions with a manual close.

When I do not close it manually and it will be stopped out by the Zorro script, it seems to work correctly. Is there a possible issue with the plugin for FXCM?

Last edited by Martin_HH; 05/30/23 08:22.
Re: Wrong Trade Status on HTML page for Trade profits [Re: Martin_HH] #487533
05/31/23 08:07
05/31/23 08:07
Joined: May 2023
Posts: 9
Hamburg, Germany
M
Martin_HH Offline OP
Newbie
Martin_HH  Offline OP
Newbie
M

Joined: May 2023
Posts: 9
Hamburg, Germany
Today, again. My Zorro script produced a nice entry for NAS100. My script had a stop and a trail. But, I wanted to secure the win and I put a trailing/ Stop order via the Broker platform.
So I was stopped out with 228 EUR win. Zorro html shows -230 EUR as a loss. Does it come with a mismatch of a Zorro "virtuell" trailing stop and the Broker one, which produces a real limit order?

Zorro works perfectly well. I used to work with Pine Script and it cost me ages to programme something which was not even similiar. This issue is a reporting issue only. I would assume that is an issue with the plugin?

For my markets the fees are included inside the spread and as I said commissions are zero.

Last edited by Martin_HH; 05/31/23 08:48.
Page 2 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