Skip to content
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

AttributeError: 'AuthenticatedClient' object has no attribute 'cancelAll' #15

Closed
ReedJessen opened this issue Mar 30, 2017 · 4 comments
Closed

Comments

@ReedJessen
Copy link
Collaborator

authClient.cancelAll() doesn't seem to be working.

Any ideas?

import GDAX

authClient = GDAX.AuthenticatedClient(api_key, secret, passphrase, product_id="BTC-USD")

authClient.cancelAll()
Traceback (most recent call last):
  File "C:/PythonApps/gdax/run.py", line 42, in <module>
    authClient.cancelAll()
AttributeError: 'AuthenticatedClient' object has no attribute 'cancelAll'

Very willing to believe that this is something I am doing wrong but still can't figure out what it might be. I do see that AuthenticatedClient.cancelAll() exists in AuthenticatedClient.py.

@danpaquin
Copy link
Owner

danpaquin commented Mar 31, 2017

Hey Reed, thank you for reaching out! I wish I had the answer, but I do not have enough information to be 100% confident.

Did you install the package through PIP or a manual method? The cancelAll() method is quite recent and has not been added to the current version of PIP. I will update the PIP package shortly and post here when complete.

If this does not resolve the issue, please provide more information regarding how you are including the GDAX wrapper in your project and I will do my best to help.

@danpaquin
Copy link
Owner

danpaquin commented Mar 31, 2017

PIP has been updated to version 0.2.2, please update your project and let us know if you keep experiencing issues.

python -m pip install --upgrade gdax

@ReedJessen
Copy link
Collaborator Author

I am sure that's what it is. Will reinstall next week and close issue when it works. Thanks for your help and quick response.

@ReedJessen
Copy link
Collaborator Author

@danpaquin This solved the problem. The version on pip was behind the github version. Updating the pip version to the current status fixed it. Thanks for your help on this. Love the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants