Cancel Order

This section documents the cancel_order action

This action is used to cancel all resting orders for a specified coin


Example Request

This example cancels all resting orders on BTC

{
  "action": "cancel_order",
  "coin": "BTC",
  "bot_id": BOT_ID,
  "api_key": "API_KEY"
}

coin*

This required parameter indicates which coin to use for the action.

"coin": "BTC"

delay

This parameter specifies a number of seconds to wait before triggering the action

  • A value of 5 is equal to a 5 seconds delay

  • Max. allowed delay is 10 seconds

"delay": 5

Last updated

Was this helpful?