Sends a single, new order into the exchange. A range of order types, Time-In-Force (TIF) and order flags can be specified by the parameters below.For triggered order types (stop-loss, take-profit, trailing-stop), the triggers section contains the parameters for price tracking and trigger thresholds.For One-Triggers-Other (OTO) orders, the conditional section contains the parameters to add a secondary close order to the primary order.
One of:static Default:static Condition: Only available on trailing-stop-limit ordersThe units for the limit price. Only static is supported for derivatives.
static: a static market price for the asset, i.e. 30000 for BTC/USD.
Note, for trailing-stop-limit order type, the value represents offset from the trigger price. 0 would set a limit price the same as the trigger price.
One of:index, last Default:lastThe reference price to track for triggering orders.
index: the index price in the broader market (for this pair). Note, to keep triggers serviceable during connectivity issues with external index feeds, the last price will be used as the reference price.
last: the last traded price in the Kraken order book (for this pair).
Specifies the amount for the trigger price - it supports both static market prices and relative prices. This field is used in combination with the price_type field below to determine the effective trigger price.Examples:
To trigger at 29000.5 BTC/USD, use price=29000.5, price_type=static.
To trigger when price rises by 5%, use price=5, price_type=pct.
To trigger when price drops by 150 USD, use price=-150, price_type=quote.
One of:false, true Default:false Condition: Not available for derivatives (futures are inherently margined)Funds the order on margin using the maximum leverage for the pair (maximum is leverage of 5).
One of:true, false Default:false Condition: Orders with limit price onlyCancels the order if it will take liquidity on arrival. Post only orders will always be posted passively in the book.
One of:true, false Default:falseReduces an existing margin position without opening an opposite long or short position worth more than the current value of your leveraged assets.
Format: RFC3339 Example:2022-12-25T09:30:59.123ZRange of valid offsets (from current time) is 500 milliseconds to 60 seconds, default is 5 seconds. The precision of this parameter is to the millisecond. The engine will prevent this order from matching after this time, it provides protection against latency on time sensitive orders.
Condition: Not available for derivatives (use cl_ord_id instead)This is an optional non-unique, numeric identifier which can associated with a number of orders by the client. This field is mutually exclusive with cl_ord_id parameter.Many clients choose a unique integer value generated by their systems (i.e. a timestamp). However, because we don’t enforce uniqueness on our side, it can also be used to easily tag a group of orders for querying or cancelling.
The conditional parameters are used as a template for generating the secondary close orders when the primary order fills. Each fill on the primary order will generate a new secondary order. The size of the secondary order will be the same size as the executed quantity and have the opposite side.
One of:limit, stop-loss, stop-loss-limit, take-profit, take-profit-limit, trailing-stop, trailing-stop-limitDefines the order type of the secondary close orders which will be created on each fill.
Defines the limit price on the secondary close orders. Only required on secondary order types that support limit price: limit, stop-loss-limit, take-profit-limit.
One of:static Default:static Condition: Only available on trailing-stop-limit ordersThe units for the limit price on the secondary order. Only static is supported for derivatives.
static: a static market price for the asset, i.e. 30000 for BTC/USD.
Note, for trailing-stop-limit order type, the value represents offset from the trigger price. 0 would set a limit price the same as the trigger price.
Specifies the amount for the trigger price - it supports both static market prices and relative prices. This field is used in combination with the price_type field below to determine the effective trigger price.Examples:
To trigger at 29000.5 BTC/USD, use price=29000.5, price_type=static.
To trigger when price rises by 5%, use price=5, price_type=pct.
To trigger when price drops by 150 USD, use price=-150, price_type=quote.
Note, for trailing-stop and trailing-stop-limit order types, the price represents the reversion from the peak. It is always a positive offset value.
Deprecated: Use trigger_priceDefines the trigger price on the secondary close orders. Only required on triggered secondary order types: stop-loss, stop-loss-limit, take-profit, take-profit-limit.
Condition: Not available for derivativesDefines the quantity to show in the book while the rest of order quantity remains hidden. Minimum value is 1 / 15 of order_qty.
One of:base, quote Condition: Not available for derivatives (fee currency is fixed per contract)Fee preference base or quote currency. quote is the default for buy orders, base is the default for sell orders.
One of:true, false Default:false Condition: Market orders only Deprecated: If supplied, the flag is accepted but ignoredDisables Market Price Protection (MPP) if set to true. MPP is a feature that protects market orders from filling at a bad price due to price slippage in an illiquid or volatile market.
One of:cancel_newest Default:cancel_newestSelf Trade Prevention (STP) is a protection feature to prevent users from inadvertently or deliberately trading against themselves. Only cancel_newest is available for derivatives.
Condition: Not available for derivativesAdds a alphanumeric sub-account/trader identifier which enables STP to be performed at a more granular level.The sender_sub_id parameter can be one of the following formats:
Long UUID: 6d1b345e-2821-40e2-ad83-4ecb18a06876 32 hex characters separated with 4 dashes.
Short UUID: da8e4ad59b78481c93e589746b0cf91f 32 hex characters with no dashes.
Free text: arb-20240509-00010 Free format ascii text up to 18 characters.
Format: 16 alphanumeric characters (A-Z, 0-9) in 4 groups of 4 Example:AA16N84GV574COOQBroker IIBAN (Partner’s Kraken IIBAN). Attributes the order to the broker placing it on behalf of their client, so partner commission can be paid.Available to qualified partners in Kraken’s API Partner Program. Both spellings are accepted and are equivalent:
Grouped: AA16 N84G V574 COOQ with a single space between each group of 4 characters.
Unspaced: AA16N84GV574COOQ 16 characters with no separators.
The order is rejected if the value is not a well-formed IIBAN, or if your account is not entitled to trade on behalf of the specified broker.
The timestamp when the response was sent on the wire, just prior to transmitting data. Format: RFC3339. Example: 2022-12-25T09:30:59.123456Z
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Kraken Developers","colors":{"primary":"#101114","light":"#FFFFFF","dark":"#101114"},"logo":{"light":"https://mintcdn.com/kraken/opwCJHYUnRFWd1O3/logo/light.svg?fit=max\u0026auto=format\u0026n=opwCJHYUnRFWd1O3\u0026q=85\u0026s=6be2f97a23f9a7aa6ef071ae334cc89c","dark":"https://mintcdn.com/kraken/opwCJHYUnRFWd1O3/logo/dark.svg?fit=max\u0026auto=format\u0026n=opwCJHYUnRFWd1O3\u0026q=85\u0026s=97e079a88bc1e9f156ed533a5f9d5d05"},"favicon":"https://mintcdn.com/kraken/qRZxIUN3tXcpjqG0/favicon.svg?fit=max\u0026auto=format\u0026n=qRZxIUN3tXcpjqG0\u0026q=85\u0026s=1215f433d712b5e667fd4e7599391422","api":{"examples":{"languages":["curl","python","javascript","go"]}},"appearance":{"default":"dark","strict":false},"navbar":{"primary":{"type":"button","label":"Get API key","href":"https://pro.kraken.com/app/settings/api"}},"footer":{"socials":{"x":"https://x.com/krakenfx","github":"https://github.com/krakenfx","linkedin":"https://linkedin.com/company/kraken-exchange"}},"contextual":{"options":["copy","view","download-spec","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kraken","hasAudioNarration":false,"actualSubdomain":"kraken","customDomains":["docs.kraken.com"],"gitSource":{"type":"gitlab","owner":"eng-devs","repo":"kraken-api-docs","hostUrl":"https://roshi-korin.honeycrypt.com","projectId":28500,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af5f9fa13768166fc713ddf","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":393},{"language":"default","tag":"Exchange","count":336},{"language":"default","tag":"Institutional","count":96},{"language":"default","tag":"Spot REST","count":81},{"language":"default","tag":"Derivatives REST","count":71},{"language":"default","tag":"Guides","count":45},{"language":"default","tag":"Market Data","count":41},{"language":"default","tag":"Trading","count":36},{"language":"default","tag":"Session","count":31},{"language":"default","tag":"Public Channels","count":27}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"@import url('https://assets.kraken.com/fonts/kraken.css');@import url('https://assets.kraken.com/fonts/celias.css');html,body,body *{font-family:var(--kp-font-sans)!important;-webkit-font-smoothing:antialiased}h1,h2,h3,h4{font-family:var(--kp-font-brand)!important}.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{font-family:var(--kp-font-brand)!important;font-weight:500!important}body code,body pre,body kbd,body samp,body code *,body pre *,body [class*=\"code\"],body [class*=\"Code\"],.kp-mono,.kp-mono *{font-family:var(--kp-font-mono)!important}:root{--kp-primary: #101114;--kp-primary-hover: #2a2c33;--kp-brand: #7132f5;--kp-font-sans: 'Kraken-Product', system-ui, -apple-system, sans-serif;--kp-font-mono: 'Kraken-Mono', ui-monospace, monospace;--kp-font-brand: 'Kraken-Brand', 'Celias', system-ui, sans-serif;--kp-bg-page: #f6f5f9;--kp-bg-card: #ffffff;--kp-bg-subtle: rgba(104, 107, 130, 0.12);--kp-text-heading: #101114;--kp-text-body: #686b82;--kp-text-placeholder: #9497a9;--kp-text-accent: #101114;--kp-text-meta: #9497a9;--kp-border: rgba(104, 107, 130, 0.16);--kp-terminal-bg: transparent;--kp-terminal-text: var(--kp-text-body);--kp-terminal-heading: var(--kp-text-heading);--kp-terminal-muted: var(--kp-text-placeholder)}html.dark{--kp-primary: #ffffff;--kp-primary-hover: #e7e7e7;--kp-brand: #8a61ff;--kp-bg-page: #0b0611;--kp-bg-card: #16121f;--kp-bg-subtle: rgba(255, 255, 255, 0.07);--kp-text-heading: #ffffff;--kp-text-body: #c6c7d2;--kp-text-placeholder: #9497a9;--kp-text-accent: #ffffff;--kp-text-meta: rgba(255, 255, 255, 0.45);--kp-border: rgba(255, 255, 255, 0.1)}@media (prefers-reduced-motion: reduce){.kp-terminal *,.kp-welcome-hero *{animation-duration:0.01ms!important;animation-iteration-count:1!important;transition-duration:0.01ms!important}}body{background-color:var(--kp-bg-page)!important}body #almond-background-color{background-color:var(--kp-bg-page)!important}.prose{--tw-prose-body: var(--kp-text-body) !important;--tw-prose-headings: var(--kp-text-heading) !important;--tw-prose-links: var(--kp-text-accent) !important;--tw-prose-bold: var(--kp-text-heading) !important;--tw-prose-code: var(--kp-text-heading) !important;--tw-prose-counters: var(--kp-text-body) !important;--tw-prose-bullets: var(--kp-text-placeholder) !important;--tw-prose-hr: var(--kp-border) !important;--tw-prose-quotes: var(--kp-text-body) !important;--tw-prose-quote-borders: var(--kp-border) !important;--tw-prose-th-borders: var(--kp-border) !important;--tw-prose-td-borders: var(--kp-border) !important}nav a,nav button{color:var(--kp-text-body)}nav a:hover,nav button:hover{color:var(--kp-text-heading)}.nav-logo{width:150px!important;height:auto!important}[data-component-part=\"field-root\"]{border-color:var(--kp-border)!important}[role=\"tablist\"] button[data-state=\"active\"]{color:var(--kp-text-heading)!important;border-color:var(--kp-primary)!important}[role=\"tablist\"] button[data-state=\"inactive\"]{color:var(--kp-text-placeholder)!important}body:has(.kp-welcome-hero) #header{display:none!important}@media (min-width: 1024px){.kp-welcome-hero{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start;margin-bottom:2.5rem}}.prose .kp-welcome-title{font-size:36px!important;line-height:1.15!important;letter-spacing:-0.01em;margin:0 0 1rem!important}.kp-welcome-hero-code .code-group{margin-top:0!important;margin-bottom:0!important}.prose a.kp-hero-btn-primary{text-decoration:none!important;border:1px solid var(--kp-primary)!important;background-color:var(--kp-primary);color:var(--kp-bg-card)!important}.prose a.kp-hero-btn-primary:hover{background-color:var(--kp-primary-hover);border-color:var(--kp-primary-hover)!important}html.dark .prose a.kp-hero-btn-primary{color:var(--kp-bg-page)!important}.kp-terminal{background:var(--kp-terminal-bg)!important;border-color:var(--kp-border)!important}.kp-terminal.kp-terminal-card{background:var(--kp-bg-card)!important}.kp-terminal .kp-term-output{color:var(--kp-terminal-text)}.kp-terminal .kp-term-prompt-text{color:var(--kp-terminal-heading)!important}.kp-terminal .kp-term-cursor{background:var(--kp-terminal-heading)!important}.kp-terminal span[aria-hidden=\"true\"]:first-child{color:var(--kp-terminal-muted)!important}.kp-term-output,pre code{scrollbar-width:none}.kp-term-output::-webkit-scrollbar,pre code::-webkit-scrollbar{display:none}@media (max-width: 480px){.kp-term-output{font-size:11px!important;padding:12px 14px!important}}.kp-cli-install{scrollbar-width:none}.kp-cli-install::-webkit-scrollbar{display:none}.kp-cli-copy-btn{transition:color 0.15s ease}.kp-cli-install:hover .kp-cli-copy-btn{color:var(--kp-text-heading)!important}.kp-cli-install:focus-visible{outline:2px solid var(--kp-brand);outline-offset:-2px}.kp-cli-copy-btn svg{transition:transform 0.15s ease}.kp-cli-install:hover .kp-cli-copy-btn svg{transform:scale(1.15)}.login-link{display:none!important}"},{"filePath":"global.css","content":"hr{margin-top:1rem!important;margin-bottom:1rem!important}[data-component-part=\"field-content\"]{margin-top:0.25rem!important}.api-banner{display:flex;align-items:center;gap:0.5rem;border:1px solid light-dark(#e5e6ec, #353746);box-shadow:0 0 0 5px light-dark(#ffffff, #0b0611), 0 0 0 6px light-dark(#e5e6ec, #353746);border-radius:1rem;padding:0.4rem;margin-bottom:0.8rem}.api-banner .api-protocol{color:white;font-weight:800;font-size:12px;padding:0.1rem 0.5rem;border-radius:1rem;text-transform:uppercase}.api-banner .api-protocol.ws{background:light-dark(#0079b4, #004e75)}.api-banner .api-protocol.fix{background:light-dark(#a67c1d, #6f5000)}.api-banner .api-detail{font-family:var(--kp-font-mono);font-size:14px;color:light-dark(#484b5e, #9497a9)}.api-banner .api-tag{margin-left:auto;font-family:var(--kp-font-mono);font-weight:600;font-size:12px;background:light-dark(#eeeff3, #292b38);color:light-dark(#484b5e, #c6c7d2);padding:0.1rem 1.5rem;border-radius:0.7rem}div:has(>.nav-tag-pill){order:-1;margin-left:0!important;margin-right:0.9rem!important}.prose code:not(pre *){padding-inline:0.15em}pre code{font-size:12px!important}[data-component-part=\"code-block-root\"],[data-component-part=\"code-group-tab-content\"]{line-height:1.25rem!important}#content-side-layout{position:relative!important;top:auto!important;height:auto!important;max-height:none!important}#header .prose{font-size:16px}.field-attr{font-weight:600;font-size:12px;line-height:16px;color:light-dark(#686b82, #9497a9)}"}],"page":{"pagePath":"exchange/api-reference/unified-ws/add_order","slug":"/exchange/api-reference/unified-ws/add_order","pageMetadata":{"title":"Add Order","tag":"UWS","description":"Send a new order into the exchange via WebSocket","href":"/exchange/api-reference/unified-ws/add_order"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Send a new order into the exchange via WebSocket\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,ResponseField,Tab,Tabs}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsxs(`div`,{className:`api-banner`,children:[_jsx(`span`,{className:`api-protocol ws`,children:`UWS`}),_jsx(`span`,{className:`api-detail`,children:`uws.kraken.com/v2/private`}),_jsx(`span`,{className:`api-tag`,children:`add_order`})]}),`\n`,_jsx(_components.p,{children:`Sends a single, new order into the exchange. A range of order types, Time-In-Force (TIF) and order flags can be specified by the parameters below.`}),`\n`,_jsxs(_components.p,{children:[`For triggered order types (`,_jsx(_components.code,{children:`stop-loss`}),`, `,_jsx(_components.code,{children:`take-profit`}),`, `,_jsx(_components.code,{children:`trailing-stop`}),`), the `,_jsx(_components.code,{children:`triggers`}),` section contains the parameters for price tracking and trigger thresholds.`]}),`\n`,_jsxs(_components.p,{children:[`For One-Triggers-Other (OTO) orders, the `,_jsx(_components.code,{children:`conditional`}),` section contains the parameters to add a secondary close order to the primary order.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Request`,id:`request`,children:[_jsx(ResponseField,{name:`method`,type:`string`,required:true,id:`param-method`,children:_jsxs(_components.p,{children:[`Value: `,_jsx(_components.code,{children:`add_order`})]})}),_jsx(ResponseField,{name:`params`,type:`object`,required:true,id:`param-params`,children:_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsxs(ResponseField,{name:`asset_class`,type:`string`,required:true,id:`param-asset-class`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`spot`}),`, `,_jsx(_components.code,{children:`derivatives`})]}),_jsx(_components.p,{children:`The asset class for the request.`})]}),_jsxs(ResponseField,{name:`order_type`,type:`string`,required:true,id:`param-order-type`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`limit`}),`, `,_jsx(_components.code,{children:`market`}),`, `,_jsx(_components.code,{children:`stop-loss`}),`, `,_jsx(_components.code,{children:`stop-loss-limit`}),`, `,_jsx(_components.code,{children:`take-profit`}),`, `,_jsx(_components.code,{children:`take-profit-limit`}),`, `,_jsx(_components.code,{children:`trailing-stop`}),`, `,_jsx(_components.code,{children:`trailing-stop-limit`})]}),_jsx(_components.p,{children:`The execution model of the order.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`limit`}),`: The full order quantity is placed immediately with a limit price restriction to only trade at this price or better.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`market`}),`: The full order quantity executes immediately at the best available price in the order book.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`stop-loss`}),`: A market order is triggered when the reference price reaches the stop price (from an unfavourable direction).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`stop-loss-limit`}),`: A limit order is triggered when the reference price reaches the stop price (from an unfavourable direction).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`take-profit`}),`: A market order is triggered when the reference price reaches the stop price (from a favourable direction).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`take-profit-limit`}),`: A limit order is triggered when the reference price reaches the stop price (from a favourable direction).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`trailing-stop`}),`: A market order is triggered when the market reverts a specified distance from the peak price.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`trailing-stop-limit`}),`: A limit order is triggered when the market reverts a specified distance from the peak price.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`side`,type:`string`,required:true,id:`param-side`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`buy`}),`, `,_jsx(_components.code,{children:`sell`})]}),_jsx(_components.p,{children:`Side of the order.`})]}),_jsx(ResponseField,{name:`order_qty`,type:`float`,required:true,id:`param-order-qty`,children:_jsx(_components.p,{children:`Order quantity in terms of the base asset.`})}),_jsxs(ResponseField,{name:`symbol`,type:`string`,required:true,id:`param-symbol`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`Example:`}),` `,_jsx(_components.code,{children:`\"BTC/USD\"`})]}),_jsx(_components.p,{children:`The symbol of the currency pair.`})]}),_jsx(ResponseField,{name:`limit_price`,type:`float`,id:`param-limit-price`,children:_jsx(_components.p,{children:`Limit price for order types that support limit price restriction.`})}),_jsxs(ResponseField,{name:`limit_price_type`,type:`string`,id:`param-limit-price-type`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`static`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`static`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Only available on trailing-stop-limit orders`]}),_jsxs(_components.p,{children:[`The units for the limit price. Only `,_jsx(_components.code,{children:`static`}),` is supported for derivatives.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`static`}),`: a static market price for the asset, i.e. 30000 for BTC/USD.`]}),`\n`]}),_jsxs(_components.p,{children:[`Note, for `,_jsx(_components.code,{children:`trailing-stop-limit`}),` order type, the value represents offset from the trigger price. 0 would set a limit price the same as the trigger price.`]})]}),_jsxs(ResponseField,{name:`triggers`,type:`object`,id:`param-triggers`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Required for triggered order types only`]}),_jsx(_components.p,{children:`The parameters for setting the trigger price conditions.`}),_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsxs(ResponseField,{name:`reference`,type:`string`,id:`param-reference`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`index`}),`, `,_jsx(_components.code,{children:`last`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`last`})]}),_jsx(_components.p,{children:`The reference price to track for triggering orders.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`index`}),`: the index price in the broader market (for this pair). Note, to keep triggers serviceable during connectivity issues with external index feeds, the last price will be used as the reference price.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`last`}),`: the last traded price in the Kraken order book (for this pair).`]}),`\n`]})]}),_jsxs(ResponseField,{name:`price`,type:`float`,required:true,id:`param-price`,children:[_jsxs(_components.p,{children:[`Specifies the amount for the trigger price - it supports both static market prices and relative prices. This field is used in combination with the `,_jsx(_components.code,{children:`price_type`}),` field below to determine the effective trigger price.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Examples:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`To trigger at 29000.5 BTC/USD, use price=29000.5, price_type=static.`}),`\n`,_jsx(_components.li,{children:`To trigger when price rises by 5%, use price=5, price_type=pct.`}),`\n`,_jsx(_components.li,{children:`To trigger when price drops by 150 USD, use price=-150, price_type=quote.`}),`\n`]})]}),_jsxs(ResponseField,{name:`price_type`,type:`string`,id:`param-price-type`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`static`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`static`})]}),_jsxs(_components.p,{children:[`The units for the trigger price. Only `,_jsx(_components.code,{children:`static`}),` is supported for derivatives.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`static`}),`: a static market price for the asset, i.e. 30000 for BTC/USD.`]}),`\n`]})]})]})]}),_jsxs(ResponseField,{name:`time_in_force`,type:`string`,id:`param-time-in-force`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`gtc`}),`, `,_jsx(_components.code,{children:`ioc`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`gtc`})]}),_jsx(_components.p,{children:`Time-in-force specifies how long an order remains in effect before being expired.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`gtc`}),`: Good Till Canceled - until user has cancelled.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ioc`}),`: Immediate Or Cancel - immediately cancels back any quantity that cannot be filled on arrival.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`margin`,type:`boolean`,id:`param-margin`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`false`}),`, `,_jsx(_components.code,{children:`true`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`false`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Not available for derivatives (futures are inherently margined)`]}),_jsx(_components.p,{children:`Funds the order on margin using the maximum leverage for the pair (maximum is leverage of 5).`})]}),_jsxs(ResponseField,{name:`post_only`,type:`boolean`,id:`param-post-only`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`true`}),`, `,_jsx(_components.code,{children:`false`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`false`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Orders with limit price only`]}),_jsx(_components.p,{children:`Cancels the order if it will take liquidity on arrival. Post only orders will always be posted passively in the book.`})]}),_jsxs(ResponseField,{name:`reduce_only`,type:`boolean`,id:`param-reduce-only`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`true`}),`, `,_jsx(_components.code,{children:`false`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`false`})]}),_jsx(_components.p,{children:`Reduces an existing margin position without opening an opposite long or short position worth more than the current value of your leveraged assets.`})]}),_jsxs(ResponseField,{name:`effective_time`,type:`string`,id:`param-effective-time`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`Format:`}),` RFC3339`,_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Example:`}),` `,_jsx(_components.code,{children:`2022-12-25T09:30:59Z`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Not available for derivatives`]}),_jsx(_components.p,{children:`Scheduled start time (precision to seconds).`})]}),_jsxs(ResponseField,{name:`expire_time`,type:`string`,id:`param-expire-time`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`Format:`}),` RFC3339`,_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Example:`}),` `,_jsx(_components.code,{children:`2022-12-25T09:30:59Z`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Not available for derivatives`]}),_jsx(_components.p,{children:`Expiration time of the order (precision to seconds).`})]}),_jsxs(ResponseField,{name:`deadline`,type:`string`,id:`param-deadline`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`Format:`}),` RFC3339`,_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Example:`}),` `,_jsx(_components.code,{children:`2022-12-25T09:30:59.123Z`})]}),_jsx(_components.p,{children:`Range of valid offsets (from current time) is 500 milliseconds to 60 seconds, default is 5 seconds. The precision of this parameter is to the millisecond. The engine will prevent this order from matching after this time, it provides protection against latency on time sensitive orders.`})]}),_jsxs(ResponseField,{name:`cl_ord_id`,type:`string`,id:`param-cl-ord-id`,children:[_jsx(_components.p,{children:`Adds a client order identifier which uniquely identifies an open order for each client.`}),_jsxs(_components.p,{children:[`For derivatives, `,_jsx(_components.code,{children:`cl_ord_id`}),` must be in UUIDv4 format:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Long UUID: `,_jsx(_components.code,{children:`6d1b345e-2821-40e2-ad83-4ecb18a06876`}),` 32 hex characters separated with 4 dashes.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`order_userref`,type:`integer`,id:`param-order-userref`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Not available for derivatives (use `,_jsx(_components.code,{children:`cl_ord_id`}),` instead)`]}),_jsxs(_components.p,{children:[`This is an optional non-unique, numeric identifier which can associated with a number of orders by the client. This field is mutually exclusive with `,_jsx(_components.code,{children:`cl_ord_id`}),` parameter.`]}),_jsx(_components.p,{children:`Many clients choose a unique integer value generated by their systems (i.e. a timestamp). However, because we don’t enforce uniqueness on our side, it can also be used to easily tag a group of orders for querying or cancelling.`})]}),_jsxs(ResponseField,{name:`conditional`,type:`object`,id:`param-conditional`,children:[_jsx(_components.p,{children:`The conditional parameters are used as a template for generating the secondary close orders when the primary order fills. Each fill on the primary order will generate a new secondary order. The size of the secondary order will be the same size as the executed quantity and have the opposite side.`}),_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsxs(ResponseField,{name:`order_type`,type:`string`,id:`param-order-type-1`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`limit`}),`, `,_jsx(_components.code,{children:`stop-loss`}),`, `,_jsx(_components.code,{children:`stop-loss-limit`}),`, `,_jsx(_components.code,{children:`take-profit`}),`, `,_jsx(_components.code,{children:`take-profit-limit`}),`, `,_jsx(_components.code,{children:`trailing-stop`}),`, `,_jsx(_components.code,{children:`trailing-stop-limit`})]}),_jsx(_components.p,{children:`Defines the order type of the secondary close orders which will be created on each fill.`})]}),_jsx(ResponseField,{name:`limit_price`,type:`float`,id:`param-limit-price-1`,children:_jsxs(_components.p,{children:[`Defines the limit price on the secondary close orders. Only required on secondary order types that support limit price: `,_jsx(_components.code,{children:`limit`}),`, `,_jsx(_components.code,{children:`stop-loss-limit`}),`, `,_jsx(_components.code,{children:`take-profit-limit`}),`.`]})}),_jsxs(ResponseField,{name:`limit_price_type`,type:`string`,id:`param-limit-price-type-1`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`static`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`static`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Only available on trailing-stop-limit orders`]}),_jsxs(_components.p,{children:[`The units for the limit price on the secondary order. Only `,_jsx(_components.code,{children:`static`}),` is supported for derivatives.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`static`}),`: a static market price for the asset, i.e. 30000 for BTC/USD.`]}),`\n`]}),_jsxs(_components.p,{children:[`Note, for `,_jsx(_components.code,{children:`trailing-stop-limit`}),` order type, the value represents offset from the trigger price. 0 would set a limit price the same as the trigger price.`]})]}),_jsxs(ResponseField,{name:`trigger_price`,type:`float`,id:`param-trigger-price`,children:[_jsxs(_components.p,{children:[`Specifies the amount for the trigger price - it supports both static market prices and relative prices. This field is used in combination with the `,_jsx(_components.code,{children:`price_type`}),` field below to determine the effective trigger price.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Examples:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`To trigger at 29000.5 BTC/USD, use price=29000.5, price_type=static.`}),`\n`,_jsx(_components.li,{children:`To trigger when price rises by 5%, use price=5, price_type=pct.`}),`\n`,_jsx(_components.li,{children:`To trigger when price drops by 150 USD, use price=-150, price_type=quote.`}),`\n`]}),_jsxs(_components.p,{children:[`Note, for `,_jsx(_components.code,{children:`trailing-stop`}),` and `,_jsx(_components.code,{children:`trailing-stop-limit`}),` order types, the price represents the reversion from the peak. It is always a positive offset value.`]})]}),_jsxs(ResponseField,{name:`trigger_price_type`,type:`string`,id:`param-trigger-price-type`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`static`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`static`})]}),_jsxs(_components.p,{children:[`The units for the trigger price. Only `,_jsx(_components.code,{children:`static`}),` is supported for derivatives.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`static`}),`: a static market price for the asset, i.e. 30000 for BTC/USD.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`stop_price`,type:`float`,deprecated:true,id:`param-stop-price`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`Deprecated:`}),` Use trigger_price`]}),_jsxs(_components.p,{children:[`Defines the trigger price on the secondary close orders. Only required on triggered secondary order types: `,_jsx(_components.code,{children:`stop-loss`}),`, `,_jsx(_components.code,{children:`stop-loss-limit`}),`, `,_jsx(_components.code,{children:`take-profit`}),`, `,_jsx(_components.code,{children:`take-profit-limit`}),`.`]})]})]})]}),_jsxs(ResponseField,{name:`display_qty`,type:`float`,id:`param-display-qty`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Not available for derivatives`]}),_jsxs(_components.p,{children:[`Defines the quantity to show in the book while the rest of order quantity remains hidden. Minimum value is 1 / 15 of `,_jsx(_components.code,{children:`order_qty`}),`.`]})]}),_jsxs(ResponseField,{name:`fee_preference`,type:`string`,id:`param-fee-preference`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`base`}),`, `,_jsx(_components.code,{children:`quote`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Not available for derivatives (fee currency is fixed per contract)`]}),_jsxs(_components.p,{children:[`Fee preference base or quote currency. `,_jsx(_components.code,{children:`quote`}),` is the default for buy orders, `,_jsx(_components.code,{children:`base`}),` is the default for sell orders.`]})]}),_jsxs(ResponseField,{name:`no_mpp`,type:`boolean`,deprecated:true,id:`param-no-mpp`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`true`}),`, `,_jsx(_components.code,{children:`false`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`false`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Market orders only`,_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Deprecated:`}),` If supplied, the flag is accepted but ignored`]}),_jsxs(_components.p,{children:[`Disables Market Price Protection (MPP) if set to `,_jsx(_components.code,{children:`true`}),`. MPP is a feature that protects market orders from filling at a bad price due to price slippage in an illiquid or volatile market.`]})]}),_jsxs(ResponseField,{name:`stp_type`,type:`string`,id:`param-stp-type`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`cancel_newest`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`cancel_newest`})]}),_jsxs(_components.p,{children:[`Self Trade Prevention (STP) is a protection feature to prevent users from inadvertently or deliberately trading against themselves. Only `,_jsx(_components.code,{children:`cancel_newest`}),` is available for derivatives.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`cancel_newest`}),`: arriving order will be canceled.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`cash_order_qty`,type:`float`,id:`param-cash-order-qty`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Not available for derivatives`]}),_jsx(_components.p,{children:`Order volume expressed in quote currency.`})]}),_jsxs(ResponseField,{name:`validate`,type:`boolean`,id:`param-validate`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`true`}),`, `,_jsx(_components.code,{children:`false`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`false`})]}),_jsxs(_components.p,{children:[`If set to `,_jsx(_components.code,{children:`true`}),` the order will be validated only, it will not trade in the matching engine.`]})]}),_jsxs(ResponseField,{name:`sender_sub_id`,type:`string`,id:`param-sender-sub-id`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Not available for derivatives`]}),_jsx(_components.p,{children:`Adds a alphanumeric sub-account/trader identifier which enables STP to be performed at a more granular level.`}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`sender_sub_id`}),` parameter can be one of the following formats:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Long UUID: `,_jsx(_components.code,{children:`6d1b345e-2821-40e2-ad83-4ecb18a06876`}),` 32 hex characters separated with 4 dashes.`]}),`\n`,_jsxs(_components.li,{children:[`Short UUID: `,_jsx(_components.code,{children:`da8e4ad59b78481c93e589746b0cf91f`}),` 32 hex characters with no dashes.`]}),`\n`,_jsxs(_components.li,{children:[`Free text: `,_jsx(_components.code,{children:`arb-20240509-00010`}),` Free format ascii text up to 18 characters.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`broker`,type:`string`,id:`param-broker`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`Format:`}),` 16 alphanumeric characters (`,_jsx(_components.code,{children:`A-Z`}),`, `,_jsx(_components.code,{children:`0-9`}),`) in 4 groups of 4`,_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Example:`}),` `,_jsx(_components.code,{children:`AA16N84GV574COOQ`})]}),_jsx(_components.p,{children:`Broker IIBAN (Partner’s Kraken IIBAN). Attributes the order to the broker placing it on behalf of their client, so partner commission can be paid.`}),_jsx(_components.p,{children:`Available to qualified partners in Kraken’s API Partner Program. Both spellings are accepted and are equivalent:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Grouped: `,_jsx(_components.code,{children:`AA16 N84G V574 COOQ`}),` with a single space between each group of 4 characters.`]}),`\n`,_jsxs(_components.li,{children:[`Unspaced: `,_jsx(_components.code,{children:`AA16N84GV574COOQ`}),` 16 characters with no separators.`]}),`\n`]}),_jsx(_components.p,{children:`The order is rejected if the value is not a well-formed IIBAN, or if your account is not entitled to trade on behalf of the specified broker.`})]}),_jsxs(ResponseField,{name:`stop_price`,type:`float`,deprecated:true,id:`param-stop-price-1`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`Deprecated:`}),` Use ‘triggers’ object`]}),_jsx(_components.p,{children:`The stop price for trigger order types.`})]}),_jsxs(ResponseField,{name:`trigger`,type:`string`,deprecated:true,id:`param-trigger`,children:[_jsxs(_components.p,{children:[_jsx(`span`,{className:`field-attr`,children:`One of:`}),` `,_jsx(_components.code,{children:`last`}),`, `,_jsx(_components.code,{children:`index`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Default:`}),` `,_jsx(_components.code,{children:`last`}),_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Condition:`}),` Triggered order types only`,_jsx(`br`,{}),`\n`,_jsx(`span`,{className:`field-attr`,children:`Deprecated:`}),` Use ‘triggers’ object`]}),_jsx(_components.p,{children:`The reference price to trigger the order.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`index`}),`: the index price for the broader market for this symbol.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`last`}),`: the last traded price in the order book for this symbol.`]}),`\n`]})]}),_jsx(ResponseField,{name:`token`,type:`string`,required:true,id:`param-token`,children:_jsxs(_components.p,{children:[`Authentication token. See `,_jsx(_components.a,{href:`/exchange/guides/websockets/authentication`,children:`authentication guide`}),` for details.`]})})]})}),_jsx(ResponseField,{name:`req_id`,type:`integer`,id:`param-req-id`,children:_jsx(_components.p,{children:`Optional client originated request identifier sent as acknowledgment in the response.`})})]}),_jsxs(Tab,{title:`Response`,id:`response`,children:[_jsx(ResponseField,{name:`method`,type:`string`,id:`param-method-1`,children:_jsxs(_components.p,{children:[`Value: `,_jsx(_components.code,{children:`add_order`})]})}),_jsx(ResponseField,{name:`result`,type:`object`,id:`param-result`,children:_jsxs(Expandable,{title:`properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`order_id`,type:`string`,id:`param-order-id`,children:_jsx(_components.p,{children:`Unique order identifier generated by Kraken.`})}),_jsx(ResponseField,{name:`cl_ord_id`,type:`string`,id:`param-cl-ord-id-1`,children:_jsxs(_components.p,{children:[`An optional, alphanumeric identifier specified by the client in the `,_jsx(_components.code,{children:`add_order`}),` parameters.`]})}),_jsx(ResponseField,{name:`order_userref`,type:`integer`,id:`param-order-userref-1`,children:_jsxs(_components.p,{children:[`An optional non-unique, numeric identifier specified by the client in the `,_jsx(_components.code,{children:`add_order`}),` parameters.`]})}),_jsx(ResponseField,{name:`warnings`,type:`array of string`,id:`param-warnings`,children:_jsx(_components.p,{children:`Non-fatal warnings about the order, if any.`})})]})}),_jsx(ResponseField,{name:`error`,type:`string`,id:`param-error`,children:_jsxs(_components.p,{children:[`Error message. Condition: if `,_jsx(_components.code,{children:`success`}),` is `,_jsx(_components.code,{children:`false`}),`.`]})}),_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsxs(_components.p,{children:[`Indicates if the request was successfully processed by the engine. One of: `,_jsx(_components.code,{children:`true`}),`, `,_jsx(_components.code,{children:`false`})]})}),_jsx(ResponseField,{name:`req_id`,type:`integer`,id:`param-req-id-1`,children:_jsx(_components.p,{children:`Optional client originated request identifier sent as acknowledgment in the response.`})}),_jsx(ResponseField,{name:`time_in`,type:`string`,id:`param-time-in`,children:_jsxs(_components.p,{children:[`The timestamp when the request was received on the wire, just prior to parsing data. Format: RFC3339. Example: `,_jsx(_components.code,{children:`2022-12-25T09:30:59.123456Z`})]})}),_jsx(ResponseField,{name:`time_out`,type:`string`,id:`param-time-out`,children:_jsxs(_components.p,{children:[`The timestamp when the response was sent on the wire, just prior to transmitting data. Format: RFC3339. Example: `,_jsx(_components.code,{children:`2022-12-25T09:30:59.123456Z`})]})})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Add Order","tag":"UWS","description":"Send a new order into the exchange via WebSocket","href":"/exchange/api-reference/unified-ws/add_order"}}},"mdxSourceWithNoJs":null},"panelMdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);return _jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Limit`,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"add_order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asset_class\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"derivatives\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"side\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"buy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limit_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`26500.4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_qty\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PF_XBTUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cl_ord_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6d1b345e-2821-40e2-ad83-4ecb18a06876\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"G38a1tGFzqGiUCmnegBcm8d4nfP3tytiNQz6tkCBYXY\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"req_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`123456789`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Stop Loss`,numberOfLines:`16`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"add_order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asset_class\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"derivatives\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"stop-loss\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"side\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sell\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_qty\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PF_XBTUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"triggers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reference\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"last\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`29000.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"price_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"static\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"G38a1tGFzqGiUCmnegBcm8d4nfP3tytiNQz6tkCBYXY\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`OTO`,numberOfLines:`17`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"add_order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asset_class\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"derivatives\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"side\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"buy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_qty\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PF_XBTUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limit_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`28440`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conditional\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"stop-loss-limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trigger_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`28410`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limit_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`28400`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"G38a1tGFzqGiUCmnegBcm8d4nfP3tytiNQz6tkCBYXY\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Response`,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"add_order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"req_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`123456789`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AA5JGQ-SBMRC-SCJ7J7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cl_ord_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6d1b345e-2821-40e2-ad83-4ecb18a06876\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"time_in\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-09-21T14:15:07.197274Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"time_out\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-09-21T14:15:07.205301Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Error`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EOrder:Insufficient funds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"add_order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"req_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`123456789`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"time_in\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-09-21T14:15:07.197274Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"time_out\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-09-21T14:15:07.205301Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Add Order","tag":"UWS","description":"Send a new order into the exchange via WebSocket","href":"/exchange/api-reference/unified-ws/add_order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"panel":{"content":"\u003cCodeGroup>\n ```json Limit theme={null}\n {\n \"method\": \"add_order\",\n \"params\": {\n \"asset_class\": \"derivatives\",\n \"order_type\": \"limit\",\n \"side\": \"buy\",\n \"limit_price\": 26500.4,\n \"order_qty\": 1.2,\n \"symbol\": \"PF_XBTUSD\",\n \"cl_ord_id\": \"6d1b345e-2821-40e2-ad83-4ecb18a06876\",\n \"token\": \"G38a1tGFzqGiUCmnegBcm8d4nfP3tytiNQz6tkCBYXY\"\n },\n \"req_id\": 123456789\n }\n ```\n\n ```json Stop Loss theme={null}\n {\n \"method\": \"add_order\",\n \"params\": {\n \"asset_class\": \"derivatives\",\n \"order_type\": \"stop-loss\",\n \"side\": \"sell\",\n \"order_qty\": 100,\n \"symbol\": \"PF_XBTUSD\",\n \"triggers\": {\n \"reference\": \"last\",\n \"price\": 29000.0,\n \"price_type\": \"static\"\n },\n \"token\": \"G38a1tGFzqGiUCmnegBcm8d4nfP3tytiNQz6tkCBYXY\"\n }\n }\n ```\n\n ```json OTO theme={null}\n {\n \"method\": \"add_order\",\n \"params\": {\n \"asset_class\": \"derivatives\",\n \"order_type\": \"limit\",\n \"side\": \"buy\",\n \"order_qty\": 1.2,\n \"symbol\": \"PF_XBTUSD\",\n \"limit_price\": 28440,\n \"conditional\": {\n \"order_type\": \"stop-loss-limit\",\n \"trigger_price\": 28410,\n \"limit_price\": 28400\n },\n \"token\": \"G38a1tGFzqGiUCmnegBcm8d4nfP3tytiNQz6tkCBYXY\"\n }\n }\n ```\n\n ```json Response theme={null}\n {\n \"method\": \"add_order\",\n \"req_id\": 123456789,\n \"result\": {\n \"order_id\": \"AA5JGQ-SBMRC-SCJ7J7\",\n \"cl_ord_id\": \"6d1b345e-2821-40e2-ad83-4ecb18a06876\"\n },\n \"success\": true,\n \"time_in\": \"2023-09-21T14:15:07.197274Z\",\n \"time_out\": \"2023-09-21T14:15:07.205301Z\"\n }\n ```\n\n ```json Error theme={null}\n {\n \"error\": \"EOrder:Insufficient funds\",\n \"method\": \"add_order\",\n \"req_id\": 123456789,\n \"success\": false,\n \"time_in\": \"2023-09-21T14:15:07.197274Z\",\n \"time_out\": \"2023-09-21T14:15:07.205301Z\"\n }\n ```\n\u003c/CodeGroup>\n"},"codeExamples":{}},"jsLinks":[],"subdomain":"kraken","siteName":"Kraken Developers","title":"Add Order - Kraken Developers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-01T17:33:17.219Z","originalFileLocation":"exchange/api-reference/unified-ws/add_order.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Send a new order into the exchange via WebSocket\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kraken Developers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kraken/WtiP_7MUCtGxw5vL/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/kraken/WtiP_7MUCtGxw5vL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kraken/WtiP_7MUCtGxw5vL/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kraken/WtiP_7MUCtGxw5vL/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kraken/WtiP_7MUCtGxw5vL/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kraken/WtiP_7MUCtGxw5vL/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kraken/WtiP_7MUCtGxw5vL/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kraken/WtiP_7MUCtGxw5vL/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kraken/WtiP_7MUCtGxw5vL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add Order - Kraken Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send a new order into the exchange via WebSocket\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kraken Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.kraken.com/exchange/api-reference/unified-ws/add_order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kraken.mintlify.site/_mintlify/api/og/v2?division=Trading\u0026amp;title=Add+Order\u0026amp;description=Send+a+new+order+into+the+exchange+via+WebSocket\u0026amp;theme=7c83518b6ee35b34e1d9f5ea\u0026amp;signature=5c0876c2b1570716ef355a2bf3c6f8cdeda3a86bfbeedd93e303e1d3e042c090\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Add Order - Kraken Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send a new order into the exchange via WebSocket\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kraken.mintlify.site/_mintlify/api/og/v2?division=Trading\u0026amp;title=Add+Order\u0026amp;description=Send+a+new+order+into+the+exchange+via+WebSocket\u0026amp;theme=7c83518b6ee35b34e1d9f5ea\u0026amp;signature=5c0876c2b1570716ef355a2bf3c6f8cdeda3a86bfbeedd93e303e1d3e042c090\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/kraken/WtiP_7MUCtGxw5vL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kraken Developers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#101114\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.kraken.com/exchange/api-reference/unified-ws/add_order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/exchange/api-reference/unified-ws/add_order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.kraken.com/#organization\",\"name\":\"Kraken Developers\",\"url\":\"https://docs.kraken.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kraken/opwCJHYUnRFWd1O3/logo/light.svg?fit=max\u0026auto=format\u0026n=opwCJHYUnRFWd1O3\u0026q=85\u0026s=6be2f97a23f9a7aa6ef071ae334cc89c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.kraken.com#website\",\"name\":\"Kraken Developers\",\"url\":\"https://docs.kraken.com\",\"publisher\":{\"@id\":\"https://docs.kraken.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.kraken.com/exchange/api-reference/unified-ws/add_order#webpage\",\"url\":\"https://docs.kraken.com/exchange/api-reference/unified-ws/add_order\",\"name\":\"Add Order\",\"description\":\"Send a new order into the exchange via WebSocket\",\"dateModified\":\"2026-10-01T17:33:17.219Z\",\"isPartOf\":{\"@id\":\"https://docs.kraken.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.kraken.com/exchange/api-reference/unified-ws/add_order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.kraken.com/exchange/api-reference/unified-ws/add_order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Kraken Developers\",\"item\":\"https://docs.kraken.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add Order\",\"item\":\"https://docs.kraken.com/exchange/api-reference/unified-ws/add_order\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.kraken.com/exchange/api-reference/unified-ws/add_order#article\",\"headline\":\"Add Order\",\"name\":\"Add Order\",\"description\":\"Send a new order into the exchange via WebSocket\",\"url\":\"https://docs.kraken.com/exchange/api-reference/unified-ws/add_order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.kraken.com/exchange/api-reference/unified-ws/add_order#webpage\"},\"dateModified\":\"2026-10-01T17:33:17.219Z\",\"publisher\":{\"@id\":\"https://docs.kraken.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.kraken.com#website\"}}]}\u003c/script>","agentPointerHref":"/exchange/api-reference/unified-ws/add_order.md","siteName":"Kraken Developers","nav":{"global":{},"products":[{"product":"Home","pages":[{"title":"Home","href":""}]},{"product":"Exchange","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/exchange/guides/overview"}]},{"tab":"API Reference","dropdowns":[{"dropdown":"Overview","icon":"compass","pages":[{"title":"Exchange API reference","sidebarTitle":"Overview","href":"/exchange/api-reference/overview"}]},{"dropdown":"Spot REST","icon":"code","groups":[{"group":"Market Data","public":true,"pages":[{"title":"Get Server Time","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/Time","href":"/api-reference/market-data/get-server-time"},{"title":"Get System Status","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/SystemStatus","href":"/api-reference/market-data/get-system-status"},{"title":"Get Maintenance Schedule","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/MaintenanceSchedule","href":"/api-reference/market-data/get-maintenance-schedule"},{"title":"Get Asset Info","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/Assets","href":"/api-reference/market-data/get-asset-info"},{"title":"Get Tradable Asset Pairs","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/AssetPairs","href":"/api-reference/market-data/get-tradable-asset-pairs"},{"title":"Get Ticker Information","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/Ticker","href":"/api-reference/market-data/get-ticker-information"},{"title":"Get OHLC Data","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/OHLC","href":"/api-reference/market-data/get-ohlc-data"},{"title":"Get Order Book","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/Depth","href":"/api-reference/market-data/get-order-book"},{"title":"Query L3 Order Book","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/Level3","href":"/api-reference/market-data/query-l3-order-book"},{"title":"Get Grouped Order Book","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/GroupedBook","href":"/api-reference/market-data/get-grouped-order-book"},{"title":"Get Recent Trades","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/Trades","href":"/api-reference/market-data/get-recent-trades"},{"title":"Get Recent Spreads","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/Spread","href":"/api-reference/market-data/get-recent-spreads"}]},{"group":"Account Data","public":true,"pages":[{"title":"Get Account Balance","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/Balance","href":"/api-reference/account-data/get-account-balance"},{"title":"Get Extended Balance","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/BalanceEx","href":"/api-reference/account-data/get-extended-balance"},{"title":"Get Credit Lines","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/CreditLines","href":"/api-reference/account-data/get-credit-lines"},{"title":"Get Trade Balance","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/TradeBalance","href":"/api-reference/account-data/get-trade-balance"},{"title":"Get Open Orders","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/OpenOrders","href":"/api-reference/account-data/get-open-orders"},{"title":"Get Closed Orders","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/ClosedOrders","href":"/api-reference/account-data/get-closed-orders"},{"title":"Query Orders Info","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/QueryOrders","href":"/api-reference/account-data/query-orders-info"},{"title":"Get Order Amends","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/OrderAmends","href":"/api-reference/account-data/get-order-amends"},{"title":"Get Trades History","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/TradesHistory","href":"/api-reference/account-data/get-trades-history"},{"title":"Query Trades Info","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/QueryTrades","href":"/api-reference/account-data/query-trades-info"},{"title":"Get Open Positions","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/OpenPositions","href":"/api-reference/account-data/get-open-positions"},{"title":"Get Ledgers Info","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/Ledgers","href":"/api-reference/account-data/get-ledgers-info"},{"title":"Query Ledgers","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/QueryLedgers","href":"/api-reference/account-data/query-ledgers"},{"title":"Get Trade Volume","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/TradeVolume","href":"/api-reference/account-data/get-trade-volume"},{"title":"Request Export Report","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/AddExport","href":"/api-reference/account-data/request-export-report"},{"title":"Get Export Report Status","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/ExportStatus","href":"/api-reference/account-data/get-export-report-status"},{"title":"Retrieve Data Export","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/RetrieveExport","href":"/api-reference/account-data/retrieve-data-export"},{"title":"Delete Export Report","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/RemoveExport","href":"/api-reference/account-data/delete-export-report"},{"title":"Get API Key Info","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/GetApiKeyInfo","href":"/api-reference/account-data/get-api-key-info"},{"title":"List Wallet Accounts","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/ListWalletAccounts","href":"/api-reference/account-data/list-wallet-accounts"}]},{"group":"Trading","public":true,"pages":[{"title":"Add Order","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/AddOrder","href":"/api-reference/trading/add-order"},{"title":"Amend Order","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/AmendOrder","href":"/api-reference/trading/amend-order"},{"title":"Edit Order","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/EditOrder","href":"/api-reference/trading/edit-order"},{"title":"Cancel Order","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/CancelOrder","href":"/api-reference/trading/cancel-order"},{"title":"Cancel All Orders","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/CancelAll","href":"/api-reference/trading/cancel-all-orders"},{"title":"Cancel All Orders After X","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/CancelAllOrdersAfter","href":"/api-reference/trading/cancel-all-orders-after-x"},{"title":"Add Order Batch","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/AddOrderBatch","href":"/api-reference/trading/add-order-batch"},{"title":"Cancel Order Batch","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/CancelOrderBatch","href":"/api-reference/trading/cancel-order-batch"},{"title":"Get Websockets Token","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/GetWebSocketsToken","href":"/api-reference/trading/get-websockets-token"}]},{"group":"Algo Trading","public":true,"pages":[{"title":"Add Strategy","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/AddStrategy","href":"/api-reference/algo-trading/add-strategy"},{"title":"Cancel Strategy","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/CancelStrategy","href":"/api-reference/algo-trading/cancel-strategy"},{"title":"Get Open Strategies","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/GetOpenStrategies","href":"/api-reference/algo-trading/get-open-strategies"},{"title":"Query Strategies","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/QueryStrategies","href":"/api-reference/algo-trading/query-strategies"},{"title":"Get Closed Strategies","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/GetClosedStrategies","href":"/api-reference/algo-trading/get-closed-strategies"}]},{"group":"Funding (Beta)","public":true,"pages":[{"title":"Calculate Funding Fees","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /funding/v1/fees/{method_id}","href":"/api-reference/funding-beta/calculate-funding-fees"},{"title":"Claim Funding Deposit Address","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml put /funding/v1/deposit/address","href":"/api-reference/funding-beta/claim-funding-deposit-address"},{"title":"Create Funding Address","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /funding/v1/addresses","href":"/api-reference/funding-beta/create-funding-address"},{"title":"Create Funding Withdrawal","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /funding/v1/withdrawals","href":"/api-reference/funding-beta/create-funding-withdrawal"},{"title":"Delete Funding Address","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml delete /funding/v1/addresses/{id}","href":"/api-reference/funding-beta/delete-funding-address"},{"title":"List Funding Addresses","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /funding/v1/addresses","href":"/api-reference/funding-beta/list-funding-addresses"},{"title":"List Funding Assets","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /funding/v1/assets/{direction}","href":"/api-reference/funding-beta/list-funding-assets"},{"title":"List Funding Claimed Addresses (v2)","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /funding/v2/deposit/addresses","href":"/api-reference/funding-beta/list-funding-claimed-addresses-v2"},{"title":"List Funding Deposit Limits","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /funding/v1/limits/deposit/{asset_class}/{asset}","href":"/api-reference/funding-beta/list-funding-deposit-limits"},{"title":"List Funding Deposits","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /funding/v1/deposits","href":"/api-reference/funding-beta/list-funding-deposits"},{"title":"List Funding Methods","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /funding/v1/methods/{direction}","href":"/api-reference/funding-beta/list-funding-methods"},{"title":"List Funding Networks","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /funding/v1/networks","href":"/api-reference/funding-beta/list-funding-networks"},{"title":"List Funding Withdrawal Limits","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /funding/v1/limits/withdrawal/{asset_class}/{asset}","href":"/api-reference/funding-beta/list-funding-withdrawal-limits"},{"title":"List Funding Withdrawals","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /funding/v1/withdrawals","href":"/api-reference/funding-beta/list-funding-withdrawals"},{"title":"Update Funding Address","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml put /funding/v1/addresses/{id}","href":"/api-reference/funding-beta/update-funding-address"}]},{"group":"Funding (Legacy)","public":true,"pages":[{"title":"Get Deposit Methods","deprecated":true,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/DepositMethods","href":"/api-reference/funding/get-deposit-methods"},{"title":"Get Deposit Addresses","deprecated":true,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/DepositAddresses","href":"/api-reference/funding/get-deposit-addresses"},{"title":"Get Status of Recent Deposits","deprecated":true,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/DepositStatus","href":"/api-reference/funding/get-status-of-recent-deposits"},{"title":"Get Withdrawal Methods","deprecated":true,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/WithdrawMethods","href":"/api-reference/funding/get-withdrawal-methods"},{"title":"Get Withdrawal Addresses","deprecated":true,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/WithdrawAddresses","href":"/api-reference/funding/get-withdrawal-addresses"},{"title":"Get Withdrawal Information","deprecated":true,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/WithdrawInfo","href":"/api-reference/funding/get-withdrawal-information"},{"title":"Withdraw Funds","deprecated":true,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/Withdraw","href":"/api-reference/funding/withdraw-funds"},{"title":"Get Status of Recent Withdrawals","deprecated":true,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/WithdrawStatus","href":"/api-reference/funding/get-status-of-recent-withdrawals"},{"title":"Request Withdrawal Cancellation","deprecated":true,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/WithdrawCancel","href":"/api-reference/funding/request-withdrawal-cancellation"},{"title":"Request Wallet Transfer","deprecated":true,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/WalletTransfer","href":"/api-reference/funding/request-wallet-transfer"}]},{"group":"Subaccounts","public":true,"pages":[{"title":"Create Subaccount","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/CreateSubaccount","href":"/api-reference/subaccounts/create-subaccount"},{"title":"Account Transfer","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/AccountTransfer","href":"/api-reference/subaccounts/account-transfer"}]},{"group":"Earn","public":true,"pages":[{"title":"List Earn Strategies","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/Earn/Strategies","href":"/api-reference/earn/list-earn-strategies"},{"title":"List Earn Allocations","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/Earn/Allocations","href":"/api-reference/earn/list-earn-allocations"},{"title":"Allocate Earn Funds","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/Earn/Allocate","href":"/api-reference/earn/allocate-earn-funds"},{"title":"Deallocate Earn Funds","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/Earn/Deallocate","href":"/api-reference/earn/deallocate-earn-funds"},{"title":"Get Allocation Status","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/Earn/AllocateStatus","href":"/api-reference/earn/get-allocation-status"},{"title":"Get Deallocation Status","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/Earn/DeallocateStatus","href":"/api-reference/earn/get-deallocation-status"}]},{"group":"Transparency","public":true,"pages":[{"title":"Pre-Trade Data","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/PreTrade","href":"/api-reference/transparency/pre-trade-data"},{"title":"Post-Trade Data","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml get /public/PostTrade","href":"/api-reference/transparency/post-trade-data"}]}]},{"dropdown":"Affiliate REST","icon":"users","groups":[{"group":"Affiliate reporting","public":true,"pages":[{"title":"Get Daily Activity","deprecated":null,"version":null,"openapi":"/openapi/affiliate-rest.yaml get /affiliate/v1/daily-activity","href":"/api-reference/affiliate/get-daily-activity"},{"title":"Get CPA Progress","deprecated":null,"version":null,"openapi":"/openapi/affiliate-rest.yaml get /affiliate/v1/cpa-progress","href":"/api-reference/affiliate/get-cpa-progress"},{"title":"Get Payout History","deprecated":null,"version":null,"openapi":"/openapi/affiliate-rest.yaml get /affiliate/v1/payout-history","href":"/api-reference/affiliate/get-payout-history"}]}]},{"dropdown":"Spot WebSocket v2","icon":"bolt","pages":[{"title":"Spot WebSocket","sidebarTitle":"Spot WebSocket","href":"/exchange/api-reference/spot-websocket"},{"group":"Public Channels","public":true,"pages":[{"title":"Ticker","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/ticker"},{"title":"Book (Level 2)","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/book"},{"title":"Candles (OHLC)","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/ohlc"},{"title":"Trades","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/trade"},{"title":"Instruments","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/instrument"},{"title":"Orders (Level 3)","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/level3"},{"title":"Status","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/status"},{"title":"Heartbeat","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/heartbeat"}]},{"group":"Trading","public":true,"pages":[{"title":"Add Order","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/add_order"},{"title":"Edit Order","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/edit_order"},{"title":"Amend Order","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/amend_order"},{"title":"Cancel Order","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/cancel_order"},{"title":"Cancel All","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/cancel_all"},{"title":"Cancel on Disconnect","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/cancel_after"},{"title":"Batch Add","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/batch_add"},{"title":"Batch Cancel","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/batch_cancel"}]},{"group":"Account","public":true,"pages":[{"title":"Balances","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/balances"},{"title":"Executions","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/executions"}]},{"group":"System","public":true,"pages":[{"title":"Ping","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/ping"}]}]},{"dropdown":"Unified WebSocket","icon":"bolt","groups":[{"group":"Public Channels","public":true,"pages":[{"title":"Ticker","tag":"UWS","href":"/exchange/api-reference/unified-ws/ticker"},{"title":"Book (Level 2)","tag":"UWS","href":"/exchange/api-reference/unified-ws/book"},{"title":"Candles (OHLC)","tag":"UWS","href":"/exchange/api-reference/unified-ws/ohlc"},{"title":"Trades","tag":"UWS","href":"/exchange/api-reference/unified-ws/trade"},{"title":"Instruments","tag":"UWS","href":"/exchange/api-reference/unified-ws/instrument"},{"title":"Orders (Level 3)","tag":"UWS","href":"/exchange/api-reference/unified-ws/level3"},{"title":"RFQs","tag":"UWS","href":"/exchange/api-reference/unified-ws/rfqs"},{"title":"Status","tag":"UWS","href":"/exchange/api-reference/unified-ws/status"},{"title":"Heartbeat","tag":"UWS","description":"Automatic heartbeat messages to verify the connection is alive","href":"/exchange/api-reference/unified-ws/heartbeat"}]},{"group":"Trading","public":true,"pages":[{"title":"Add Order","tag":"UWS","href":"/exchange/api-reference/unified-ws/add_order"},{"title":"Amend Order","tag":"UWS","description":"Amend the parameters of a live order in-place","href":"/exchange/api-reference/unified-ws/amend_order"},{"title":"Cancel Order","tag":"UWS","href":"/exchange/api-reference/unified-ws/cancel_order"},{"title":"Cancel All","tag":"UWS","href":"/exchange/api-reference/unified-ws/cancel_all"},{"title":"Cancel on Disconnect","tag":"UWS","href":"/exchange/api-reference/unified-ws/cancel_after"},{"title":"Batch Add","tag":"UWS","href":"/exchange/api-reference/unified-ws/batch_add"},{"title":"Batch Cancel","tag":"UWS","href":"/exchange/api-reference/unified-ws/batch_cancel"}]},{"group":"Account","public":true,"pages":[{"title":"Balances","tag":"UWS","href":"/exchange/api-reference/unified-ws/balances"},{"title":"Executions","tag":"UWS","href":"/exchange/api-reference/unified-ws/executions"},{"title":"Ledgers","tag":"UWS","href":"/exchange/api-reference/unified-ws/ledgers"},{"title":"Margin","tag":"UWS","href":"/exchange/api-reference/unified-ws/margin"},{"title":"Positions","tag":"UWS","href":"/exchange/api-reference/unified-ws/positions"},{"title":"Preferences","tag":"UWS","href":"/exchange/api-reference/unified-ws/preferences"},{"title":"Set Preference","tag":"UWS","href":"/exchange/api-reference/unified-ws/set_preference"},{"title":"Quotes","tag":"UWS","href":"/exchange/api-reference/unified-ws/quotes"}]},{"group":"System","public":true,"pages":[{"title":"Ping","tag":"UWS","href":"/exchange/api-reference/unified-ws/ping"}]}]},{"dropdown":"Spot WebSocket v1","icon":"bolt","groups":[{"group":"Public Channels","public":true,"pages":[{"title":"Ticker","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/ticker"},{"title":"Candles (OHLC)","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/ohlc"},{"title":"Trade","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/trade"},{"title":"Spread","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/spread"},{"title":"Book","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/book"}]},{"group":"Trading","public":true,"pages":[{"title":"Add Order","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/addorder"},{"title":"Edit Order","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/editorder"},{"title":"Amend Order","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/amendorder"},{"title":"Cancel Order","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/cancelorder"},{"title":"Cancel All","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/cancelall"},{"title":"Cancel on Disconnect","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/cancelallordersafter"}]},{"group":"Account","public":true,"pages":[{"title":"Own Trades","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/owntrades"},{"title":"Open Orders","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/openorders"}]},{"group":"System","public":true,"pages":[{"title":"Ping","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/ping"},{"title":"Heartbeat","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/heartbeat"},{"title":"System Status","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/systemstatus"},{"title":"Subscription Status","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/subscriptionstatus"},{"title":"Unsubscribe","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v1/unsubscribe"}]}]},{"dropdown":"Derivatives REST","icon":"code","groups":[{"group":"Market Data","public":true,"pages":[{"title":"Get tickers","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /tickers","href":"/api-reference/market-data/get-tickers"},{"title":"Get ticker by symbol","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /tickers/{symbol}","href":"/api-reference/market-data/get-ticker-by-symbol"},{"title":"Get orderbook","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /orderbook","href":"/api-reference/market-data/get-orderbook"},{"title":"Get trade history","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /history","href":"/api-reference/market-data/get-trade-history"}]},{"group":"Instruments","public":true,"pages":[{"title":"Get instruments","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /instruments","href":"/api-reference/instrument-details/get-instruments"},{"title":"Get trading instruments","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /trading/instruments","href":"/api-reference/instrument-details/get-trading-instruments"},{"title":"Get instrument status list","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /instruments/status","href":"/api-reference/instrument-details/get-instrument-status-list"},{"title":"Get instrument status","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /instruments/{symbol}/status","href":"/api-reference/instrument-details/get-instrument-status"}]},{"group":"Order Management","public":true,"pages":[{"title":"Send order","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /sendorder","href":"/api-reference/order-management/send-order"},{"title":"Edit order","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /editorder","href":"/api-reference/order-management/edit-order"},{"title":"Cancel order","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /cancelorder","href":"/api-reference/order-management/cancel-order"},{"title":"Cancel all orders","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /cancelallorders","href":"/api-reference/order-management/cancel-all-orders"},{"title":"Dead man's switch","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /cancelallordersafter","href":"/api-reference/order-management/dead-mans-switch"},{"title":"Batch order management","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /batchorder","href":"/api-reference/order-management/batch-order-management"},{"title":"Get open orders","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /openorders","href":"/api-reference/order-management/get-open-orders"},{"title":"Get Specific Orders' Status","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /orders/status","href":"/api-reference/order-management/get-specific-orders-status"}]},{"group":"Account","public":true,"pages":[{"title":"Get wallets","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /accounts","href":"/api-reference/account-information/get-wallets"},{"title":"Get open positions","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /openpositions","href":"/api-reference/account-information/get-open-positions"},{"title":"Get position percentile of unwind queue","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /unwindqueue","href":"/api-reference/account-information/get-position-percentile-of-unwind-queue"},{"title":"Get portfolio margin parameters","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /portfolio-margining/parameters","href":"/api-reference/account-information/get-portfolio-margin-parameters"},{"title":"Calculate portfolio margin, pnl and greeks","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /portfolio-margining/simulate","href":"/api-reference/account-information/calculate-portfolio-margin-pnl-and-greeks"}]},{"group":"Multi-Collateral","public":true,"pages":[{"title":"Get PNL currency preferences","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /pnlpreferences","href":"/api-reference/multi-collateral/get-pnl-currency-preferences"},{"title":"Set PNL currency preference","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml put /pnlpreferences","href":"/api-reference/multi-collateral/set-pnl-currency-preference"},{"title":"Get leverage settings","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /leveragepreferences","href":"/api-reference/multi-collateral/get-leverage-settings"},{"title":"Set leverage settings","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml put /leveragepreferences","href":"/api-reference/multi-collateral/set-leverage-settings"}]},{"group":"Fee Schedules","public":true,"pages":[{"title":"Get fee schedules","deprecated":true,"version":null,"openapi":"/openapi/futures-rest.yaml get /feeschedules","href":"/api-reference/fee-schedules/get-fee-schedules"},{"title":"Get fee schedule volumes","deprecated":true,"version":null,"openapi":"/openapi/futures-rest.yaml get /feeschedules/volumes","href":"/api-reference/fee-schedules/get-fee-schedule-volumes"}]},{"group":"Historical Data","public":true,"pages":[{"title":"Get your fills","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /fills","href":"/api-reference/historical-data/get-your-fills"},{"title":"Historical funding rates","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /historical-funding-rates","href":"/api-reference/historical-funding-rates/historical-funding-rates"}]},{"group":"Trading Settings","public":true,"pages":[{"title":"Get self trade strategy","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /self-trade-strategy","href":"/api-reference/trading-settings/get-self-trade-strategy"},{"title":"Update self trade strategy","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml put /self-trade-strategy","href":"/api-reference/trading-settings/update-self-trade-strategy"},{"title":"Get the off-book max leverage cap","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /rfq-assignment/max-leverage","href":"/api-reference/trading-settings/get-the-off-book-max-leverage-cap"},{"title":"Set the off-book max leverage cap","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml put /rfq-assignment/max-leverage","href":"/api-reference/trading-settings/set-the-off-book-max-leverage-cap"},{"title":"Clear the off-book max leverage cap","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml delete /rfq-assignment/max-leverage","href":"/api-reference/trading-settings/clear-the-off-book-max-leverage-cap"}]},{"group":"Subaccounts","public":true,"pages":[{"title":"Get subaccounts","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /subaccounts","href":"/api-reference/subaccounts/get-subaccounts"},{"title":"Check subaccount trading status","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /subaccount/{subaccountUid}/trading-enabled","href":"/api-reference/subaccounts/check-subaccount-trading-status"},{"title":"Update subaccount trading status","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml put /subaccount/{subaccountUid}/trading-enabled","href":"/api-reference/subaccounts/update-subaccount-trading-status"}]},{"group":"Transfers","public":true,"pages":[{"title":"Initiate wallet transfer","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /transfer","href":"/api-reference/transfers/initiate-wallet-transfer"},{"title":"Initiate sub account transfer","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /transfer/subaccount","href":"/api-reference/transfers/initiate-sub-account-transfer"},{"title":"Initiate withdrawal to Spot wallet","deprecated":true,"version":null,"openapi":"/openapi/futures-rest.yaml post /withdrawal","href":"/api-reference/transfers/initiate-withdrawal-to-spot-wallet"}]},{"group":"Assignment Program","public":true,"pages":[{"title":"List assignment programs","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /assignmentprogram/current","href":"/api-reference/assignment-program/list-assignment-programs"},{"title":"Add assignment preference","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /assignmentprogram/add","href":"/api-reference/assignment-program/add-assignment-preference"},{"title":"Deletes assignment preference","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /assignmentprogram/delete","href":"/api-reference/assignment-program/deletes-assignment-preference"},{"title":"List assignment preferences history","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /assignmentprogram/history","href":"/api-reference/assignment-program/list-assignment-preferences-history"}]},{"group":"RFQs","public":true,"pages":[{"title":"List all open RFQs","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /rfqs","href":"/api-reference/rfqs/list-all-open-rfqs"},{"title":"Retrieve a single RFQ (open or recently closed)","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /rfqs/{rfqUid}","href":"/api-reference/rfqs/retrieve-a-single-rfq-open-or-recently-closed"},{"title":"List open offers on open RFQs","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /rfqs/open-offers","href":"/api-reference/rfqs/list-open-offers-on-open-rfqs"},{"title":"List offers placed by the account on closed RFQs","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /rfqs/closed-offers","href":"/api-reference/rfqs/list-offers-placed-by-the-account-on-closed-rfqs"},{"title":"Place new offer on an open RFQ","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /rfqs/place-offer/{rfqUid}","href":"/api-reference/rfqs/place-new-offer-on-an-open-rfq"},{"title":"Cancel open offer on open RFQ","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml delete /rfqs/cancel-offer/{rfqUid}","href":"/api-reference/rfqs/cancel-open-offer-on-open-rfq"},{"title":"List open RFQs for account","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /rfqs/open-rfqs","href":"/api-reference/rfqs/list-open-rfqs-for-account"},{"title":"Create a new RFQ","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /rfqs/open-rfqs","href":"/api-reference/rfqs/create-a-new-rfq"},{"title":"Cancel an open RFQ","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml delete /rfqs/open-rfqs/{rfqUid}","href":"/api-reference/rfqs/cancel-an-open-rfq"},{"title":"Accept an offer on an open RFQ","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /rfqs/open-rfqs/accept-offer/{rfqUid}","href":"/api-reference/rfqs/accept-an-offer-on-an-open-rfq"}]},{"group":"General","public":true,"pages":[{"title":"Get notifications","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /notifications","href":"/api-reference/general/get-notifications"}]},{"group":"Account History","public":true,"pages":[{"title":"Get execution events","deprecated":null,"version":null,"openapi":"/openapi/futures-history-rest.yaml get /executions","href":"/api-reference/account-history/get-execution-events"},{"title":"Get order events","deprecated":null,"version":null,"openapi":"/openapi/futures-history-rest.yaml get /orders","href":"/api-reference/account-history/get-order-events"},{"title":"Get trigger events","deprecated":null,"version":null,"openapi":"/openapi/futures-history-rest.yaml get /triggers","href":"/api-reference/account-history/get-trigger-events"},{"title":"Get position update events","deprecated":null,"version":null,"openapi":"/openapi/futures-history-rest.yaml get /positions","href":"/api-reference/account-history/get-position-update-events"},{"title":"Get account log","deprecated":null,"version":null,"openapi":"/openapi/futures-history-rest.yaml get /account-log","href":"/api-reference/account-history/get-account-log"},{"title":"Account log (CSV)","deprecated":null,"version":null,"openapi":"/openapi/futures-history-rest.yaml get /accountlogcsv","href":"/api-reference/account-history/account-log-csv"}]},{"group":"Market History","public":true,"pages":[{"title":"Get public execution events","deprecated":null,"version":null,"openapi":"/openapi/futures-history-rest.yaml get /market/{tradeable}/executions","href":"/api-reference/market-history/get-public-execution-events"},{"title":"Get public order events","deprecated":null,"version":null,"openapi":"/openapi/futures-history-rest.yaml get /market/{tradeable}/orders","href":"/api-reference/market-history/get-public-order-events"},{"title":"Get public mark price events","deprecated":null,"version":null,"openapi":"/openapi/futures-history-rest.yaml get /market/{tradeable}/price","href":"/api-reference/market-history/get-public-mark-price-events"}]},{"group":"Candles","public":true,"pages":[{"title":"Tick Types","deprecated":null,"version":null,"openapi":"/openapi/futures-charts-rest.yaml get /","href":"/api-reference/candles/tick-types"},{"title":"Markets","deprecated":null,"version":null,"openapi":"/openapi/futures-charts-rest.yaml get /{tick_type}","href":"/api-reference/candles/markets"},{"title":"Resolutions","deprecated":null,"version":null,"openapi":"/openapi/futures-charts-rest.yaml get /{tick_type}/{symbol}","href":"/api-reference/candles/resolutions"},{"title":"Market Candles","deprecated":null,"version":null,"openapi":"/openapi/futures-charts-rest.yaml get /{tick_type}/{symbol}/{resolution}","href":"/api-reference/candles/market-candles"}]},{"group":"Analytics","public":true,"pages":[{"title":"Get liquidity pool statistic","deprecated":null,"version":null,"openapi":"/openapi/futures-charts-rest.yaml get /analytics/liquidity-pool","href":"/api-reference/analytics/get-liquidity-pool-statistic"},{"title":"Market Analytics","deprecated":null,"version":null,"openapi":"/openapi/futures-charts-rest.yaml get /analytics/{symbol}/{analytics_type}","href":"/api-reference/analytics/market-analytics"}]},{"group":"API Keys","public":true,"pages":[{"title":"Check v3 API key","deprecated":null,"version":null,"openapi":"/openapi/futures-auth-rest.yaml get /api-keys/v3/check","href":"/api-reference/api-keys/check-v3-api-key"}]}]},{"dropdown":"Derivatives WebSocket","icon":"bolt","pages":[{"title":"Derivatives WebSocket","sidebarTitle":"Derivatives WebSocket","href":"/exchange/api-reference/futures-websocket"},{"group":"Public Channels","public":true,"pages":[{"title":"Ticker","tag":"WSS","href":"/exchange/api-reference/futures-websocket/ticker"},{"title":"Ticker Lite","tag":"WSS","href":"/exchange/api-reference/futures-websocket/ticker_lite"},{"title":"Trade","tag":"WSS","href":"/exchange/api-reference/futures-websocket/trade"},{"title":"Book","tag":"WSS","href":"/exchange/api-reference/futures-websocket/book"},{"title":"Heartbeat","tag":"WSS","href":"/exchange/api-reference/futures-websocket/heartbeat"}]},{"group":"Private Channels","public":true,"pages":[{"title":"Balances","tag":"WSS","href":"/exchange/api-reference/futures-websocket/balances"},{"title":"Fills","tag":"WSS","href":"/exchange/api-reference/futures-websocket/fills"},{"title":"Open Orders","tag":"WSS","href":"/exchange/api-reference/futures-websocket/open_orders"},{"title":"Open Orders (Verbose)","tag":"WSS","href":"/exchange/api-reference/futures-websocket/open_orders_verbose"},{"title":"Open Positions","tag":"WSS","href":"/exchange/api-reference/futures-websocket/open_position"},{"title":"Account Log","tag":"WSS","href":"/exchange/api-reference/futures-websocket/account_log"},{"title":"Notifications","tag":"WSS","href":"/exchange/api-reference/futures-websocket/notifications"}]},{"group":"Authentication","public":true,"pages":[{"title":"Challenge","tag":"WSS","href":"/exchange/api-reference/futures-websocket/challenge"}]}]},{"dropdown":"Unified FIX","icon":"terminal","pages":[{"title":"Unified FIX","sidebarTitle":"Unified FIX","href":"/exchange/api-reference/unified-fix"},{"group":"Trading","public":true,"pages":[{"title":"New Order Single","tag":"FIX","href":"/exchange/api-reference/unified-fix/nos"},{"title":"Order Cancel Request","sidebarTitle":"Cancel Order","tag":"FIX","href":"/exchange/api-reference/unified-fix/ocr"},{"title":"Order Cancel Replace Request","sidebarTitle":"Cancel Replace","tag":"FIX","href":"/exchange/api-reference/unified-fix/ocrr"},{"title":"Order Status Request","sidebarTitle":"Order Status","tag":"FIX","href":"/exchange/api-reference/unified-fix/osr"},{"title":"Order Mass Cancel Request","sidebarTitle":"Mass Cancel","tag":"FIX","href":"/exchange/api-reference/unified-fix/omcr"},{"title":"Execution Report","tag":"FIX","href":"/exchange/api-reference/unified-fix/er"}]},{"group":"Market Data","public":true,"pages":[{"title":"Instrument List Request","sidebarTitle":"Instrument List Req","tag":"FIX","href":"/exchange/api-reference/unified-fix/slr"},{"title":"Instrument List","tag":"FIX","href":"/exchange/api-reference/unified-fix/sl"},{"title":"Market Data Request","tag":"FIX","href":"/exchange/api-reference/unified-fix/mdr"},{"title":"Market Data Request Reject","sidebarTitle":"MD Request Reject","tag":"FIX","href":"/exchange/api-reference/unified-fix/mdrr"},{"title":"Market Data Snapshot Full Refresh","sidebarTitle":"MD Snapshot Full Refresh","tag":"FIX","href":"/exchange/api-reference/unified-fix/mdsfr"},{"title":"Market Data Incremental Refresh","sidebarTitle":"MD Incremental Refresh","tag":"FIX","href":"/exchange/api-reference/unified-fix/mdir"},{"title":"News","sidebarTitle":"News","tag":"FIX","href":"/exchange/api-reference/unified-fix/news"},{"title":"Trading Session Status Request","sidebarTitle":"Session Status Request","tag":"FIX","href":"/exchange/api-reference/unified-fix/tssr"},{"title":"Trading Session Status","sidebarTitle":"Session Status","tag":"FIX","href":"/exchange/api-reference/unified-fix/tss"}]},{"group":"Session","public":true,"pages":[{"title":"Header \u0026 Trailer","tag":"FIX","href":"/exchange/api-reference/unified-fix/header-trailer"},{"title":"Logon","tag":"FIX","href":"/exchange/api-reference/unified-fix/logon"},{"title":"Logout","tag":"FIX","href":"/exchange/api-reference/unified-fix/logout"},{"title":"Resend Request","tag":"FIX","href":"/exchange/api-reference/unified-fix/resend-request"},{"title":"Reject - Session Level","sidebarTitle":"Session Reject","tag":"FIX","href":"/exchange/api-reference/unified-fix/reject-session"},{"title":"Reject - Business Level","sidebarTitle":"Business Reject","tag":"FIX","href":"/exchange/api-reference/unified-fix/reject-business"},{"title":"Sequence Reset","tag":"FIX","href":"/exchange/api-reference/unified-fix/sequence-reset"}]}]},{"dropdown":"SBE","icon":"chart-line","pages":[{"title":"SBE","sidebarTitle":"SBE","href":"/exchange/api-reference/sbe"},{"group":"Session","public":true,"pages":[{"title":"Negotiate","tag":"SBE","href":"/exchange/api-reference/sbe/negotiate"},{"title":"NegotiationResponse","tag":"SBE","href":"/exchange/api-reference/sbe/negotiation-response"},{"title":"NegotiationReject","tag":"SBE","href":"/exchange/api-reference/sbe/negotiation-reject"},{"title":"AdminHeartbeat","tag":"SBE","href":"/exchange/api-reference/sbe/admin-heartbeat"},{"title":"SubscriberHeartbeat","tag":"SBE","href":"/exchange/api-reference/sbe/subscriber-heartbeat"},{"title":"Terminate","tag":"SBE","href":"/exchange/api-reference/sbe/terminate"},{"title":"SubscriptionRequest","tag":"SBE","href":"/exchange/api-reference/sbe/subscription-request"},{"title":"SubscriptionResponse","tag":"SBE","href":"/exchange/api-reference/sbe/subscription-response"},{"title":"Session enums \u0026 encodings","tag":"SBE","href":"/exchange/api-reference/sbe/session-types"}]},{"group":"Market Data","public":true,"pages":[{"title":"InstrumentDefinitionSnapshot","tag":"SBE","href":"/exchange/api-reference/sbe/instrument-definition-snapshot"},{"title":"OrderBookIncremental","tag":"SBE","href":"/exchange/api-reference/sbe/order-book-incremental"},{"title":"TradeIncremental","tag":"SBE","href":"/exchange/api-reference/sbe/trade-incremental"},{"title":"OrderBookSnapshot","tag":"SBE","href":"/exchange/api-reference/sbe/order-book-snapshot"},{"title":"InstrumentStatusIncremental","tag":"SBE","href":"/exchange/api-reference/sbe/instrument-status-incremental"},{"title":"TradingSessionStatusIncremental","tag":"SBE","href":"/exchange/api-reference/sbe/trading-session-status-incremental"},{"title":"InstrumentDefinitionIncremental","tag":"SBE","href":"/exchange/api-reference/sbe/instrument-definition-incremental"},{"title":"TradingSessionStatusSnapshot","tag":"SBE","href":"/exchange/api-reference/sbe/trading-session-status-snapshot"},{"title":"SummarySnapshot","tag":"SBE","href":"/exchange/api-reference/sbe/summary-snapshot"},{"title":"SummaryIncremental","tag":"SBE","href":"/exchange/api-reference/sbe/summary-incremental"},{"title":"Market data enums \u0026 encodings","tag":"SBE","href":"/exchange/api-reference/sbe/market-data-types"}]}]},{"dropdown":"Drop Copy","icon":"copy","hidden":true,"pages":[{"title":"Drop Copy","sidebarTitle":"Drop Copy","href":"/exchange/api-reference/drop-copy"},{"group":"Session","public":true,"pages":[{"title":"Logon","tag":"FIX","href":"/exchange/api-reference/drop-copy/logon"},{"title":"Logout","tag":"FIX","href":"/exchange/api-reference/drop-copy/logout"},{"title":"Heartbeat","tag":"FIX","href":"/exchange/api-reference/drop-copy/heartbeat"},{"title":"Test Request","tag":"FIX","href":"/exchange/api-reference/drop-copy/test-request"},{"title":"Resend Request","tag":"FIX","href":"/exchange/api-reference/drop-copy/resend-request"},{"title":"Sequence Reset","tag":"FIX","href":"/exchange/api-reference/drop-copy/sequence-reset"},{"title":"Reject","tag":"FIX","href":"/exchange/api-reference/drop-copy/reject"},{"title":"Header \u0026 Trailer","tag":"FIX","href":"/exchange/api-reference/drop-copy/header-trailer"}]},{"group":"Execution","public":true,"pages":[{"title":"Execution Report","tag":"FIX","href":"/exchange/api-reference/drop-copy/er"}]}]},{"dropdown":"Unified FIX v2","icon":"terminal","pages":[{"title":"Unified FIX v2","sidebarTitle":"Unified FIX v2","href":"/exchange/api-reference/unified-fix-v2"},{"group":"Session","public":true,"pages":[{"title":"Logon","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/logon"},{"title":"Logout","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/logout"},{"title":"Heartbeat","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/heartbeat"},{"title":"Test Request","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/test-request"},{"title":"Resend Request","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/resend-request"},{"title":"Sequence Reset","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/sequence-reset"},{"title":"Header \u0026 Trailer","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/header-trailer"}]},{"group":"Order Entry","public":true,"pages":[{"title":"New Order Single","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/nos"},{"title":"Order Cancel Request","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/ocr"},{"title":"Order Cancel Replace Request","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/ocrr"},{"title":"Order Mass Cancel Request","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/omcr"},{"title":"Order Status Request","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/osr"}]},{"group":"Execution \u0026 Rejects","public":true,"pages":[{"title":"Execution Report","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/er"},{"title":"Order Cancel Reject","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/ocj"},{"title":"Reject (Session)","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/reject-session"},{"title":"Business Message Reject","tag":"FIX","href":"/exchange/api-reference/unified-fix-v2/reject-business"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/exchange/changelog"}]}]},{"product":"Institutional","pages":[{"title":"Institutional","href":"/institutional/guides/overview"}]},{"product":"Pay","pages":[{"title":"Pay","href":"/pay/guides/pay-webhook"}]},{"product":"Nodes","hidden":true,"pages":[{"title":"Nodes","href":"/nodes/guides/introduction"}]}]},"basePath":"","title":"Add Order - Kraken Developers","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}