verata-veritatis / pybit

Python3 API connector for Bybit's HTTP and Websockets APIs.
MIT License
117 stars 193 forks source link

Websocket - logger error for 'stop_order_id' #20

Closed kitt-th closed 3 years ago

kitt-th commented 3 years ago

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

verata-veritatis commented 3 years ago

Duplicate issue: https://github.com/verata-veritatis/pybit/issues/21.