verata-veritatis / pybit

Python3 API connector for Bybit's HTTP and Websockets APIs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Websocket - logger error for 'stop_order_id'

kitt-th opened this issue · comments

Greets,

I'm getting the following error from the logging module when a stoploss order is placed or modified on the testnet. I can only presume that the bybit websocket is passing back 'stop_order_id' as a parameter which is not expected?

ERROR - error from callback <bound method WebSocket._on_message of <pybit.WebSocket object at 0x1a1b442ad0>>: 'stop_order_id'

Conditional order placement and modify orders are working fine for me BTW, the error just appears when orders are sent / modified.

Any idea why this is happening?

Thanks

Duplicate issue: #21.