Trading
Cancel all orders
Clear every resting order at once, or only those on one pair.
curl --request DELETE \
--url "https://reirex.com/api/v1/orders?pair=BTC-EUR" \
--header "GX-API-KEY: $GX_API_KEY" \
--header "GX-API-TIMESTAMP: $TIMESTAMP" \
--header "GX-API-SIGN: $SIGNATURE"200 OKapplication/json
{
"cancelled": ["01JA8K3Q7W2N5X4Y6Z8B0C1D2E", "01JA8K5B2M8R3T6V9X1Z4C7E0G"]
}Wire this to your kill switch: one request, and nothing of yours is left in any book.
Query parameters
pairstringOnly cancel the orders on this pair.
Response
cancelledstring[]The ids of the orders cancelled.

