Update self trade strategy
Trading Settings
Update self trade strategy
Updates account-wide self-trade matching behavior to given strategy.
PUT
Update self trade strategy
Authorizations
General API key with full access
Authentication string
Query Parameters
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-accountCANCEL_MAKER_SELF- only cancels the maker order if it is from the same account that sent the taker orderCANCEL_MAKER_CHILD- only allows master to cancel its own maker orders and orders from its sub-accountCANCEL_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
- Success Response
- Errors
Self trade strategy response
Self trade matching behaviour:
REJECT_TAKER- default behaviour, rejects the taker order that would match against a maker order from any sub-accountCANCEL_MAKER_SELF- only cancels the maker order if it is from the same account that sent the taker orderCANCEL_MAKER_CHILD- only allows master to cancel its own maker orders and orders from its sub-accountCANCEL_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 Available options:
success Example:
"success"
Server time in Coordinated Universal Time (UTC)
Example:
"2020-08-27T17:03:33.196Z"