OKX to implement mandatory Self-Trade Prevention

Publicado a 27/02/2024Atualizado a 4/04/2024Leitura de 2 minutos

Self-Trade Prevention (STP) aims to curb accidental self-trades, minimizing unnecessary trading fees and ensuring a compliant and fair trading environment.

In June 2023, OKX introduced STP as an optional feature for API users.

From 10 am UTC on March 14, 2024, OKX will mandate STP on a master account basis for all new orders across all trading symbols and business lines. This will prohibit trades between the same master account, between sub-accounts under the same master account, and between the same master account and its affiliated sub-accounts. For example, if master account A has 2 sub-accounts, A1 and A2, trades between the following accounts will be prohibited:

  • A with A
  • A1 with A1
  • A2 with A2
  • A with A1
  • A with A2
  • A1 with A2

Key reminders:

  • The default STP mode will cancel maker orders. If a taker order leads to self-trading, the maker order on the order book will be canceled, while the taker order will match with subsequent orders.
  • API users can select alternative STP modes by using the stpMode parameter with their new orders via the API endpoints for certain order types. Refer to the API documentation for details.
  • Self-trades may still occur between orders created before and after mandatory STP implementation.
  • For block trading, the maker will not receive the RFQ if the taker is under the same master account.
  • You can find orders canceled due to STP by going to Order history on the OKX website or app. API users can query Order history REST endpoints or subscribe to the Orders WebSocket channel for this information.

Further references:

OKX team

February 27, 2024