Skip to main content
POST
Subscribe: Perps Dead Man's Switch

Body

application/json
op
enum<string>
required

Operation type.

Available options:
subscribe,
unsubscribe
Example:

"subscribe"

channel
enum<string>
required

Channel for this subscription.

Available options:
cancelAllOrdersAfterPerps
Example:

"cancelAllOrdersAfterPerps"

timeout_seconds
integer
required

Dead man's switch timeout, in seconds. All resting orders are cancelled if no further heartbeat is received within this window.

Example:

30

Response

200 - application/json

Channel update for cancelAllOrdersAfterPerps

type
enum<string>
Available options:
update
channel
enum<string>
Available options:
cancelAllOrdersAfterPerps
data
object