Skip to main content
POST
Subscribe: Spot 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:
cancelAllOrdersAfterSpot
Example:

"cancelAllOrdersAfterSpot"

timeout_seconds
integer

Required when subscribing. Zero disarms. Omit when unsubscribing.

Example:

30

Response

200 - application/json

Channel update for cancelAllOrdersAfterSpot

type
enum<string>
Available options:
subscribed,
unsubscribed,
update
channel
enum<string>
Available options:
cancelAllOrdersAfterSpot
data
object