Update self trade strategy
PUT/self-trade-strategy
Updates account-wide self-trade matching behavior to given strategy.
Request
Query Parameters
Possible values: [REJECT_TAKER
, CANCEL_MAKER_SELF
, CANCEL_MAKER_CHILD
, CANCEL_MAKER_ANY
]
Defines self trade behaviour
Responses
- 200
Self trade strategy was successfully updated
- application/json
- Schema
Schema
- Success Response
- ErrorResponse
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 ordersaccountInactive
: The Futures account the request refers to is inactiveapiLimitExceeded
: The API limit for the calling IP address has been exceededauthenticationError
: The request could not be authenticatedinsufficientFunds
: The amount requested for transfer is below the amount of funds availableinvalidAccount
: The Futures account the transfer request refers to is invalidinvalidAmount
: The amount the transfer request refers to is invalidinvalidArgument
: One or more arguments provided are invalidinvalidUnit
: The unit the transfer request refers to is invalidJson Parse Error
: The request failed to pass valid JSON as an argumentmarketUnavailable
: The market is currently unavailablenonceBelowThreshold
: The provided nonce is below the thresholdnonceDuplicate
: The provided nonce is a duplicate as it has been used in a previous requestnotFound
: The requested information could not be foundrequiredArgumentMissing
: One or more required arguments are missingServer Error
: There was an error processing the requestUnavailable
: The endpoint being called is unavailableunknownError
: An unknown error has occurred
Possible values: [REJECT_TAKER
, CANCEL_MAKER_SELF
, CANCEL_MAKER_CHILD
, CANCEL_MAKER_ANY
]
Self trade matching behaviour:
Possible values: [success
]
Server time in Coordinated Universal Time (UTC)
Possible values: [accountInactive
, apiLimitExceeded
, authenticationError
, insufficientFunds
, invalidAccount
, invalidAmount
, invalidArgument
, invalidUnit
, Json Parse Error
, marketUnavailable
, nonceBelowThreshold
, nonceDuplicate
, notFound
, requiredArgumentMissing
, Server Error
, Unavailable
, unknownError
]
Possible values: [accountInactive
, apiLimitExceeded
, authenticationError
, insufficientFunds
, invalidAccount
, invalidAmount
, invalidArgument
, invalidUnit
, Json Parse Error
, marketUnavailable
, nonceBelowThreshold
, nonceDuplicate
, notFound
, requiredArgumentMissing
, Server Error
, Unavailable
, unknownError
]
Error description.
Possible values: [error
]
Server time in Coordinated Universal Time (UTC)