Gamestudio Links
Zorro Links
Newest Posts
AssetsSP50.csv
by oldflatop. 04/19/21 10:21
Experience with Dukascopy plugin
by Hajoha. 04/19/21 09:11
OANDA-US No Balance Showing
by nullantechamber. 04/18/21 10:24
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/17/21 15:55
Script Template
by DdlV. 04/17/21 15:07
Sierra Chart Plugin
by AndrewAMD. 04/16/21 13:21
AUM Magazine
Latest Screens
Hecknex World
Scheherazade's Journey
Paradox Vector
The Space Between
Who's Online Now
8 registered members (AndrewAMD, Dooley, oldflatop, AdamWu, 3run, Hajoha, 2 invisible), 392 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
nayan, taygeezy, dadbean, VizTra, simonkrebs
18629 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Oanda demo not connecting... [Re: 1ND1G0] #482476
02/11/21 04:57
02/11/21 04:57
Joined: Sep 2019
Posts: 16
Naperville
K
kzhao Offline
Newbie
kzhao  Offline
Newbie
K

Joined: Sep 2019
Posts: 16
Naperville
https://api-fxpractice.oanda.com/v3/accounts/<account_id> is not redirected by Oanda. It seems Zorro needs to query the specified account, not all accounts.

Re: Oanda demo not connecting... [Re: 1ND1G0] #482477
02/11/21 11:10
02/11/21 11:10
Joined: Jul 2000
Posts: 27,479
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,479
Frankfurt
We confirm this problem. Apparently there's some issue since some days with the Oanda REST API. With curl it doesn't work either. We're in contact with them and will post here when we got new information.

Re: Oanda demo not connecting... [Re: 1ND1G0] #482478
02/11/21 11:37
02/11/21 11:37
Joined: Jul 2000
Posts: 27,479
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,479
Frankfurt
The reason of the problem is that a certain API command, for reading the account list, does not work anymore since last week. This does not affect running sessions, but it affects login to Oanda.

We've uploaded a modified Oanda plugin that does not use this command. You can download it here: http://opserver.de/down/Oanda.zip.

You can login with this plugin, but must now enter your account ID in the User field. Leaving the field open does not work anymore.

I hope that Oanda fixes the problem soon.

Re: Oanda demo not connecting... [Re: 1ND1G0] #482480
02/11/21 15:20
02/11/21 15:20
Joined: Feb 2021
Posts: 2
A
an41 Offline
Guest
an41  Offline
Guest
A

Joined: Feb 2021
Posts: 2
Thank you jcl. I can confirm this dll solves this problem. Much appreciated.

It does work with curl. HTTP redirects need to be followed. curl -L

curl -v -H "Content-Type: application/json" -H "Authorization: Bearer DummyAPIKey" "https://api-fxpractice.oanda.com/v3/accounts"
Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x55746ec5d800)
GET /v3/accounts HTTP/2
Host: api-fxpractice.oanda.com
user-agent: curl/7.68.0
accept: /
content-type: application/json
curl -v -H "Content-Type: application/json" -H "Authorization: Bearer DummyAPIKey" ""https://api-fxpractice.oanda.com/v3/users/@/accounts"
{"accounts":[{"id":"101-001-FAKENUMBER-001","tags":[]}]}
curl -L -H "Content-Type: application/json" -H "Authorization: Bearer DummyAPIKey" "https://api-fxpractice.oanda.com/v3/accounts"
{"accounts":[{"id":"101-001-FAKENUMBER-001","tags":[]}]}

Re: Oanda demo not connecting... [Re: 1ND1G0] #482576
03/01/21 12:50
03/01/21 12:50
Joined: Oct 2017
Posts: 50
Munich
K
kalmar Offline
Junior Member
kalmar  Offline
Junior Member
K

Joined: Oct 2017
Posts: 50
Munich
FYI: if someone needs to hear this for me the connections to Oanda demo accounts works now

Re: Oanda demo not connecting... [Re: 1ND1G0] #482584
03/02/21 12:47
03/02/21 12:47
Joined: Jul 2000
Posts: 27,479
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,479
Frankfurt
We have implemented a redirection in the latest Zorro version. It should have solved that problem.

Page 2 of 2 1 2

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