post
https://api.testnet.rise.trade/v1/orders/scaled/cancel
Terminate a scaled order: cancel every leg still resting on the book. Whatever has filled stays filled. Individual legs can also be cancelled one by one with POST /v1/orders/cancel.
The order becomes TERMINATED only when every leg is confirmed cancelled or closed. If failed_legs is non-zero the order stays OPEN and the call can simply be retried.
Errors: ABORTED while another terminate of the same order is still running; FAILED_PRECONDITION when the order is not open or has no resting legs left (e.g. it filled completely).
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…