The Binance API is opening positions with double the quantity specified in the request.

Hello,

I am opening positions for futures trading using the Binance Futures API and have encountered an unusual issue since last month. Specifically, I set the order quantity in my request, and the API response confirms that the order was opened with the specified quantity. To ensure accuracy, I perform an additional check with the FAPI endpoint, which also confirms the same quantity. Following this, I set the stop loss. (Refer to Pictures P1, P2, P3.)

The logs indicate that everything is functioning correctly. However, I noticed in my trade list and open positions that the quantity is doubled compared to what I set in the initial request (see Pictures P4 and P5).

My questions are:

  1. How did the trade with ID 13312038635 originate, as this is not the first time such an issue has occurred?
  2. Why does the account information in the API response fail to reflect this additional trade, even though it is clearly present in my trade and position lists?

Since I’m new user I can’t upload multiple pictures, sorry for inconvenience
P1 - Shows Current open positions
P2 - Shows Additional short position with quantity 59
P3 - Shows Setting stop loss for new position with quantity 59
P4 - Shows Order History
P5 - Shows Trade history with mysterious trade

Thank you for your time and I’m looking forward to your reply.
Best regards