Open a futures position
Changed onLimit or market via isMarket, long or short via isLong. Stop-loss and take-profit are levels attached to this order, not orders of their own — there is no separate stop-entry type. The margin comes from the UTA account named in futuresAccountId. A repeated clientOrderId returns 200 with the original order id and isExisting=true; repeat parameters are not compared. Status 30 or 40 means the original order did not become a position. A 200 response always carries a non-empty id; a rejection is always a 400 response with an PublicApi.Models.ApiErrorDto.
Request
- Base URLhttps://api.binibit.com
- URLhttps://api.binibit.com/api/futures/trade/create-order
- 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
Changes
- info
endpoint added
- info