Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, monk12, TipmyPip, Quad, aliswee), 1,029 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
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,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
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