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 Margin error #473010
06/08/18 15:45
06/08/18 15:45
Joined: Dec 2016
Posts: 14
T
tnktnns Offline OP
Newbie
tnktnns  Offline OP
Newbie
T

Joined: Dec 2016
Posts: 14
Hi everybody, I've been having trouble getting Zorro to activate even just 1 single trade with Oanda.
For some reason, as seen in this error message from running the TradeTest script, whenever Zorro tries to make a trade Oanda sends back an error saying my account has "Insufficient Margin"?
This is weird considering even trying to buy just 1 Unit of an instrument produces this response.
Quote:

Buy Long EUR/JPY
!Order: {"orderCreateTransaction":{"type":"MARKET_ORDER","instrument":"EUR_JPY","units":"1","timeInForce":"FOK","positionFill":"DEFAULT","reason":"CLIENT_ORDER","id":"259","userID":1450674,"accountID":"001-001-1450674-002","batchID":"259","requestID":"96482867575027876","time":"2018-06-08T15:28:34.475380373Z"},"orderCancelTransaction":{"type":"ORDER_CANCEL","orderID":"259","reason":"INSUFFICIENT_MARGIN","id":"260","userID":1450674,"accountID":"001-001-1450674-002","batchID":"259","requestID":"96482867575027876","time":"2018-06-08T15:28:34.475380373Z"},"relatedTransactionIDs":["259","260"],"lastTransactionID":"260"}
Error 075 ((EUR/JPY::L)): Can't open 1@128.76 at 15:28:35


What's going on? Have I set up something wrong? is there something I forgot to do?

I appreciate any help!

Last edited by tnktnns; 06/08/18 15:46.
Re: Oanda Margin error [Re: tnktnns] #473054
06/11/18 14:34
06/11/18 14:34
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
"insufficient margin" means you must have enough capital on your account before you can trade.

Re: Oanda Margin error [Re: Spirit] #473114
06/14/18 08:25
06/14/18 08:25
Joined: Dec 2016
Posts: 14
T
tnktnns Offline OP
Newbie
tnktnns  Offline OP
Newbie
T

Joined: Dec 2016
Posts: 14
i put $2500 in my Oanda account to play around with, is that not enough?

thanks for the reply

Re: Oanda Margin error [Re: tnktnns] #473125
06/15/18 13:41
06/15/18 13:41
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Check if it's the right account; maybe it was a subaccount. If in doubt, contact Oanda support - they should be able to help.

Re: Oanda Margin error [Re: jcl] #473182
06/19/18 08:48
06/19/18 08:48
Joined: Dec 2016
Posts: 14
T
tnktnns Offline OP
Newbie
tnktnns  Offline OP
Newbie
T

Joined: Dec 2016
Posts: 14
Ah ha! That seems to be what's wrong: Zorro is trying to connect to my empty MT4 subaccount. Thanks a lot for the tip!

My question now, however, is how to direct Zorro to my primary account? Is there a separate/unique access token I need?

thanks again

Re: Oanda Margin error [Re: tnktnns] #473183
06/19/18 09:15
06/19/18 09:15
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline
User
MatPed  Offline
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
If you use the api, just set the proper account number e the api key. Check the manual at the Oanda Plugin section.
Ciao

Re: Oanda Margin error [Re: MatPed] #473203
06/21/18 09:29
06/21/18 09:29
Joined: Dec 2016
Posts: 14
T
tnktnns Offline OP
Newbie
tnktnns  Offline OP
Newbie
T

Joined: Dec 2016
Posts: 14
Oh yeah That worked! i always thought the User field on Zorro was meant only for the general broker Username.

Thanks everybody for the help!


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