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

v1 vs v3 are not about public vs private calls, and ticker calls use obsolete API #271

Open
wranai opened this issue May 2, 2018 · 1 comment

Comments

@wranai
Copy link

@wranai wranai commented May 2, 2018

v1 and v3 are treated as if they were related to public vs private (and widthraw) calls:

PUBLIC_API_VERSION = 'v1'
PRIVATE_API_VERSION = 'v3'
WITHDRAW_API_VERSION = 'v3'

I believe this is a mistake, proven by that the v1 ticker endpoints (used by the client) have been retired in favor of v3 versions with the same functionality:

  • v1/ticker/allPrices => v3/ticker/price
  • v1/ticker/allBookTickers => v3/ticker/bookTicker

#270 may be the result of undocumented changes to the (now unofficial) v1 endpoints that the client is still using:

return self._get('ticker/allPrices')

return self._get('ticker/allBookTickers')

Both of the above functions reference documentation that no longer exists.

EDIT: the v3 version is probably just an alias to v1 because it exhibits the same bug that #270 is about.

@wranai wranai changed the title v1 vs v3 are not about public vs private calls, and v1 vs v3 are not about public vs private calls, and ticker calls use obsolete API May 2, 2018
@aghamir
Copy link

@aghamir aghamir commented Jul 3, 2018

Is there any progress in this issue?

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.