Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
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
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, AndrewAMD, TipmyPip, Quad), 889 guests, and 8 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
Oanda Live Trading - Trade Lost? #466475
06/16/17 10:27
06/16/17 10:27
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
Hi,
I am trading live a strategy.
A trade have been correctly opended and is gaining 280 pips.
In Zorro console, log (verbose = 2) everything looks fine, but the trade result is wrong revealing a loss of 19 pips bar after bar always the same.
The capital shown in zorro is correct.
Whats wrong and how to handle this trade and Zoro istance what to do.

I am trading wiyh the API 1.0 plug in

thanks in advance for help

Re: Oanda Live Trading - Trade Lost? [Re: MatPed] #466481
06/16/17 14:38
06/16/17 14:38
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Oanda API 1.0 did not return the profit of a trade, so it had to be calculated by Zorro from the account parameters. Maybe a parameter is wrong, for instance the commission - can you check?

Re: Oanda Live Trading - Trade Lost? [Re: jcl] #466487
06/16/17 16:55
06/16/17 16:55
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
Sure I will check,but what exactly?

Re: Oanda Live Trading - Trade Lost? [Re: MatPed] #466488
06/16/17 17:02
06/16/17 17:02
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline OP
User
MatPed  Offline OP
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
If you mean the asset line in the AssetFix of the trade this is the line.

NL25,521.80,0.17000,-0.0044,-0.0327,0.0100,0.010000,10.4325,50.016,1.0,0.000,NL25/EUR

Re: Oanda Live Trading - Trade Lost? [Re: MatPed] #466516
06/19/17 08:09
06/19/17 08:09
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Yes, I meant this line. But the parameters look correct to me. Can you contact Support with the Zorro log of this trade, and its real Oanda result and entry/exit price? There must be some reason for the difference.


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