New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
secmaster_db_symbol_loader fails with insufficient auth #6
Comments
This is related to the oanda api creds not being updated. You need to supply your oanda creds to this file: https://github.com/saeed349/Microservices-Based-Algorithmic-Trading-System/blob/master/Storage/q_pack/q_credentials/oanda_cred.py |
I dont have onda account and they have close account opening for india |
Hi. I heve valid acc_id_practice and token_practice, i test it on curl -H "Authorization: Bearer 65977df04d32049a40a9b64cb802ca6a-*******" https://api-fxtrade.oanda.com/v3/accounts |
I guess it works without this oanda cred, and this [oanda_cred.py] in the repo only stands for en example? |
Built using Ubuntu 16.04.7 LTS
Docker version 20.10.1, build 831ebea
docker-compose version 1.27.4, build 40524192
Traceback (most recent call last):
File "/home/jovyan/work/q_pack/db_pack/schema/secmaster_db_symbol_loader.py", line 131, in
main()
File "/home/jovyan/work/q_pack/db_pack/schema/secmaster_db_symbol_loader.py", line 118, in main
symbols = parse_wiki_forex()
File "/home/jovyan/work/q_pack/db_pack/schema/secmaster_db_symbol_loader.py", line 38, in parse_wiki_forex
rv = client.request(r)
File "/opt/conda/lib/python3.8/site-packages/oandapyV20/oandapyV20.py", line 305, in request
response = self.__request(method, url,
File "/opt/conda/lib/python3.8/site-packages/oandapyV20/oandapyV20.py", line 242, in __request
raise V20Error(response.status_code,
oandapyV20.exceptions.V20Error: {"errorMessage":"Insufficient authorization to perform request."}
The text was updated successfully, but these errors were encountered: