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.
This is a private endpoint. To send requests, you need to authenticate.
💡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​
- application/json
- Schema
- Example (body)
Body
Your identifier for a group of orders.
Possible values: >= 1 and <= 1000
1Your countdown timer in seconds after which open orders are canceled.
Possible values: >= 10 and <= 300
30{
"codGroupId": 1,
"expiryAfterSeconds": 30
}
Responses​
- 200
- 4XX
The request was successful.
Response Headers
The number of remaining weight points before it resets at bitvavo-ratelimit-resetat.
The time when bitvavo-ratelimit-remaining resets to bitvavo-ratelimit-limit.
The number of available weight points in one minute.
- application/json
- Schema
- Example (body)
Schema
Your countdown timer in seconds after which open orders are canceled.
17202139111{
"codGroupId": 1,
"timeOfExpirySeconds": 17202139111
}
For error codes, see Handle errors.