Futures · Trading
Close order/position
Changed onReturns true when closed or already closed; repeating a close is safe. A rejected close returns 400 with a coded ApiErrorDto.
put/api/futures/trade/close
Request
- Base URLhttps://api.binibit.com
- URLhttps://api.binibit.com/api/futures/trade/close
- Authnone declared
Headers
Your API key, verbatim. Create one at https://azbit.com/dashboard/settings/api-settings.
Signature of THIS request — lower-case hex of HMAC-SHA256 over publicKey + fullUrl + body, keyed with your private key. It changes with every request, so it cannot be set once and reused. Full algorithm and code samples are at the top of this page.
Request body
Response
OK
boolean required
Changes
- info
endpoint added
- info