Discussions

Ask a Question
Back to All

Cannot get orderbook depth for some symbols

Hello,

I am trying to get the depth of the orderbook for some trading pairs using the GET request:

https://api.huobi.com/market/depth?symbol=ethbtc&type=step0'

This works well for some pairs, such as ETH-BTC, or LTC-BTC, but I get an error when I try other pairs such as OMG-BTC:

https://api.huobi.com/market/depth?symbol=omgbtc&type=step0'

{'ts': 1557692702065, 'status': 'error', 'err-code': 'invalid-parameter', 'err-msg': 'invalid symbol'}

Could you please help?

Thanks a lot!
Julia