Closed thomasschindler closed 4 years ago
Hi,
I have not encountered this error before.
I don't find any setup of the token
and accountID
in your Dockerfile.
You need these.
The URL shows: /v3/accounts/thomasschindler/instruments
that means you use thomasschindler
as account ID. That is not going to work.
The you need a V20-account number and the token. Check the README in the repo for details.
When you are sure that you have a correct token and account, you always can use curl
to check if things are OK, see examples: http://developer.oanda.com/rest-live-v20/account-ep/
One advise: start using Python3. Support for Python 2.7 will be dropped in january 2020
Thank you for your answer! I will use the accountID - my bad!
I have set up a docker image with this Dockerfile:
It sets everything up nicely - but when i run
root@ed209233d1bb:/oandapyV20-examples# python src/instruments_list.py
i get:
All i can find on this is that the server must be operating on an outdated TLS version. Do you have any experience with that?