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
3 registered members (VoroneTZ, monk12, Quad), 829 guests, and 4 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
Page 2 of 4 1 2 3 4
Re: Oanda LotAmount in Trade Mode [Re: JayWilly] #484692
12/01/21 15:08
12/01/21 15:08
Joined: Sep 2020
Posts: 15
Toronto, Canada
J
JayWilly Offline OP
Newbie
JayWilly  Offline OP
Newbie
J

Joined: Sep 2020
Posts: 15
Toronto, Canada
The server is returning the wrong LotAmount when using the Download script to update the AssetList parameters. What they are returning is the new minimum trade size. We are able to trade the smaller trade size if we can send an order with an amount using 1 decimal place.

Re: Oanda LotAmount in Trade Mode [Re: JayWilly] #484696
12/03/21 13:41
12/03/21 13:41
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
That explains it then, you can use the SET_PATCH command to override the wrong lot amount by the server.

Re: Oanda LotAmount in Trade Mode [Re: JayWilly] #484758
12/08/21 06:27
12/08/21 06:27
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline
User
MatPed  Offline
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
I guess that should be stated in the manual that trading CFD with API is really dangerous. I can cofirm that margin requirements is 10 times higher than expected i.e. it's a bomb!

Is anybody trading CFD with MT4 and Oanda?

Re: Oanda LotAmount in Trade Mode [Re: JayWilly] #484766
12/08/21 15:27
12/08/21 15:27
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
We do. That's one of our test configurations. We confirm that all is fine here with the margin. But we will of course add a warning in the manual and notify Oanda about the problem.

However, you should anyway get a warning at strategy start when the margin deviates from the asset list. Did you get it?

Re: Oanda LotAmount in Trade Mode [Re: jcl] #484770
12/08/21 18:07
12/08/21 18:07
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline
User
MatPed  Offline
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
I tried in real several asset file and I received Lot warnings or picost warnings. Nothing regarding margin.
Trades are 10 times bigger than expected i.e. with only one losing trade you can vaporize your account.
I Have been lucky because my trade was positive and I manually close it.
I imagine what could happen with people trading Zx systems with Oanda...
I wrote to Oanda support, Zorro support and several post on this forum regarding the issue because I guess it should be addressed as priority one.

Re: Oanda LotAmount in Trade Mode [Re: JayWilly] #484772
12/08/21 19:56
12/08/21 19:56
Joined: Aug 2021
Posts: 101
M
MegaTanker Offline
Member
MegaTanker  Offline
Member
M

Joined: Aug 2021
Posts: 101
Well I guess this explains why Z12 opens such huge index positions. I thought it was just due to the accumulate setting since the account has such low capital. It's actually up now compared to before the recent correction, but the drawdown was pretty nasty since it held a bunch of long index positions as it happened. Definitely could have blown up some accounts with tighter capital though and I'll pause this for now.

The Zorro window prints Long 1 for SPX500, Oanda receives this as one whole SPX500 contract, instead of 1 LotAmount, which is 0.1

Can this not be fixed with an update to the Oanda plugin?

Re: Oanda LotAmount in Trade Mode [Re: JayWilly] #484774
12/08/21 20:42
12/08/21 20:42
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
Are you are using the oanda plugin? I thought it was the mt4 plugin?

Re: Oanda LotAmount in Trade Mode [Re: JayWilly] #484775
12/08/21 21:02
12/08/21 21:02
Joined: Aug 2021
Posts: 101
M
MegaTanker Offline
Member
MegaTanker  Offline
Member
M

Joined: Aug 2021
Posts: 101
I am using the Oanda plugin directly, yes. No mt4/mt5.

Re: Oanda LotAmount in Trade Mode [Re: JayWilly] #484777
12/09/21 01:18
12/09/21 01:18
Joined: Sep 2020
Posts: 15
Toronto, Canada
J
JayWilly Offline OP
Newbie
JayWilly  Offline OP
Newbie
J

Joined: Sep 2020
Posts: 15
Toronto, Canada
I have a question out to their support for a couple days now about the fact that when a request is made about Lot Amount and Pip Cost, it is pushing back the incorrect values as discussed previously based upon the actual execution behavior. I updated the AssetList and using the Set_Patch broker command to use my values for the Lot size as being 1 rather than 0.1 and adjusting the Pip Cost 10 times higher. Will see how that works out. Will report back when I hear something from Oanda.

This is with the Oanda plugin directly. I do not know the behavior for MT4 nor MT5.

Re: Oanda LotAmount in Trade Mode [Re: JayWilly] #484779
12/09/21 08:18
12/09/21 08:18
Joined: Aug 2021
Posts: 101
M
MegaTanker Offline
Member
MegaTanker  Offline
Member
M

Joined: Aug 2021
Posts: 101
If the issue is with the Zorro Oanda plugin, then their support will be very confused. You mentioned in your first post that Oanda made this change from LotAmount 1 to 0.1 not too long ago, is it possible that this capability simply wasn't updated in the Oanda plugin?

Page 2 of 4 1 2 3 4

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1