bybit-exchange / pybit

Official Python3 API connector for Bybit's HTTP and WebSockets APIs.
Other
418 stars 135 forks source link

Copy Trading does not currently support this type of trading. (ErrCode: 12107) #245

Closed khanhtq closed 2 months ago

khanhtq commented 2 months ago

Hi, I got this error today. response = Copy Trading does not currently support this type of trading. (ErrCode: 12107) (ErrTime: 16:15:06). Request → POST https://api.bybit.com/v5/order/create: {"category": "linear", "symbol": "BTCUSD", "side": "Sell", "orderType": "Limit", "qty": "0.01", "price": "57100", "takeProfit": "55051.2919933816", "stopLoss": "58465.8053377456", "positionIdx": 1}. This API worked normally before, but I encountered an issue today. I tried many things, but I cannot fix it. Please help me!

Kamsby commented 2 months ago

BTCUD is inverse symbol and not supported for Copy Trading. You should use BTCUSDT

khanhtq commented 2 months ago

I got it, thank you!