Skip to main content
PUT
Update self trade strategy

Authorizations

APIKey
string
header
required

General API key with full access

Authent
string
header
required

Authentication string

Query Parameters

strategy
enum<string>
required

Defines self trade behaviour Self trade matching behaviour:

  • REJECT_TAKER - default behaviour, rejects the taker order that would match against a maker order from any sub-account
  • CANCEL_MAKER_SELF - only cancels the maker order if it is from the same account that sent the taker order
  • CANCEL_MAKER_CHILD - only allows master to cancel its own maker orders and orders from its sub-account
  • CANCEL_MAKER_ANY - allows both master accounts and their subaccounts to cancel maker orders
Available options:
REJECT_TAKER,
CANCEL_MAKER_SELF,
CANCEL_MAKER_CHILD,
CANCEL_MAKER_ANY

Response

200 - application/json

Self trade strategy was successfully updated

Self trade strategy response

strategy
enum<string>
required

Self trade matching behaviour:

  • REJECT_TAKER - default behaviour, rejects the taker order that would match against a maker order from any sub-account
  • CANCEL_MAKER_SELF - only cancels the maker order if it is from the same account that sent the taker order
  • CANCEL_MAKER_CHILD - only allows master to cancel its own maker orders and orders from its sub-account
  • CANCEL_MAKER_ANY - allows both master accounts and their subaccounts to cancel maker orders
Available options:
REJECT_TAKER,
CANCEL_MAKER_SELF,
CANCEL_MAKER_CHILD,
CANCEL_MAKER_ANY
result
enum<string>
required
Available options:
success
Example:

"success"

serverTime
string<date-time>
required

Server time in Coordinated Universal Time (UTC)

Example:

"2020-08-27T17:03:33.196Z"