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

get_open_orders does not provide all open orders when parameter market = None #123

Open
JosephMRally opened this issue Jan 10, 2018 · 1 comment

Comments

@JosephMRally
Copy link

Per bittrex horribly written API documents: "market | optional | a string literal for the market (ie. BTC-LTC)".

Yet calling the API with None gives...

bittrex.get_open_orders(None)
Out[16]: {'message': 'MARKET_NOT_PROVIDED', 'result': None, 'success': False}

@h4ng3r
Copy link

h4ng3r commented Jan 18, 2018

Dear @ultrarelativistic
Seems that it's a bug in the Bittrex API.
You can workaround it switching to V1.1 API only for this call:

my_bittrex.api_version=API_V1_1
open_orders = my_bittrex.get_open_orders()
my_bittrex.api_version=API_V2_0

Remember that API V2.0 is in BETA, so you may want to fully switch to V1.1 which is the stable version.

Best regards

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