I am recently searching for exchanges market data, and I am having some trouble with BISQ API. Maybe someone can help?
https://bisq.markets/apiI was impressed that there is no http endpoint for marketdata, like all centralized exchanges have. For example, look at coinbase:
https://api-public.sandbox.pro.coinbase.com/products/BTC-USD/ticker{
"trade_id": 31005739,
"price": "33956.43",
"size": "0.00029405",
"time": "2021-06-23T13:58:58.836006Z",
"bid": "33956.41",
"ask": "33956.43",
"volume": "24535.55485025"
}
I was able to find BISQ marketdata in this page, but I would like an API response:
https://bisq.network/markets/?currency=btc_usdAfter a few tries, using their websocket client, I was able to get last price in USD, but no Volume neither other currency data:
I made a jsfiddle here
https://jsfiddle.net/du0fLon9/If I sent a message "stats" I get the response
> SENT: stats
> RESPONSE: {"conversions":{"USD":34183.23365232756}}
Can anyone help? I am sure there is some way to get this data, as bisq is open source