Skip to main content
PUT
/
self-trade-strategy
Update self trade strategy
curl --request PUT \
  --url https://futures.kraken.com/derivatives/api/v3/self-trade-strategy \
  --header 'APIKey: <api-key>' \
  --header 'Authent: <api-key>'
{
  "strategy": "REJECT_TAKER",
  "result": "success",
  "serverTime": "2020-08-27T17:03:33.196Z"
}

Documentation Index

Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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"