Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by M_D. 04/26/24 20:22
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (M_D, AndrewAMD, Quad, Ayumi), 806 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Oanda and third party applications #459503
05/24/16 12:15
05/24/16 12:15
Joined: May 2016
Posts: 4
D
Darxtar Offline OP
Guest
Darxtar  Offline OP
Guest
D

Joined: May 2016
Posts: 4
Hi all,

I am new here and am interested in using Zorro S with Oanda,
however I want to test the results of the Z7 strategy in the test account.
I am also planning to work on my own strategies, when I get more confident with writing scripts laugh

My situation:
I have generated a token in the demo account, put it in the password field without any username and tried to trade on the demo oanda account as suggested in the docs.
After pressing "Trade" I received the following error:

Z7 (oP group) ..
Login Oanda (demo)..
!The access token provided does not allow this request to be made
!No valid account!
Can't connect!

After a little bit of searching, I came across the following link:

http://developer.oanda.com/rest-live/authentication/

..which states:
**************************************
Third Party Applications
OANDA supports third party applications to access the OANDA API on behalf of OANDA users.
OANDA’s API uses the OAuth 2.0 protocol to provide this capability. It is the responsibility of
the third party application to successfully complete the OAuth authentication flow to obtain
the required access token. Depending on the application, third party applications will use
either the server-side or the client-side OAuth flows offered by OANDA.

Once the access token has been obtained, your application can use it in the same manner
a personal access token is used.

Register Your Application

Contact api@oanda.com to register your application with OANDA. Please clearly state in the email
that you would like to register your application with the OANDA API and provide the following information.

Application name
Application description
Authorized redirect URI (The HTTP redirect URIs must be protected with TLS security)
Once all required information is received and approved by OANDA*, we will then provide you with the following credentials.

Client Application Id
Client Application Secret
Please treat the client application secret as a password and keep it in a secure location.

*Please note: OANDA does not guarantee that your application will be accepted. All applications are subjected to
OANDA due diligence review. If you are successful in your application, please note that you will be bound by the
relevant terms and conditions stipulated by OANDA.

****************************************

My questions are:
What would you recommend for the following:

Application name <= have you named it Zorro or mentioned explicitly this was a trading bot: e.g. Z7bot?
Application description
Authorized redirect URI (The HTTP redirect URIs must be protected with TLS security) <= what is the redirect URI used by Zorro?
What do they mean about the OANDA due diligence review?

Thank you all in advance for your help and suggestions, I hope this question is useful to other newbies too!

Cheers

Re: Oanda and third party applications [Re: Darxtar] #459511
05/24/16 14:20
05/24/16 14:20
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Contact Oanda and request a token for API access. Normally your demo account token should work anyway, but we got reports from some users that had to contact Oanda explicitely.

You need not register Zorro - all you need is an API access token.

Re: Oanda and third party applications [Re: jcl] #459610
05/27/16 17:16
05/27/16 17:16
Joined: May 2016
Posts: 4
D
Darxtar Offline OP
Guest
Darxtar  Offline OP
Guest
D

Joined: May 2016
Posts: 4
The fix was to request a legacy account.

Thanks


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