Skip to main content

Cancel orders after

POST 

/cancelOrdersAfter

Creates an identifier used to group open orders and sets the countdown timer after which those orders are automatically canceled.

To learn how to use this endpoint, see Cancel on disconnect.

info

This is a private endpoint. To send requests, you need to authenticate.

info

💡You can create only one group. If you need to create multiple groups, reach out to your Bitvavo contact to enable this.

Rate limit weight points: 5

Request​

Body

    codGroupIdintegerrequired

    Your identifier for a group of orders.

    Possible values: >= 1 and <= 1000

    Example: 1
    expiryAfterSecondsintegerrequired

    Your countdown timer in seconds after which open orders are canceled.

    Possible values: >= 10 and <= 300

    Example: 30

Responses​

The request was successful.

Response Headers
    bitvavo-ratelimit-remaining

    The number of remaining weight points before it resets at bitvavo-ratelimit-resetat.

    bitvavo-ratelimit-resetat

    The time when bitvavo-ratelimit-remaining resets to bitvavo-ratelimit-limit.

    bitvavo-ratelimit-limit

    The number of available weight points in one minute.

Schema
    codGroupIdinteger

    Your identifier for a group of orders.

    Example: 1
    timeOfExpirySecondsinteger<unix-timestamp in seconds>

    Your countdown timer in seconds after which open orders are canceled.

    Example: 17202139111