Closed saeedesmaili closed 6 years ago
your v1 account looks like: 1234567, the v20 account looks like: 123-456-123456.
If you did use the correct account then you should revoke the token and generate a new one. If you don't have a v20 test account, get one ... and regenerate that token right away .
Then try again.
... this piece of code works fine. You definitely must seek it in your account/token, just as the V20 error suggests. Therefore I will close this issue.
@saeedesmaili by coincidence I saw you also opened the same issue at https://github.com/benjaminchodroff/oandamomentum/issues/3, which was actually the right place since it concerns his repo. Pls. close that issue since there is no need to waste someones time on an already resolved issue. Next time pls. only open an issue once.
Thanks for your help and advice. I closed that issue.
I've cloned this jupyter notebook file, but running the following snippet leads to an error:
My access token is correct and works fine with v1 api.