Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

QueryExchangeState Market Name is None. #68

Open
caiyundong opened this issue Jun 22, 2018 · 9 comments
Open

QueryExchangeState Market Name is None. #68

caiyundong opened this issue Jun 22, 2018 · 9 comments

Comments

@caiyundong
Copy link

When i fetch the snapshot with QueryExchangeState, I get the market name with value of None.

{'M': None, 'N': 23454, 'Z': [{'Q': 0.58308359, 'R': 0.0709}, ....

Anyone can help on this issue? Thanks.

@slazarov
Copy link
Owner

slazarov commented Jun 22, 2018 via email

@caiyundong
Copy link
Author

@slazarov hi slazarov, can you please explain a bit more how i can get the custom tag? Thank you.

@slazarov
Copy link
Owner

slazarov commented Jun 22, 2018 via email

@caiyundong
Copy link
Author

hi, I am not using any IDE. I am using the websocket to fetch the information based on your documentation (https://github.com/Bittrex/bittrex.github.io). It says QueryExchangeState gives MarketName, but now it gives None. Thus I am not able to get the first snapshot of the orderbooks. Can you advise how I can fetch the payload in the websocket implementation?

@slazarov
Copy link
Owner

slazarov commented Jun 22, 2018 via email

@caiyundong
Copy link
Author

sc1

hi, I can't find the tag, can you please kindly advise?

@slazarov
Copy link
Owner

Hi, the function I was talking about was in the 1.0.6.1 branch thats why it wasnt working for you. Please update and you would see it.
pip install git+https://github.com/slazarov/python-bittrex-websocket.git

@caiyundong
Copy link
Author

@slazarov Thanks for your msg, I can get via "ticker". Just a bit curious, why not use the "M" to store the market name?

@slazarov
Copy link
Owner

slazarov commented Jun 29, 2018

“M” is used by Bittrex so I don’t want to overwrite it. As a matter of fact it was fixed in the beta endpoint and it didn’t return “None” as per https://github.com/Bittrex/beta/issues/6. However, they haven’t pushed the change to main the endpoint or at least i haven’t been notified.

I created the custom tag because it’s a workaround and not the official one.

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

No branches or pull requests

2 participants