Gamestudio Links
Zorro Links
Newest Posts
hold key code returns very high value instead of 0 or 1
by 3run
Today at 16:08
oldschool fps project
by 3run
Today at 15:46
Sam Foster Sound | Experienced Indie Game Composer for Hire
by titanicpiano14
Today at 15:02
Project Aum - Winter Contest 2017 - Update
by Ayumi
Yesterday at 22:34
[ALL STYLES] 2D Videogame Artist (pixel, vector, painted)
by DesixStudios
Yesterday at 14:45
Easy question
by jcl
Yesterday at 13:47
Cheap bouncing shells/gibs
by 3run
Yesterday at 00:36
AUM Magazine
Latest Screens
RPG PARTY
Triton Wing now available on Steam
AckCon'17: Lotter vs The World
Triton Wing
Who's Online
17 registered (Ch40zzC0d3r, Ezzett, Lobo, Hredot, AndrewAMD, 3run, alibaba, ChrstphFr, firecrest, 2 invisible), 454 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Amocfx, cme, pataba, byano, Tuguldur717
17834 Registered Users
Topic Options
Rate This Topic
#466475 - 06/16/17 12:27 Oanda Live Trading - Trade Lost?
MatPed Online
Senior Member

Registered: 02/28/15
Posts: 380
Loc: 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

Top
#466481 - 06/16/17 16:38 Re: Oanda Live Trading - Trade Lost? [Re: MatPed]
jcl Online

Chief Engineer

Registered: 07/22/00
Posts: 26002
Loc: 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?

Top
#466487 - 06/16/17 18:55 Re: Oanda Live Trading - Trade Lost? [Re: jcl]
MatPed Online
Senior Member

Registered: 02/28/15
Posts: 380
Loc: Milano, Italy
Sure I will check,but what exactly?

Top
#466488 - 06/16/17 19:02 Re: Oanda Live Trading - Trade Lost? [Re: MatPed]
MatPed Online
Senior Member

Registered: 02/28/15
Posts: 380
Loc: 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

Top
#466516 - 06/19/17 10:09 Re: Oanda Live Trading - Trade Lost? [Re: MatPed]
jcl Online

Chief Engineer

Registered: 07/22/00
Posts: 26002
Loc: 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.

Top



Gamestudio download | chip programmers | Zorro platform | shop | resources | magazine | manual | support faq | bugs

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