-
Notifications
You must be signed in to change notification settings - Fork 38
QueryExchangeState Market Name is None. #68
Comments
It’s not enabled on the main endpoint. I have added a custom tag to the payload which identifies the market.
…
On Jun 22, 2018 at 9:34 am, <Cai Yundong ***@***.***)> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (#68), or mute the thread (https://github.com/notifications/unsubscribe-auth/AbVUG5dmz__jWk_rtzb3s_otPzPGpPJnks5t_I_bgaJpZM4UzN5B).
|
@slazarov hi slazarov, can you please explain a bit more how i can get the custom tag? Thank you. |
If you are using an IDE, you can set a breakpoint on the payload and inspect it upon debuging.
…
On Jun 22, 2018 at 12:28 pm, <Cai Yundong ***@***.***)> wrote:
@slazarov (https://github.com/slazarov) hi slazarov, can you please explain a bit more how i can get the custom tag? Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (#68 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AbVUGz45WcJEqRC5mUpKcrt0Z0_5-yn8ks5t_LirgaJpZM4UzN5B).
|
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? |
As I said it’s not enabled on the main endpoint. My advice is to use an IDE (usually you should use one when developing) and inspect the payload so that you could see the custom tag next to MarketName. I don’t have PC access right now so I can’t name the specific tag.
…
On Jun 22, 2018 at 12:44 pm, <Cai Yundong ***@***.***)> wrote:
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?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (#68 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AbVUG0PF46Zx_-zwj0qgPhOSgGX5m6sIks5t_LxggaJpZM4UzN5B).
|
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. |
@slazarov Thanks for your msg, I can get via "ticker". Just a bit curious, why not use the "M" to store the market name? |
“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. |
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.
The text was updated successfully, but these errors were encountered: