Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 863 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 4 1 2 3 4
Re: Oanda LotAmount in Trade Mode [Re: JayWilly] #484876
12/22/21 13:08
12/22/21 13:08
Joined: Apr 2008
Posts: 586
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 586
Austria
I believe you need 2.44. At least in the bug list the problem is listed as "fixed in 2.44".

Re: Oanda LotAmount in Trade Mode [Re: JayWilly] #484878
12/22/21 13:47
12/22/21 13:47
Joined: Aug 2021
Posts: 101
M
MegaTanker Offline
Member
MegaTanker  Offline
Member
M

Joined: Aug 2021
Posts: 101
That may be the case. When I last looked, the 2.44 was still in beta, so no Z-strat support. But if the Oanda.dll was the only thing changed to address this issue, it may not make a difference.

Re: Oanda LotAmount in Trade Mode [Re: MegaTanker] #487013
12/22/22 21:17
12/22/22 21:17
Joined: Dec 2022
Posts: 6
G
Gheo Offline
Newbie
Gheo  Offline
Newbie
G

Joined: Dec 2022
Posts: 6
I am curious if you were able to resolve this LotAmount issue with Oanda V20?

at present I am getting the desired position size of 0.01 when back testing but when I tried running it on my demo account the orders are being rejected with the following code.

Code
[500: Thu 22-12-22 20:56] (1.05994)
!order: {"orderrejecttransaction":{"id":"7","accountid":"***-***-********-***","userid":24221766,"batchid":"7","requestid":"25026195017760562","time":"2022-12-22t20:56:00.546953827z","type":"market_order_reject","rejectreason":"units_precision_exceeded","instrument":"eur_usd","units":"0.010000","timeinforce":"fok","positionfill":"default","reason":"client_order"},"relatedtransactionids":["7"],"lasttransactionid":"7","errormessage":"the units specified contain more precision than is allowed for the order's instrument","errorcode":"units_precision_exceeded"}
Warning 075 (EUR/USD::L) - can't open 1@1.0599 at 20:56:00AvgOpen=0.021853 SumOpen=2.119769 Counter=97


I have read all the posts on this subject that I could find as full lot positions would destroy my risk management and would like to take advantage of fractional lots.

If I misconstrue terms please help me learn, I've only been at this for a few months and am learning as best I can.
Thank you.

Last edited by Gheo; 12/22/22 21:19.
Page 4 of 4 1 2 3 4

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1