Gamestudio Links
Zorro Links
Newest Posts
Old models with Mixamo animations
by rayp
Yesterday at 21:21
rayp's old school fast zombie FPS project
by rayp
Yesterday at 21:10
Votes for future features
by AndrewAMD
Yesterday at 18:08
Series within loop
by tradingest
Yesterday at 15:24
TMF info
by AndrewAMD
Yesterday at 15:24
text outline breiter machen?
by tagimbul
Yesterday at 12:26
Reset vars
by tradingest
Yesterday at 00:40
AUM Magazine
Latest Screens
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Who's Online
5 registered (Akow, RealSerious3D, AndrewAMD, thewalruss, 1 invisible), 442 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
jiffdbf, jgtrader, Chefmac, BazGen, pallab1964
18079 Registered Users
Topic Options
Rate This Topic
#473010 - 06/08/18 17:45 Oanda Margin error
tnktnns Offline

Registered: 12/22/16
Posts: 4
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.

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!

Edited by tnktnns (06/08/18 17:46)

#473054 - 06/11/18 16:34 Re: Oanda Margin error [Re: tnktnns]
Spirit Offline

Registered: 09/02/03
Posts: 780
"insufficient margin" means you must have enough capital on your account before you can trade.

#473114 - 06/14/18 10:25 Re: Oanda Margin error [Re: Spirit]
tnktnns Offline

Registered: 12/22/16
Posts: 4
i put $2500 in my Oanda account to play around with, is that not enough?

thanks for the reply

#473125 - 06/15/18 15:41 Re: Oanda Margin error [Re: tnktnns]
jcl Offline

Chief Engineer

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

#473182 - 06/19/18 10:48 Re: Oanda Margin error [Re: jcl]
tnktnns Offline

Registered: 12/22/16
Posts: 4
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

#473183 - 06/19/18 11:15 Re: Oanda Margin error [Re: tnktnns]
MatPed Offline
Senior Member

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

#473203 - 06/21/18 11:29 Re: Oanda Margin error [Re: MatPed]
tnktnns Offline

Registered: 12/22/16
Posts: 4
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!


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

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