Hey. I was using OKX client GetDepth method like this, I provided wrong symbol like BTCUSDT instead of BTC-USDT and got panic. I think it should not panic and return error instead if something is wrong. It works fine with correct BTC-USDT symbol tho.
Hey. I was using OKX client GetDepth method like this, I provided wrong symbol like
BTCUSDT
instead ofBTC-USDT
and got panic. I think it should not panic and return error instead if something is wrong. It works fine with correctBTC-USDT
symbol tho.i got following panic: