Cancel All Orders
AI-generatedSummary
Cancel all open orders for the selected futures product.
Inputs
- environmentOverride — Choose whether to use the credential's setting, live or demo environment.
- productType — Select the futures market type (USDT-FUTURES, COIN-FUTURES, or USDC-FUTURES).
- marginCoin — The margin currency to use (e.g., USDT).
- symbol — Optional trading pair symbol to limit cancellation to.
- holdSide — Filter by order side (long, short, or both). Leave empty to cancel all.
Output shape
A JSON object containing an 'environment' field and the API response data.
The returned data mirrors the Bitget API response; on error the node may output an error object if continueOnFail is disabled.
Examples
Example 1: Cancel all USDT‑M perpetual orders on the live environment
Environment=Live, Product Type=USDT-FUTURES, Margin Coin=USDT, Symbol empty, Hold Side empty
Example 2: Cancel all orders for a specific symbol on demo
Environment=Demo, Product Type=COIN-FUTURES, Margin Coin=USDT, Symbol=BTCUSDT, Hold Side empty