Cancel Stream
REQUESTwss://wss.prime.kraken.com/ws/v1
cancel
Cancels an existing stream by Request ID. No response, unless there is an error. Stream will just stop.
Request
- Request Schema
- Example
reqid number required
Request ID to cancel - must match an existing subscription request ID.
type string required
Value:
cancelRequest type for cancelling the subscription.
{
"reqid": 1,
"type": "cancel"
}
Response
No response is sent unless there is an error. The stream associated with the specified reqid will simply stop sending data.
If there is an error (e.g., the reqid doesn't exist or the stream is already cancelled), an error response may be sent with details about the failure.