Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 559 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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: 63
Naperville
K
kzhao Offline
Junior Member
kzhao  Offline
Junior Member
K

Joined: Sep 2019
Posts: 63
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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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: 56
Munich
K
kalmar Offline
Junior Member
kalmar  Offline
Junior Member
K

Joined: Oct 2017
Posts: 56
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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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