Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by rayp. 01/22/22 00:55
Lapsa's very own thread
by Lapsa. 01/21/22 08:23
Generic, dynamically growing array
by 3run. 01/18/22 15:37
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 01/18/22 15:00
Bug in NumUp/Dn
by jcl. 01/17/22 12:23
Help with plotting Lookback in Trade Mode
by degenerate_762. 01/15/22 23:43
AUM Magazine
Latest Screens
Tactics of World War I
Hecknex World
Scheherazade's Journey
Paradox Vector
Who's Online Now
4 registered members (Zheka, ozgur, AndrewAMD, gamers), 165 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
kawjansen, Alex2052, AndreasTrader, spacenomad, coinpump
18731 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: 434
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 434
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: 650
Milano, Italy
M
MatPed Offline
User
MatPed  Offline
User
M

Joined: Feb 2015
Posts: 650
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,696
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,696
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: 650
Milano, Italy
M
MatPed Offline
User
MatPed  Offline
User
M

Joined: Feb 2015
Posts: 650
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: 46
M
MegaTanker Offline
Newbie
MegaTanker  Offline
Newbie
M

Joined: Aug 2021
Posts: 46
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: 434
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 434
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: 46
M
MegaTanker Offline
Newbie
MegaTanker  Offline
Newbie
M

Joined: Aug 2021
Posts: 46
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: 46
M
MegaTanker Offline
Newbie
MegaTanker  Offline
Newbie
M

Joined: Aug 2021
Posts: 46
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