BitMEX / api-connectors

Libraries for connecting to the BitMEX API.

Home Page:https://www.bitmex.com/app/restAPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recommend updating the Quickstart section of the README page

parkershamblin opened this issue · comments

The following code from the Quickstart sample in the README is no longer working due to an update on BitMEX's end.

client.Quote.Quote_get(symbol='XBTUSD').result()

Response from Bitmex support: "Currently, our /quote endpoint is disabled. We have temporarily disabled the endpoint to ensure smooth engine performance. At this stage, we do not have an estimated time as to when this will be back up and running, but there will be an announcement when this has been resolved."

This is what I used instead when setting up and I think it might be a good replacement.

client.OrderBook.OrderBook_getL2(symbol='XBTUSD').result()