Futures · Trading

Update take profit

Changed on
put/api/futures/trade/update-take-profit

Request

  • Base URL
    https://api.binibit.com
  • URL
    https://api.binibit.com/api/futures/trade/update-take-profit
  • Auth
    none 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

orderIdstring nullable

Order or position to change.

takeProfitnumber double nullable

New take-profit trigger price. Send null to remove it and let the position run.

Response

OK

boolean required

Changes