Gamestudio Links
Zorro Links
Newest Posts
Error 072 & Orphaned Rogue Trade - Bug?
by DdlV
Yesterday at 04:09
Why history files are different since version 1.83?
by kvm
08/16/18 17:39
Stop, Trail etc
by AndrewAMD
08/16/18 15:00
Performance reporting showing Annual and monthly % returns
by jcl
08/16/18 11:09
Trade only within regular trading hours
by Jeff1228
08/16/18 10:18
Issue with inconsistent test results
by kvm
08/15/18 17:24
Access string content through another string
by ChrstphFr
08/15/18 11:30
AUM Magazine
Latest Screens
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Forgotten Tales - Demo version
Who's Online
14 registered (mk_1, 3DCat, Michael_Schwarz, Angerbeer, alibaba, Ivan3333, LDM, 5 invisible), 441 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Ulenspegel, toto, FloMi, behr065, OptimusPrime
18027 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: 772
"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: 26431
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: 449
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)