2026-5-21
2026-05-21¶
Futures V3 & Testnet — Self-Trade Prevention (STP) Mode
- Added 2 new endpoints in Futures V3 and Futures Testnet (EN & ZH), placed between
Get Current Position ModeandChange Multi-Assets Mode: POST /fapi/v3/stpMode— Change STP Mode (TRADE): sets the account-level Self-Trade Prevention mode applied to all orders by default. Accepted values:EXPIRE_TAKER,EXPIRE_MAKER,EXPIRE_BOTH. Weight 1.GET /fapi/v3/stpMode— Get Current STP Mode (USER_DATA): returns the account's current STP mode. Weight 30.-
Both endpoints authenticate via
nonce+signer(API wallet address) +signature. -
Added optional
stpModeparameter toPOST /fapi/v3/order— Place Order parameter table in Futures V3 and Futures Testnet (EN & ZH): -
stpMode(ENUM, optional) — Self-Trade Prevention mode for this individual order; overrides the account-level default. Same accepted values as above. -
Added the STP Mode (stpMode) ENUM definition block to Futures V3 / Futures Testnet
general-info(EN) and Futures V3general-info(ZH), listingEXPIRE_TAKER/EXPIRE_MAKER/EXPIRE_BOTH.