This endpoint allows sending limit or stop order(s) and/or cancelling open order(s) and/or
editing open order(s) for a currently listed Futures contract in batch.
When editing an order, if the trailingStopMaxDeviation and trailingStopDeviationUnit
parameters are sent unchanged, the system will recalculate a new stop price upon successful
order modification.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Kraken Developers","colors":{"primary":"#101114","light":"#FFFFFF","dark":"#101114"},"logo":{"light":"https://mintcdn.com/kraken-sandbox/OwFMB_raM-oufD5t/logo/light.svg?fit=max\u0026auto=format\u0026n=OwFMB_raM-oufD5t\u0026q=85\u0026s=63580a7a28c41b4ae9da3224146a3376","dark":"https://mintcdn.com/kraken-sandbox/OwFMB_raM-oufD5t/logo/dark.svg?fit=max\u0026auto=format\u0026n=OwFMB_raM-oufD5t\u0026q=85\u0026s=bc35b28dff88500b38f00068cfed26e8"},"favicon":"https://mintcdn.com/kraken-sandbox/nYHydSZOb2biP8xC/favicon.svg?fit=max\u0026auto=format\u0026n=nYHydSZOb2biP8xC\u0026q=85\u0026s=550f86087d67c033e3b344c62a7df8d6","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","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kraken-sandbox","hasAudioNarration":false,"actualSubdomain":"kraken-sandbox","customDomains":[],"gitSource":{"type":"gitlab","owner":"eng-devs","repo":"kraken-api-docs","hostUrl":"https://roshi-korin.honeycrypt.com","projectId":28500,"deployBranch":"sandbox","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"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":"6ae94af5b9c52538cea1ed0b:success","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"API Reference","count":250},{"language":"default","tag":"Exchange","count":208},{"language":"default","tag":"Institutional","count":77},{"language":"default","tag":"Spot REST","count":58},{"language":"default","tag":"Derivatives REST","count":47},{"language":"default","tag":"Guides","count":33},{"language":"default","tag":"Trading","count":29},{"language":"default","tag":"Market Data","count":28},{"language":"default","tag":"Unified FIX","count":21},{"language":"default","tag":"Prime WebSocket","count":21}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"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-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-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(104, 107, 130, 0.16)}@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}.prose a.kp-product-link,.prose a.kp-product-link:hover{text-decoration:none!important;border:none!important}nav a,nav button{color:var(--kp-text-body)}nav a:hover,nav button:hover{color:var(--kp-text-heading)}[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}html:not([data-page-mode=\"custom\"]):not([data-page-mode=\"wide\"]) body:not(:has(.api-section)) #content-area{max-width:832px!important;margin-left:max(0px, calc(50vw - 416px - 14rem))!important}html[data-page-mode=\"wide\"] #content-area{max-width:1120px!important;margin-left:max(0px, calc(50vw - 560px - 14rem))!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:48px!important;line-height:1.05!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{text-decoration:none!important;border:1px solid rgba(222, 223, 223, 0.7)!important}.prose a.kp-hero-btn:hover{border-color:rgba(16, 17, 20, 0.25)!important;background-color:var(--kp-bg-subtle)}html.dark .prose a.kp-hero-btn{border-color:rgba(255, 255, 255, 0.12)!important}html.dark .prose a.kp-hero-btn:hover{border-color:rgba(255, 255, 255, 0.3)!important}.kp-product-link:focus-visible{outline:2px solid var(--kp-brand);outline-offset:1px}.prose a.kp-product-tag,.prose a.kp-product-tag:hover{text-decoration:none!important;border:none!important}.prose a.kp-product-tag{background-color:var(--kp-bg-subtle);color:var(--kp-text-body)!important}.prose a.kp-product-tag:hover{color:var(--kp-text-heading)!important}.prose a.kp-product-tag:hover{background-color:rgba(104, 107, 130, 0.18)}html.dark .prose a.kp-product-tag:hover{background-color:rgba(255, 255, 255, 0.12)}.kp-product-tag:focus-visible{outline:2px solid var(--kp-brand);outline-offset:2px}.kp-product-icon{pointer-events:none;cursor:default}html.dark .kp-product-icon{filter:invert(1) brightness(1.8)}.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-copy-btn:hover{color:var(--kp-text-heading)!important}.kp-cli-copy-btn:focus-visible{outline:2px solid var(--kp-brand);outline-offset:1px}.kp-cli-copy-btn svg{transition:transform 0.15s ease}.kp-cli-copy-btn:hover svg{transform:scale(1.15)}"},{"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}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":"api-reference/order-management/batch-order-management","slug":"/api-reference/order-management/batch-order-management","pageMetadata":{"title":"Batch order management","description":"This endpoint allows sending limit or stop order(s) and/or cancelling open order(s) and/or\nediting open order(s) for a currently listed Futures contract in batch.\n\nWhen editing an order, if the `trailingStopMaxDeviation` and `trailingStopDeviationUnit`\nparameters are sent unchanged, the system will recalculate a new stop price upon successful\norder modification.","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /batchorder","href":"/api-reference/order-management/batch-order-management","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"This endpoint allows sending limit or stop order(s) and/or cancelling open order(s) and/or\\nediting open order(s) for a currently listed Futures contract in batch.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"When editing an order, if the \", _jsx(_components.code, {\n children: \"trailingStopMaxDeviation\"\n }), \" and \", _jsx(_components.code, {\n children: \"trailingStopDeviationUnit\"\n }), \"\\nparameters are sent unchanged, the system will recalculate a new stop price upon successful\\norder modification.\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Batch order management","description":"This endpoint allows sending limit or stop order(s) and/or cancelling open order(s) and/or\nediting open order(s) for a currently listed Futures contract in batch.\n\nWhen editing an order, if the `trailingStopMaxDeviation` and `trailingStopDeviationUnit`\nparameters are sent unchanged, the system will recalculate a new stop price upon successful\norder modification.","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /batchorder","href":"/api-reference/order-management/batch-order-management","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"sendBatchOrder","tags":["Order Management"],"summary":"Batch order management","description":"This endpoint allows sending limit or stop order(s) and/or cancelling open order(s) and/or\nediting open order(s) for a currently listed Futures contract in batch.\n\nWhen editing an order, if the `trailingStopMaxDeviation` and `trailingStopDeviationUnit`\nparameters are sent unchanged, the system will recalculate a new stop price upon successful\norder modification.","security":["4869ed34-31cc-405b-839e-cd647ed7fb27"],"parameters":[],"responses":{"200":"67add3d6-190d-4c69-97f1-c53b8aa0e0cb"},"requestBody":"cf6bf987-84ba-413d-8f52-9dc9e468c806","method":"post","type":"path","servers":["70983042-63e9-425b-a261-d629b3132377"],"path":"/batchorder","baseUrlOptions":["https://futures.kraken.com/derivatives/api/v3"],"title":"Batch order management","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"json":{"title":"Batch Order","type":"object","additionalProperties":false,"required":["batchOrder"],"properties":{"batchOrder":{"type":"array","items":{"oneOf":[{"type":"object","title":"BatchOrderSend","required":["symbol","order_tag","side","size","orderType"],"example":{"order":"send","order_tag":"1","orderType":"lmt","symbol":"PF_XBTUSD","side":"buy","size":1,"limitPrice":1,"cliOrdId":"my_another_client_id"},"properties":{"order_tag":{"type":"string","description":"An arbitrary string provided client-side to tag the order for the purpose of\nmapping order sending instructions to the API's response.","isRequired":true,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.order_tag","typeLabel":"string"},"orderType":{"description":"The order type:\n\n- `lmt` - a limit order\n- `post` - a post-only limit order\n- `mkt` - an immediate-or-cancel order with 1% price protection\n- `stp` - a stop order\n- `take_profit` - a take profit order\n- `ioc` - an immediate-or-cancel order\n- `trailing_stop` - a trailing stop order\n- `fok` - fill-or-kill order","type":"string","enum":["lmt","post","ioc","mkt","stp","take_profit","trailing_stop","fok"],"isRequired":true,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.orderType","typeLabel":"enum\u003cstring>"},"symbol":{"type":"string","description":"The symbol of the Futures.","isRequired":true,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.symbol","typeLabel":"string"},"side":{"description":"The direction of the order.","type":"string","enum":["buy","sell"],"x-exhaustive":true,"isRequired":true,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.side","typeLabel":"enum\u003cstring>"},"size":{"type":"number","description":"The size associated with the order.","isRequired":true,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.size","typeLabel":"number"},"order":{"type":"string","description":"Always `send`.","enum":["send"],"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.order","typeLabel":"enum\u003cstring>"},"limitPrice":{"type":"number","description":"The limit price associated with the order. If placing a `trailing_stop` order then leave\nundefined.","uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.limitPrice","typeLabel":"number"},"stopPrice":{"type":"number","description":"The stop price associated with a stop order. Required if `orderType` is `stp`.\nNote that for `stp` orders, `limitPrice` is also required and denotes the worst price at\nwhich the `stp` order can get filled","uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.stopPrice","typeLabel":"number"},"cliOrdId":{"type":"string","description":"The order identity that is specified from the user. It must be globally unique.","maxLength":100,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.cliOrdId","typeLabel":"string"},"triggerSignal":{"type":"string","enum":["mark","index","last"],"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.triggerSignal","typeLabel":"enum\u003cstring>"},"reduceOnly":{"type":"boolean","description":"Set as 'true' if you wish the order to only reduce an existing position. Any order which\nincreases an existing position will be rejected. Default 'false'.","default":false,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.reduceOnly","typeLabel":"boolean"},"trailingStopMaxDeviation":{"type":"number","description":"Required if the order type is `trailing_stop`.\n\nIs the maximum distance the trailing stop's trigger price may trail behind the requested trigger signal.\nIt defines the threshold at which the trigger price updates.","uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.trailingStopMaxDeviation","typeLabel":"number"},"trailingStopDeviationUnit":{"type":"string","enum":["PERCENT","QUOTE_CURRENCY"],"description":"Required if the order type is `trailing_stop`.\n\nThis defines how the trailing trigger price is calculated from the requested trigger\nsignal. For example, if the max deviation is set to 10, the unit is 'PERCENT', and the\nunderlying order is a sell, then the trigger price will never be more then 10% below the\ntrigger signal. Similarly, if the deviation is 100, the unit is 'QUOTE_CURRENCY', the\nunderlying order is a sell, and the contract is quoted in USD, then the trigger price\nwill never be more than $100 below the trigger signal.","uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0.trailingStopDeviationUnit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.0","typeLabel":"BatchOrderSend · object"},{"type":"object","title":"BatchOrderEdit","description":"Provide either `order_id` or `cliOrdId`.","required":["order_id"],"properties":{"order_id":{"description":"Order ID.","type":"string","format":"uuid","isRequired":true,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.1.order_id","typeLabel":"string\u003cuuid>"},"cliOrdId":{"oneOf":[{"type":"string","description":"Unique client order identifier.","maxLength":100,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.1.cliOrdId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique client order identifier.","maxLength":100,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.1.cliOrdId.oneOf.1","typeLabel":"null"}],"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.1.cliOrdId","typeLabel":"string | null"},"order":{"type":"string","description":"Always `edit`.","enum":["edit"],"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.1.order","typeLabel":"enum\u003cstring>"},"size":{"type":"number","description":"The size associated with the order.","uniqueKey":"json.batchOrder.items.[INDEX].oneOf.1.size","typeLabel":"number"},"limitPrice":{"type":"number","description":"The limit price associated with the order.","uniqueKey":"json.batchOrder.items.[INDEX].oneOf.1.limitPrice","typeLabel":"number"},"stopPrice":{"type":"number","description":"The stop price associated with a stop order. Required if old orderType is stp.\n\nNote that for `stp` orders, `limitPrice` is also required and denotes the worst\nprice at which the stp order can get filled.","uniqueKey":"json.batchOrder.items.[INDEX].oneOf.1.stopPrice","typeLabel":"number"},"trailingStopMaxDeviation":{"type":"number","description":"Only relevant for trailing stop orders. Maximum value of 50%, minimum value of 0.1%\nfor 'PERCENT' 'maxDeviationUnit'.\n\nIs the maximum distance the trailing stop's trigger price may trail behind the\nrequested trigger signal. It defines the threshold at which the trigger price\nupdates.","minimum":0.1,"maximum":50,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.1.trailingStopMaxDeviation","typeLabel":"number"},"trailingStopDeviationUnit":{"type":"string","enum":["PERCENT","QUOTE_CURRENCY"],"description":"Only relevant for trailing stop orders.\n\nThis defines how the trailing trigger price is calculated from the requested trigger\nsignal. For example, if the max deviation is set to 10, the unit is 'PERCENT', and\nthe underlying order is a sell, then the trigger price will never be more then 10%\nbelow the trigger signal. Similarly, if the deviation is 100, the unit is\n'QUOTE_CURRENCY', the underlying order is a sell, and the contract is quoted in USD,\nthen the trigger price will never be more than $100 below the trigger signal.","uniqueKey":"json.batchOrder.items.[INDEX].oneOf.1.trailingStopDeviationUnit","typeLabel":"enum\u003cstring>"},"qtyMode":{"type":"string","enum":["ABSOLUTE","RELATIVE"],"description":"Determines how the updated size is interpreted, defaulting to 'RELATIVE'.\n\n'ABSOLUTE' means that the total order size, including past fills, is set to `size`.\n'RELATIVE' means that the current open order size is set to `size`.","uniqueKey":"json.batchOrder.items.[INDEX].oneOf.1.qtyMode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.1","typeLabel":"BatchOrderEdit · object"},{"type":"object","title":"BatchOrderCancel","description":"Provide either `order_id` or `cliOrdId`.","required":["order"],"example":{"order":"cancel","order_id":"e35d61dd-8a30-4d5f-a574-b5593ef0c050"},"properties":{"order":{"description":"Always `cancel`.","type":"string","enum":["cancel"],"isRequired":true,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.2.order","typeLabel":"enum\u003cstring>"},"order_id":{"description":"Order ID.","type":"string","format":"uuid","uniqueKey":"json.batchOrder.items.[INDEX].oneOf.2.order_id","typeLabel":"string\u003cuuid>"},"cliOrdId":{"description":"Unique client order identifier.","type":"string","maxLength":100,"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.2.cliOrdId","typeLabel":"string"}},"uniqueKey":"json.batchOrder.items.[INDEX].oneOf.2","typeLabel":"BatchOrderCancel · object"}],"uniqueKey":"json.batchOrder.items.[INDEX]","typeLabel":"BatchOrderSend · object | BatchOrderEdit · object | BatchOrderCancel · object"},"description":"A list containing structures of order sending and order cancellation\ninstructions. The list is in no particular order.","isRequired":true,"uniqueKey":"json.batchOrder","typeLabel":"(BatchOrderSend · object | BatchOrderEdit · object | BatchOrderCancel · object)[]"}},"examples":[{"batchOrder":[{"order":"send","order_tag":"1","orderType":"lmt","symbol":"PF_XBTUSD","side":"buy","size":1,"limitPrice":1,"cliOrdId":"my_another_client_id"},{"order":"send","order_tag":"2","orderType":"stp","symbol":"PF_XBTUSD","side":"buy","size":1,"limitPrice":2,"stopPrice":3},{"order":"cancel","order_id":"e35d61dd-8a30-4d5f-a574-b5593ef0c050"},{"order":"cancel","cliOrdId":"my_client_id"}]}],"description":"This parameter is required to be encoded as a JSON string.","isRequired":true,"uniqueKey":"json","typeLabel":"Batch Order · object"},"ProcessBefore":{"description":"The time before which the request should be processed, otherwise it is rejected.","name":"processBefore","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"example":"2023-11-08T19:56:35.441899Z","uniqueKey":"ProcessBefore","typeLabel":"any"}},"required":["json"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"json":{"batchOrder":[{"order":"send","order_tag":"1","orderType":"lmt","symbol":"PF_XBTUSD","side":"buy","size":1,"limitPrice":1,"cliOrdId":"my_another_client_id"},{"order":"send","order_tag":"2","orderType":"stp","symbol":"PF_XBTUSD","side":"buy","size":1,"limitPrice":2,"stopPrice":3},{"order":"cancel","order_id":"e35d61dd-8a30-4d5f-a574-b5593ef0c050"},{"order":"cancel","cliOrdId":"my_client_id"}]},"ProcessBefore":"2023-11-08T19:56:35.441899Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"67add3d6-190d-4c69-97f1-c53b8aa0e0cb":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Success Response","required":["serverTime","result","batchStatus"],"properties":{"batchStatus":{"type":"array","items":{"title":"BatchInstructionResult","type":"object","properties":{"orderEvents":{"type":"array","items":{"oneOf":[{"type":"object","title":"PlaceEvent","required":["type","order","reducedQuantity"],"properties":{"type":{"description":"Always `PLACE`.","type":"string","enum":["PLACE"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"order":{"type":"object","properties":{"orderId":{"type":"string","description":"The UID associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.orderId","typeLabel":"string"},"cliOrdId":{"oneOf":[{"type":"string","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.cliOrdId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.cliOrdId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.cliOrdId","typeLabel":"string | null"},"type":{"type":"string","enum":["lmt","ioc","post","liquidation","assignment","stp","unwind","block","fok"],"description":"The order type","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.type","typeLabel":"enum\u003cstring>"},"symbol":{"type":"string","description":"The symbol of the Futures.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.symbol","typeLabel":"string"},"side":{"type":"string","enum":["buy","sell"],"description":"The side associated with the order","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.side","typeLabel":"enum\u003cstring>"},"quantity":{"type":"number","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.quantity","typeLabel":"number"},"filled":{"type":"number","description":"The total amount of the order that has been filled.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.filled","typeLabel":"number"},"limitPrice":{"type":"number","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.limitPrice","typeLabel":"number"},"reduceOnly":{"type":"boolean","description":"Is the order a reduce only order or not.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.reduceOnly","typeLabel":"boolean"},"timestamp":{"type":"string","description":"The date and time the order was placed.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.timestamp","typeLabel":"string"},"lastUpdateTimestamp":{"type":"string","description":"The date and time the order was edited.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order.lastUpdateTimestamp","typeLabel":"string"}},"required":["orderId","cliOrdId","type","symbol","side","quantity","filled","limitPrice","reduceOnly","timestamp","lastUpdateTimestamp"],"description":"The placed order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.order","typeLabel":"object"},"reducedQuantity":{"oneOf":[{"type":"number","description":"The amount of quantity that was removed before placement or null if the order is not a\nreduce only.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.reducedQuantity.oneOf.0","typeLabel":"number"},{"type":"null","description":"The amount of quantity that was removed before placement or null if the order is not a\nreduce only.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.reducedQuantity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0.reducedQuantity","typeLabel":"number | null"}},"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.0","typeLabel":"PlaceEvent · object"},{"type":"object","title":"CancelEvent","required":["type","uid","order"],"properties":{"type":{"description":"Always `CANCEL`.","type":"string","enum":["CANCEL"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"uid":{"type":"string","description":"The UID associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.uid","typeLabel":"string"},"order":{"oneOf":[{"type":"object","description":"The cancelled order.","required":["orderId","cliOrdId","type","symbol","side","quantity","filled","limitPrice","reduceOnly","timestamp","lastUpdateTimestamp"],"properties":{"orderId":{"type":"string","description":"The UID associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.orderId","typeLabel":"string"},"cliOrdId":{"oneOf":[{"type":"string","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.cliOrdId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.cliOrdId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.cliOrdId","typeLabel":"string | null"},"type":{"type":"string","enum":["lmt","ioc","post","liquidation","assignment","stp","unwind","block","fok"],"description":"The order type","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.type","typeLabel":"enum\u003cstring>"},"symbol":{"type":"string","description":"The symbol of the Futures.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.symbol","typeLabel":"string"},"side":{"type":"string","enum":["buy","sell"],"description":"The side associated with the order","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.side","typeLabel":"enum\u003cstring>"},"quantity":{"type":"number","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.quantity","typeLabel":"number"},"filled":{"type":"number","description":"The total amount of the order that has been filled.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.filled","typeLabel":"number"},"limitPrice":{"type":"number","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.limitPrice","typeLabel":"number"},"reduceOnly":{"type":"boolean","description":"Is the order a reduce only order or not.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.reduceOnly","typeLabel":"boolean"},"timestamp":{"type":"string","description":"The date and time the order was placed.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.timestamp","typeLabel":"string"},"lastUpdateTimestamp":{"type":"string","description":"The date and time the order was edited.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0.lastUpdateTimestamp","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1.order","typeLabel":"object | null"}},"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.1","typeLabel":"CancelEvent · object"},{"type":"object","title":"EditEvent","required":["type","old","new","reducedQuantity"],"properties":{"type":{"description":"Always `EDIT`.","type":"string","enum":["EDIT"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"old":{"type":"object","properties":{"orderId":{"type":"string","description":"The UID associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.orderId","typeLabel":"string"},"cliOrdId":{"oneOf":[{"type":"string","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.cliOrdId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.cliOrdId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.cliOrdId","typeLabel":"string | null"},"type":{"type":"string","enum":["lmt","ioc","post","liquidation","assignment","stp","unwind","block","fok"],"description":"The order type","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.type","typeLabel":"enum\u003cstring>"},"symbol":{"type":"string","description":"The symbol of the Futures.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.symbol","typeLabel":"string"},"side":{"type":"string","enum":["buy","sell"],"description":"The side associated with the order","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.side","typeLabel":"enum\u003cstring>"},"quantity":{"type":"number","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.quantity","typeLabel":"number"},"filled":{"type":"number","description":"The total amount of the order that has been filled.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.filled","typeLabel":"number"},"limitPrice":{"type":"number","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.limitPrice","typeLabel":"number"},"reduceOnly":{"type":"boolean","description":"Is the order a reduce only order or not.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.reduceOnly","typeLabel":"boolean"},"timestamp":{"type":"string","description":"The date and time the order was placed.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.timestamp","typeLabel":"string"},"lastUpdateTimestamp":{"type":"string","description":"The date and time the order was edited.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old.lastUpdateTimestamp","typeLabel":"string"}},"required":["orderId","cliOrdId","type","symbol","side","quantity","filled","limitPrice","reduceOnly","timestamp","lastUpdateTimestamp"],"description":"The order before the edit was applied.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.old","typeLabel":"object"},"new":{"type":"object","properties":{"orderId":{"type":"string","description":"The UID associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.orderId","typeLabel":"string"},"cliOrdId":{"oneOf":[{"type":"string","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.cliOrdId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.cliOrdId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.cliOrdId","typeLabel":"string | null"},"type":{"type":"string","enum":["lmt","ioc","post","liquidation","assignment","stp","unwind","block","fok"],"description":"The order type","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.type","typeLabel":"enum\u003cstring>"},"symbol":{"type":"string","description":"The symbol of the Futures.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.symbol","typeLabel":"string"},"side":{"type":"string","enum":["buy","sell"],"description":"The side associated with the order","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.side","typeLabel":"enum\u003cstring>"},"quantity":{"type":"number","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.quantity","typeLabel":"number"},"filled":{"type":"number","description":"The total amount of the order that has been filled.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.filled","typeLabel":"number"},"limitPrice":{"type":"number","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.limitPrice","typeLabel":"number"},"reduceOnly":{"type":"boolean","description":"Is the order a reduce only order or not.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.reduceOnly","typeLabel":"boolean"},"timestamp":{"type":"string","description":"The date and time the order was placed.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.timestamp","typeLabel":"string"},"lastUpdateTimestamp":{"type":"string","description":"The date and time the order was edited.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new.lastUpdateTimestamp","typeLabel":"string"}},"required":["orderId","cliOrdId","type","symbol","side","quantity","filled","limitPrice","reduceOnly","timestamp","lastUpdateTimestamp"],"description":"The order after the edit was applied.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.new","typeLabel":"object"},"reducedQuantity":{"oneOf":[{"type":"number","description":"The amount of quantity that was removed from the edited order or null if the order is\nnot a reduce only.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.reducedQuantity.oneOf.0","typeLabel":"number"},{"type":"null","description":"The amount of quantity that was removed from the edited order or null if the order is\nnot a reduce only.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.reducedQuantity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2.reducedQuantity","typeLabel":"number | null"}},"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.2","typeLabel":"EditEvent · object"},{"type":"object","title":"RejectEvent","required":["type","uid","order","reason"],"properties":{"type":{"description":"Always `REJECT`.","type":"string","enum":["REJECT"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"uid":{"type":"string","description":"The UID associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.uid","typeLabel":"string"},"order":{"oneOf":[{"type":"object","description":"The rejected order.","required":["orderId","cliOrdId","type","symbol","side","quantity","filled","limitPrice","reduceOnly","timestamp","lastUpdateTimestamp"],"properties":{"orderId":{"type":"string","description":"The UID associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.orderId","typeLabel":"string"},"cliOrdId":{"oneOf":[{"type":"string","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.cliOrdId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.cliOrdId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.cliOrdId","typeLabel":"string | null"},"type":{"type":"string","enum":["lmt","ioc","post","liquidation","assignment","stp","unwind","block","fok"],"description":"The order type","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.type","typeLabel":"enum\u003cstring>"},"symbol":{"type":"string","description":"The symbol of the Futures.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.symbol","typeLabel":"string"},"side":{"type":"string","enum":["buy","sell"],"description":"The side associated with the order","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.side","typeLabel":"enum\u003cstring>"},"quantity":{"type":"number","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.quantity","typeLabel":"number"},"filled":{"type":"number","description":"The total amount of the order that has been filled.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.filled","typeLabel":"number"},"limitPrice":{"type":"number","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.limitPrice","typeLabel":"number"},"reduceOnly":{"type":"boolean","description":"Is the order a reduce only order or not.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.reduceOnly","typeLabel":"boolean"},"timestamp":{"type":"string","description":"The date and time the order was placed.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.timestamp","typeLabel":"string"},"lastUpdateTimestamp":{"type":"string","description":"The date and time the order was edited.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0.lastUpdateTimestamp","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.order","typeLabel":"object | null"},"reason":{"type":"string","enum":["POST_WOULD_EXECUTE","IOC_WOULD_NOT_EXECUTE"],"description":"The rejection reason:\n\n- `POST_WOULD_EXECUTE` - The post-only order would be filled upon placement, thus is cancelled.\n- `IOC_WOULD_NOT_EXECUTE` - The immediate-or-cancel order would not execute.","x-codeReference":"OrderError.toApiString()","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3.reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.3","typeLabel":"RejectEvent · object"},{"type":"object","title":"ExecuteEvent","required":["type","executionId","price","amount","orderPriorEdit","orderPriorExecution","takerReducedQuantity"],"properties":{"type":{"description":"Always `EXECUTION`.","type":"string","enum":["EXECUTION"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"executionId":{"type":"string","format":"uuid","description":"The UID associated with the execution.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.executionId","typeLabel":"string\u003cuuid>"},"price":{"type":"number","description":"The price of the execution.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.price","typeLabel":"number"},"amount":{"type":"number","description":"The executed amount.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.amount","typeLabel":"number"},"orderPriorEdit":{"oneOf":[{"type":"object","description":"The order before the edit was applied (if the execution is a result of an order\nedit).","required":["orderId","cliOrdId","type","symbol","side","quantity","filled","limitPrice","reduceOnly","timestamp","lastUpdateTimestamp"],"properties":{"orderId":{"type":"string","description":"The UID associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.orderId","typeLabel":"string"},"cliOrdId":{"oneOf":[{"type":"string","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.cliOrdId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.cliOrdId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.cliOrdId","typeLabel":"string | null"},"type":{"type":"string","enum":["lmt","ioc","post","liquidation","assignment","stp","unwind","block","fok"],"description":"The order type","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.type","typeLabel":"enum\u003cstring>"},"symbol":{"type":"string","description":"The symbol of the Futures.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.symbol","typeLabel":"string"},"side":{"type":"string","enum":["buy","sell"],"description":"The side associated with the order","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.side","typeLabel":"enum\u003cstring>"},"quantity":{"type":"number","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.quantity","typeLabel":"number"},"filled":{"type":"number","description":"The total amount of the order that has been filled.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.filled","typeLabel":"number"},"limitPrice":{"type":"number","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.limitPrice","typeLabel":"number"},"reduceOnly":{"type":"boolean","description":"Is the order a reduce only order or not.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.reduceOnly","typeLabel":"boolean"},"timestamp":{"type":"string","description":"The date and time the order was placed.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.timestamp","typeLabel":"string"},"lastUpdateTimestamp":{"type":"string","description":"The date and time the order was edited.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0.lastUpdateTimestamp","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorEdit","typeLabel":"object | null"},"orderPriorExecution":{"type":"object","properties":{"orderId":{"type":"string","description":"The UID associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.orderId","typeLabel":"string"},"cliOrdId":{"oneOf":[{"type":"string","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.cliOrdId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.cliOrdId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.cliOrdId","typeLabel":"string | null"},"type":{"type":"string","enum":["lmt","ioc","post","liquidation","assignment","stp","unwind","block","fok"],"description":"The order type","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.type","typeLabel":"enum\u003cstring>"},"symbol":{"type":"string","description":"The symbol of the Futures.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.symbol","typeLabel":"string"},"side":{"type":"string","enum":["buy","sell"],"description":"The side associated with the order","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.side","typeLabel":"enum\u003cstring>"},"quantity":{"type":"number","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.quantity","typeLabel":"number"},"filled":{"type":"number","description":"The total amount of the order that has been filled.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.filled","typeLabel":"number"},"limitPrice":{"type":"number","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.limitPrice","typeLabel":"number"},"reduceOnly":{"type":"boolean","description":"Is the order a reduce only order or not.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.reduceOnly","typeLabel":"boolean"},"timestamp":{"type":"string","description":"The date and time the order was placed.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.timestamp","typeLabel":"string"},"lastUpdateTimestamp":{"type":"string","description":"The date and time the order was edited.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution.lastUpdateTimestamp","typeLabel":"string"}},"required":["orderId","cliOrdId","type","symbol","side","quantity","filled","limitPrice","reduceOnly","timestamp","lastUpdateTimestamp"],"description":"The order before it executes.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.orderPriorExecution","typeLabel":"object"},"takerReducedQuantity":{"oneOf":[{"type":"number","description":"The amount of quantity that was removed from the order before execution or null if the\norder is not a reduce only.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.takerReducedQuantity.oneOf.0","typeLabel":"number"},{"type":"null","description":"The amount of quantity that was removed from the order before execution or null if the\norder is not a reduce only.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.takerReducedQuantity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4.takerReducedQuantity","typeLabel":"number | null"}},"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.4","typeLabel":"ExecuteEvent · object"},{"type":"object","title":"PlaceTriggerEvent","required":["type","orderTrigger"],"properties":{"type":{"description":"Always `PLACE`.","type":"string","enum":["PLACE"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"orderTrigger":{"type":"object","properties":{"uid":{"type":"string","description":"The UID associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.uid","typeLabel":"string"},"clientId":{"oneOf":[{"type":"string","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.clientId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.clientId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.clientId","typeLabel":"string | null"},"type":{"type":"string","enum":["lmt","ioc","post","liquidation","assignment","stp","unwind","fok"],"description":"The order type","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.type","typeLabel":"enum\u003cstring>"},"symbol":{"type":"string","description":"The symbol of the Futures.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.symbol","typeLabel":"string"},"side":{"type":"string","enum":["buy","sell"],"description":"The side associated with the order","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.side","typeLabel":"enum\u003cstring>"},"quantity":{"oneOf":[{"type":"number","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.quantity.oneOf.0","typeLabel":"number"},{"type":"null","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.quantity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.quantity","typeLabel":"number | null"},"limitPrice":{"oneOf":[{"type":"number","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.limitPrice.oneOf.0","typeLabel":"number"},{"type":"null","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.limitPrice.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.limitPrice","typeLabel":"number | null"},"triggerPrice":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.triggerPrice.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.triggerPrice.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.triggerPrice","typeLabel":"number | null"},"triggerSide":{"oneOf":[{"type":"string","enum":["trigger_above","trigger_below"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.triggerSide.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["trigger_above","trigger_below"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.triggerSide.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.triggerSide","typeLabel":"enum\u003cstring> | null"},"triggerSignal":{"oneOf":[{"type":"string","enum":["mark_price","last_price","spot_price"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.triggerSignal.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["mark_price","last_price","spot_price"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.triggerSignal.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.triggerSignal","typeLabel":"enum\u003cstring> | null"},"reduceOnly":{"type":"boolean","description":"Is the order a reduce only order or not.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.reduceOnly","typeLabel":"boolean"},"timestamp":{"type":"string","description":"The date and time the order was placed.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.timestamp","typeLabel":"string"},"lastUpdateTimestamp":{"type":"string","description":"The date and time the order was edited.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.lastUpdateTimestamp","typeLabel":"string"},"startTime":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.startTime.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.startTime.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger.startTime","typeLabel":"string | null"}},"required":["uid","clientId","type","symbol","side","quantity","limitPrice","triggerPrice","triggerSide","triggerSignal","reduceOnly","timestamp","lastUpdateTimestamp"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5.orderTrigger","typeLabel":"object"}},"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.5","typeLabel":"PlaceTriggerEvent · object"},{"type":"object","title":"CancelTriggerEvent","required":["type","uid","orderTrigger"],"properties":{"type":{"description":"Always `CANCEL`.","type":"string","enum":["CANCEL"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"uid":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.uid","typeLabel":"string"},"orderTrigger":{"oneOf":[{"type":"object","required":["uid","clientId","type","symbol","side","quantity","limitPrice","triggerPrice","triggerSide","triggerSignal","reduceOnly","timestamp","lastUpdateTimestamp"],"properties":{"uid":{"type":"string","description":"The UID associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.uid","typeLabel":"string"},"clientId":{"oneOf":[{"type":"string","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.clientId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.clientId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.clientId","typeLabel":"string | null"},"type":{"type":"string","enum":["lmt","ioc","post","liquidation","assignment","stp","unwind","fok"],"description":"The order type","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.type","typeLabel":"enum\u003cstring>"},"symbol":{"type":"string","description":"The symbol of the Futures.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.symbol","typeLabel":"string"},"side":{"type":"string","enum":["buy","sell"],"description":"The side associated with the order","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.side","typeLabel":"enum\u003cstring>"},"quantity":{"oneOf":[{"type":"number","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.quantity.oneOf.0","typeLabel":"number"},{"type":"null","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.quantity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.quantity","typeLabel":"number | null"},"limitPrice":{"oneOf":[{"type":"number","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.limitPrice.oneOf.0","typeLabel":"number"},{"type":"null","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.limitPrice.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.limitPrice","typeLabel":"number | null"},"triggerPrice":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.triggerPrice.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.triggerPrice.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.triggerPrice","typeLabel":"number | null"},"triggerSide":{"oneOf":[{"type":"string","enum":["trigger_above","trigger_below"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.triggerSide.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["trigger_above","trigger_below"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.triggerSide.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.triggerSide","typeLabel":"enum\u003cstring> | null"},"triggerSignal":{"oneOf":[{"type":"string","enum":["mark_price","last_price","spot_price"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.triggerSignal.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["mark_price","last_price","spot_price"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.triggerSignal.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.triggerSignal","typeLabel":"enum\u003cstring> | null"},"reduceOnly":{"type":"boolean","description":"Is the order a reduce only order or not.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.reduceOnly","typeLabel":"boolean"},"timestamp":{"type":"string","description":"The date and time the order was placed.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.timestamp","typeLabel":"string"},"lastUpdateTimestamp":{"type":"string","description":"The date and time the order was edited.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.lastUpdateTimestamp","typeLabel":"string"},"startTime":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.startTime.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.startTime.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0.startTime","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6.orderTrigger","typeLabel":"object | null"}},"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.6","typeLabel":"CancelTriggerEvent · object"},{"type":"object","title":"RejectTriggerEvent","required":["type","uid","orderTrigger","reason"],"properties":{"type":{"description":"Always `REJECT`.","type":"string","enum":["REJECT"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"uid":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.uid","typeLabel":"string"},"orderTrigger":{"oneOf":[{"type":"object","required":["uid","clientId","type","symbol","side","quantity","limitPrice","triggerPrice","triggerSide","triggerSignal","reduceOnly","timestamp","lastUpdateTimestamp"],"properties":{"uid":{"type":"string","description":"The UID associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.uid","typeLabel":"string"},"clientId":{"oneOf":[{"type":"string","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.clientId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client order id or null if order does not have one.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.clientId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.clientId","typeLabel":"string | null"},"type":{"type":"string","enum":["lmt","ioc","post","liquidation","assignment","stp","unwind","fok"],"description":"The order type","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.type","typeLabel":"enum\u003cstring>"},"symbol":{"type":"string","description":"The symbol of the Futures.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.symbol","typeLabel":"string"},"side":{"type":"string","enum":["buy","sell"],"description":"The side associated with the order","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.side","typeLabel":"enum\u003cstring>"},"quantity":{"oneOf":[{"type":"number","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.quantity.oneOf.0","typeLabel":"number"},{"type":"null","description":"The quantity (size) associated with the order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.quantity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.quantity","typeLabel":"number | null"},"limitPrice":{"oneOf":[{"type":"number","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.limitPrice.oneOf.0","typeLabel":"number"},{"type":"null","description":"The limit price associated with a limit order.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.limitPrice.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.limitPrice","typeLabel":"number | null"},"triggerPrice":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.triggerPrice.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.triggerPrice.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.triggerPrice","typeLabel":"number | null"},"triggerSide":{"oneOf":[{"type":"string","enum":["trigger_above","trigger_below"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.triggerSide.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["trigger_above","trigger_below"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.triggerSide.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.triggerSide","typeLabel":"enum\u003cstring> | null"},"triggerSignal":{"oneOf":[{"type":"string","enum":["mark_price","last_price","spot_price"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.triggerSignal.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["mark_price","last_price","spot_price"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.triggerSignal.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.triggerSignal","typeLabel":"enum\u003cstring> | null"},"reduceOnly":{"type":"boolean","description":"Is the order a reduce only order or not.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.reduceOnly","typeLabel":"boolean"},"timestamp":{"type":"string","description":"The date and time the order was placed.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.timestamp","typeLabel":"string"},"lastUpdateTimestamp":{"type":"string","description":"The date and time the order was edited.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.lastUpdateTimestamp","typeLabel":"string"},"startTime":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.startTime.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.startTime.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0.startTime","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.orderTrigger","typeLabel":"object | null"},"reason":{"type":"string","enum":["MARKET_SUSPENDED","MARKET_NOT_FOUND","INVALID_PRICE","INVALID_QUANTITY","SMALL_ORDER_LIMIT_EXCEEDED","INSUFFICIENT_MARGIN","WOULD_CAUSE_LIQUIDATION","CLIENT_ORDER_ID_IN_USE","CLIENT_ORDER_ID_TOO_LONG","MAX_POSITION_EXCEEDED","PRICE_COLLAR","PRICE_DISLOCATION","EDIT_HAS_NO_EFFECT","ORDER_FOR_CANCELLATION_NOT_FOUND","ORDER_FOR_EDIT_NOT_FOUND","ORDER_CANNOT_HAVE_TRIGGER_PRICE","POST_WOULD_EXECUTE","IOC_WOULD_NOT_EXECUTE","WOULD_EXECUTE_SELF","WOULD_NOT_REDUCE_POSITION","REJECTED_AFTER_EXECUTION","MARKET_IS_POST_ONLY","ORDER_LIMIT_EXCEEDED","FIXED_LEVERAGE_TOO_HIGH","CANNOT_EDIT_TRIGGER_PRICE_OF_TRAILING_STOP","CANNOT_EDIT_LIMIT_PRICE_OF_TRAILING_STOP","TRAILING_STOP_ORDER_LIMIT_EXCEEDED","TRAILING_STOP_PERCENT_DEVIATION_EXCEEDS_MAX_DECIMAL_PLACES","TRAILING_STOP_QUOTE_DEVIATION_NOT_MULTIPLE_OF_TICK_SIZE","TRAILING_STOP_MAX_DEVIATION_TOO_LARGE","TRAILING_STOP_MAX_DEVIATION_TOO_SMALL","INSUFFICIENT_HEADROOM_AROUND_CURRENT_PRICE_TO_EDIT_TRAILING_STOP","NO_REFERENCE_PRICE_AVAILABLE_FOR_CALCULATING_TRAILING_STOP_TRIGGER_PRICE","INSUFFICIENT_CLOSING_MARGIN","LIMIT_PRICE_SET_AS_ABSOLUTE_AND_RELATIVE","LIMIT_PRICE_OFFSET_VALUE_INVALID","LIMIT_PRICE_OFFSET_UNIT_INVALID","LIMIT_PRICE_OFFSET_MUST_HAVE_VALUE_AND_UNIT","LIMIT_PRICE_OFFSET_QUOTE_CURRENCY_VALUE_MUST_BE_MULTIPLE_OF_TICK_SIZE","LIMIT_PRICE_OFFSET_PERCENT_VALUE_TOO_MANY_DECIMAL_PLACES","LIMIT_PRICE_OFFSET_TOO_HIGH","LIMIT_PRICE_OFFSET_TOO_LOW"],"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7.reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX].oneOf.7","typeLabel":"RejectTriggerEvent · object"}],"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents.items.[INDEX]","typeLabel":"PlaceEvent · object | CancelEvent · object | EditEvent · object | RejectEvent · object | ExecuteEvent · object | PlaceTriggerEvent · object | CancelTriggerEvent · object | RejectTriggerEvent · object"},"isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].orderEvents","typeLabel":"(PlaceEvent · object | CancelEvent · object | EditEvent · object | RejectEvent · object | ExecuteEvent · object | PlaceTriggerEvent · object | CancelTriggerEvent · object | RejectTriggerEvent · object)[]"},"status":{"type":"string","enum":["placed","edited","cancelled","invalidOrderType","invalidSide","invalidSize","invalidPrice","insufficientAvailableFunds","selfFill","tooManySmallOrders","marketSuspended","marketInactive","clientOrderIdAlreadyExist","clientOrderIdTooLong","outsidePriceCollar","postWouldExecute","iocWouldNotExecute","orderForEditNotFound","notFound"],"description":"The status of the order.\n\nSuccess statuses:\n\n- `placed` - order placed successfully\n- `edited` - order edited successfully\n- `cancelled` - order cancelled successfully\n\nError statuses:\n\n- `invalidOrderType` - invalid order type\n- `invalidSide` - invalid side\n- `invalidSize` - invalid size\n- `invalidPrice` - invalid limitPrice and/or stopPrice\n- `insufficientAvailableFunds` - insufficient available funds\n- `selfFill` - would fill against the same account's order\n- `tooManySmallOrders` - too many small orders already open\n- `marketSuspended` - market is suspended\n- `marketInactive` - market is inactive\n- `clientOrderIdAlreadyExist` - client order ID already exists\n- `clientOrderIdTooLong` - client order ID exceeds the permissible limit\n- `outsidePriceCollar` - limit price is too far from mark price (fat-finger protection)\n- `postWouldExecute` - post-only order would execute immediately on placement\n- `iocWouldNotExecute` - immediate-or-cancel order would not execute\n- `orderForEditNotFound` - order to be edited was not found\n- `notFound` - order to be cancelled was not found","isRequired":true,"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"cliOrdId":{"type":"string","description":"The unique client order identifier. This field is returned only if the order has a\nclient order ID.","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].cliOrdId","typeLabel":"string"},"dateTimeReceived":{"oneOf":[{"type":"string","description":"The date and time the order was received.","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].dateTimeReceived.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date and time the order was received.","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].dateTimeReceived.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].dateTimeReceived","typeLabel":"string | null"},"order_id":{"oneOf":[{"type":"string","description":"The unique identifier of the order.","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].order_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The unique identifier of the order.","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].order_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].order_id","typeLabel":"string | null"},"order_tag":{"oneOf":[{"type":"string","description":"The arbitrary string provided client-side when the order was sent for the purpose of\nmapping order sending instructions to the API's response.","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].order_tag.oneOf.0","typeLabel":"string"},{"type":"null","description":"The arbitrary string provided client-side when the order was sent for the purpose of\nmapping order sending instructions to the API's response.","uniqueKey":"oneOf.0.batchStatus.items.[INDEX].order_tag.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.batchStatus.items.[INDEX].order_tag","typeLabel":"string | null"}},"required":["status","orderEvents"],"uniqueKey":"oneOf.0.batchStatus.items.[INDEX]","typeLabel":"BatchInstructionResult · object"},"description":"A structure containing information on the send order request.","isRequired":true,"uniqueKey":"oneOf.0.batchStatus","typeLabel":"BatchInstructionResult · object[]"},"result":{"type":"string","enum":["success"],"example":"success","isRequired":true,"uniqueKey":"oneOf.0.result","typeLabel":"enum\u003cstring>"},"serverTime":{"description":"Server time in Coordinated Universal Time (UTC)","type":"string","format":"date-time","example":"2020-08-27T17:03:33.196Z","isRequired":true,"uniqueKey":"oneOf.0.serverTime","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"oneOf.0","typeLabel":"Success Response · object"},{"type":"object","title":"Errors","required":["serverTime","result","error"],"properties":{"error":{"type":"string","description":"Error description.\n\n - `accountInactive`: The Futures account the request refers to is inactive\n - `apiLimitExceeded`: The API limit for the calling IP address has been exceeded\n - `authenticationError`: The request could not be authenticated\n - `insufficientFunds`: The amount requested for transfer is below the amount of funds available\n - `invalidAccount`: The Futures account the transfer request refers to is invalid\n - `invalidAmount`: The amount the transfer request refers to is invalid\n - `invalidArgument`: One or more arguments provided are invalid\n - `invalidUnit`: The unit the transfer request refers to is invalid\n - `Json Parse Error`: The request failed to pass valid JSON as an argument\n - `marketUnavailable`: The market is currently unavailable\n - `nonceBelowThreshold`: The provided nonce is below the threshold\n - `nonceDuplicate`: The provided nonce is a duplicate as it has been used in a previous request\n - `notFound`: The requested information could not be found\n - `requiredArgumentMissing`: One or more required arguments are missing\n - `Server Error`: There was an error processing the request\n - `Unavailable`: The endpoint being called is unavailable\n - `unknownError`: An unknown error has occurred","enum":["accountInactive","apiLimitExceeded","authenticationError","insufficientFunds","invalidAccount","invalidAmount","invalidArgument","invalidUnit","Json Parse Error","marketUnavailable","nonceBelowThreshold","nonceDuplicate","notFound","requiredArgumentMissing","Server Error","Unavailable","unknownError"],"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"enum\u003cstring>"},"result":{"type":"string","enum":["error"],"example":"error","isRequired":true,"uniqueKey":"oneOf.1.result","typeLabel":"enum\u003cstring>"},"serverTime":{"description":"Server time in Coordinated Universal Time (UTC)","type":"string","format":"date-time","example":"2020-08-27T17:03:33.196Z","isRequired":true,"uniqueKey":"oneOf.1.serverTime","typeLabel":"string\u003cdate-time>"},"errors":{"type":"array","items":{"type":"string","description":"Error description.\n\n - `accountInactive`: The Futures account the request refers to is inactive\n - `apiLimitExceeded`: The API limit for the calling IP address has been exceeded\n - `authenticationError`: The request could not be authenticated\n - `insufficientFunds`: The amount requested for transfer is below the amount of funds available\n - `invalidAccount`: The Futures account the transfer request refers to is invalid\n - `invalidAmount`: The amount the transfer request refers to is invalid\n - `invalidArgument`: One or more arguments provided are invalid\n - `invalidUnit`: The unit the transfer request refers to is invalid\n - `Json Parse Error`: The request failed to pass valid JSON as an argument\n - `marketUnavailable`: The market is currently unavailable\n - `nonceBelowThreshold`: The provided nonce is below the threshold\n - `nonceDuplicate`: The provided nonce is a duplicate as it has been used in a previous request\n - `notFound`: The requested information could not be found\n - `requiredArgumentMissing`: One or more required arguments are missing\n - `Server Error`: There was an error processing the request\n - `Unavailable`: The endpoint being called is unavailable\n - `unknownError`: An unknown error has occurred","enum":["accountInactive","apiLimitExceeded","authenticationError","insufficientFunds","invalidAccount","invalidAmount","invalidArgument","invalidUnit","Json Parse Error","marketUnavailable","nonceBelowThreshold","nonceDuplicate","notFound","requiredArgumentMissing","Server Error","Unavailable","unknownError"],"uniqueKey":"oneOf.1.errors.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"oneOf.1.errors","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"oneOf.1","typeLabel":"Errors · object"}],"uniqueKey":"","typeLabel":"Success Response · object | Errors · object"},"examples":{"success":{"title":"success","value":{"result":"success","batchStatus":[{"status":"placed","order_tag":"1","order_id":"022774bc-2c4a-4f26-9317-436c8d85746d","dateTimeReceived":"2019-09-05T16:41:35.173Z","orderEvents":[{"type":"PLACE","order":{"orderId":"022774bc-2c4a-4f26-9317-436c8d85746d","type":"lmt","symbol":"PF_XBTUSD","side":"buy","quantity":1000,"filled":0,"limitPrice":9400,"reduceOnly":false,"timestamp":"2019-09-05T16:41:35.173Z","lastUpdateTimestamp":"2019-09-05T16:41:35.173Z"}}]},{"status":"edited","order_id":"9c2cbcc8-14f6-42fe-a020-6e395babafd1","orderEvents":[{"type":"EDIT","old":{"orderId":"9c2cbcc8-14f6-42fe-a020-6e395babafd1","type":"lmt","symbol":"PF_XBTUSD","side":"buy","quantity":102,"filled":0,"limitPrice":8500,"reduceOnly":false,"timestamp":"2019-09-04T11:45:48.884Z","lastUpdateTimestamp":"2019-09-04T11:45:48.884Z"},"new":{"orderId":"9c2cbcc8-14f6-42fe-a020-6e395babafd1","type":"lmt","symbol":"PF_XBTUSD","side":"buy","quantity":1000,"filled":0,"limitPrice":9400,"reduceOnly":false,"timestamp":"2019-09-04T11:45:48.884Z","lastUpdateTimestamp":"2019-09-05T16:41:40.996Z"}}]},{"status":"cancelled","order_id":"566942c8-a3b5-4184-a451-622b09493129","orderEvents":[{"type":"CANCEL","uid":"566942c8-a3b5-4184-a451-622b09493129","order":{"orderId":"566942c8-a3b5-4184-a451-622b09493129","type":"lmt","symbol":"PF_XBTUSD","side":"buy","quantity":100,"filled":0,"limitPrice":8500,"reduceOnly":false,"timestamp":"2019-09-02T12:54:08.005Z","lastUpdateTimestamp":"2019-09-02T12:54:08.005Z"}}]}],"serverTime":"2019-09-05T16:41:40.996Z"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"4869ed34-31cc-405b-839e-cd647ed7fb27":{"general-api-key":{"type":"apiKey","description":"General API key with **full** access","in":"header","name":"APIKey","x-inlineDescription":true,"scopes":[]},"authent":{"type":"apiKey","description":"Authentication string","in":"header","name":"Authent","x-inlineDescription":true,"scopes":[]}}},"servers":{"70983042-63e9-425b-a261-d629b3132377":{"url":"https://futures.kraken.com/derivatives/api/v3","description":"Kraken Futures"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"General API key with **full** access","in":"header","name":"APIKey","x-inlineDescription":true,"scopes":[]},"schema":{"title":"APIKey","type":"string","description":"General API key with **full** access","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"general-api-key","name":"APIKey"},{"scheme":{"type":"apiKey","description":"Authentication string","in":"header","name":"Authent","x-inlineDescription":true,"scopes":[]},"schema":{"title":"Authent","type":"string","description":"Authentication string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"authent","name":"Authent"}],"title":"general-api-key \u0026 authent"}]},"originalFileLocation":"openapi/futures-rest.yaml"},"subdomain":"kraken-sandbox","siteName":"Kraken Developers","title":"Batch order management - Kraken Developers","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-20T15:37:51.008Z","originalFileLocation":"api-reference/order-management/batch-order-management.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=\"This endpoint allows sending limit or stop order(s) and/or cancelling open order(s) and/or editing open order(s) for a currently listed Futures contract in batch. When editing an order, if the trailingStopMaxDeviation and trailingStopDeviationUnit parameters are sent unchanged, the system will recalculate a new stop price upon successful order modification.\">\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-sandbox/xnPkp7Dzen33dSED/_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-sandbox/xnPkp7Dzen33dSED/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kraken-sandbox/xnPkp7Dzen33dSED/_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-sandbox/xnPkp7Dzen33dSED/_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-sandbox/xnPkp7Dzen33dSED/_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-sandbox/xnPkp7Dzen33dSED/_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-sandbox/xnPkp7Dzen33dSED/_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-sandbox/xnPkp7Dzen33dSED/_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-sandbox/xnPkp7Dzen33dSED/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Batch order management - Kraken Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint allows sending limit or stop order(s) and/or cancelling open order(s) and/or editing open order(s) for a currently listed Futures contract in batch. When editing an order, if the trailingStopMaxDeviation and trailingStopDeviationUnit parameters are sent unchanged, the system will recalculate a new stop price upon successful order modification.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kraken Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://kraken-sandbox.mintlify.app/api-reference/order-management/batch-order-management\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kraken-sandbox.mintlify.site/_mintlify/api/og/v2?division=Order+Management\u0026amp;title=Batch+order+management\u0026amp;description=This+endpoint+allows+sending+limit+or+stop+order%28s%29+and%2For+cancelling+open+order%28s%29+and%2For%0Aediting+open+order%28s%29+for+a+currently+listed+Futures+contract+in+batc\u0026amp;theme=d6e6a10e60bffa4e45ece70b\u0026amp;signature=982cb0c9bc0984733741a068632f93ca60f5f110a813e504148aa131b519bb2d\">\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=\"Batch order management - Kraken Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint allows sending limit or stop order(s) and/or cancelling open order(s) and/or editing open order(s) for a currently listed Futures contract in batch. When editing an order, if the trailingStopMaxDeviation and trailingStopDeviationUnit parameters are sent unchanged, the system will recalculate a new stop price upon successful order modification.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kraken-sandbox.mintlify.site/_mintlify/api/og/v2?division=Order+Management\u0026amp;title=Batch+order+management\u0026amp;description=This+endpoint+allows+sending+limit+or+stop+order%28s%29+and%2For+cancelling+open+order%28s%29+and%2For%0Aediting+open+order%28s%29+for+a+currently+listed+Futures+contract+in+batc\u0026amp;theme=d6e6a10e60bffa4e45ece70b\u0026amp;signature=982cb0c9bc0984733741a068632f93ca60f5f110a813e504148aa131b519bb2d\">\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-sandbox/xnPkp7Dzen33dSED/_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://kraken-sandbox.mintlify.app/api-reference/order-management/batch-order-management\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/order-management/batch-order-management.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://kraken-sandbox.mintlify.app/#organization\",\"name\":\"Kraken Developers\",\"url\":\"https://kraken-sandbox.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kraken-sandbox/OwFMB_raM-oufD5t/logo/light.svg?fit=max\u0026auto=format\u0026n=OwFMB_raM-oufD5t\u0026q=85\u0026s=63580a7a28c41b4ae9da3224146a3376\"}},{\"@type\":\"WebSite\",\"@id\":\"https://kraken-sandbox.mintlify.app#website\",\"name\":\"Kraken Developers\",\"url\":\"https://kraken-sandbox.mintlify.app\",\"publisher\":{\"@id\":\"https://kraken-sandbox.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://kraken-sandbox.mintlify.app/api-reference/order-management/batch-order-management#webpage\",\"url\":\"https://kraken-sandbox.mintlify.app/api-reference/order-management/batch-order-management\",\"name\":\"Batch order management\",\"description\":\"This endpoint allows sending limit or stop order(s) and/or cancelling open order(s) and/or editing open order(s) for a currently listed Futures contract in batch. When editing an order, if the trailingStopMaxDeviation and trailingStopDeviationUnit parameters are sent unchanged, the system will recalculate a new stop price upon successful order modification.\",\"dateModified\":\"2026-05-20T15:37:51.008Z\",\"isPartOf\":{\"@id\":\"https://kraken-sandbox.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://kraken-sandbox.mintlify.app/api-reference/order-management/batch-order-management#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://kraken-sandbox.mintlify.app/api-reference/order-management/batch-order-management#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Order Management\",\"item\":\"https://kraken-sandbox.mintlify.app/api-reference/order-management/send-order\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Batch order management\",\"item\":\"https://kraken-sandbox.mintlify.app/api-reference/order-management/batch-order-management\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://kraken-sandbox.mintlify.app/api-reference/order-management/batch-order-management#apireference\",\"headline\":\"Batch order management\",\"name\":\"Batch order management\",\"description\":\"This endpoint allows sending limit or stop order(s) and/or cancelling open order(s) and/or editing open order(s) for a currently listed Futures contract in batch. When editing an order, if the trailingStopMaxDeviation and trailingStopDeviationUnit parameters are sent unchanged, the system will recalculate a new stop price upon successful order modification.\",\"url\":\"https://kraken-sandbox.mintlify.app/api-reference/order-management/batch-order-management\",\"mainEntityOfPage\":{\"@id\":\"https://kraken-sandbox.mintlify.app/api-reference/order-management/batch-order-management#webpage\"},\"dateModified\":\"2026-05-20T15:37:51.008Z\",\"publisher\":{\"@id\":\"https://kraken-sandbox.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://kraken-sandbox.mintlify.app#website\"}}]}\u003c/script>","agentPointerHref":"/api-reference/order-management/batch-order-management.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","groups":[{"group":"Exchange API reference","pages":[{"title":"Exchange API reference","sidebarTitle":"Overview","href":"/exchange/api-reference/overview"}]}]},{"dropdown":"Spot REST","icon":"code","groups":[{"group":"Market Data","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 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","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"}]},{"group":"Trading","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":"Funding","pages":[{"title":"Get Deposit Methods","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/DepositMethods","href":"/api-reference/funding/get-deposit-methods"},{"title":"Get Deposit Addresses","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/DepositAddresses","href":"/api-reference/funding/get-deposit-addresses"},{"title":"Get Status of Recent Deposits","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/DepositStatus","href":"/api-reference/funding/get-status-of-recent-deposits"},{"title":"Get Withdrawal Methods","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/WithdrawMethods","href":"/api-reference/funding/get-withdrawal-methods"},{"title":"Get Withdrawal Addresses","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/WithdrawAddresses","href":"/api-reference/funding/get-withdrawal-addresses"},{"title":"Get Withdrawal Information","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/WithdrawInfo","href":"/api-reference/funding/get-withdrawal-information"},{"title":"Withdraw Funds","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/Withdraw","href":"/api-reference/funding/withdraw-funds"},{"title":"Get Status of Recent Withdrawals","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/WithdrawStatus","href":"/api-reference/funding/get-status-of-recent-withdrawals"},{"title":"Request Withdrawal Cancellation","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/WithdrawCancel","href":"/api-reference/funding/request-withdrawal-cancellation"},{"title":"Request Wallet Transfer","deprecated":null,"version":null,"openapi":"/openapi/spot-rest.yaml post /private/WalletTransfer","href":"/api-reference/funding/request-wallet-transfer"}]},{"group":"Subaccounts","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","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","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":"Spot WebSocket v2","icon":"bolt","groups":[{"group":"Public Channels","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","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","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","pages":[{"title":"Ping","tag":"WSS","href":"/exchange/api-reference/spot-websocket-v2/ping"}]}]},{"dropdown":"Spot WebSocket v1","icon":"bolt","groups":[{"group":"Public Channels","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","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","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","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","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","pages":[{"title":"Get instruments","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /instruments","href":"/api-reference/instrument-details/get-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","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","description":"This endpoint provides a Dead Man's Switch mechanism to protect the user from network malfunctions. The user can send a request with a timeout in seconds which will trigger a countdown timer that will cancel all user orders when timeout expires. The user has to keep sending request to push back the timeout expiration or they can deactivate the mechanism by specifying a timeout of zero (0).\n\nThe recommended mechanism usage is making a call every 15 to 20 seconds and provide a timeout of 60 seconds. This allows the user to keep the orders in place on a brief network failure, while keeping them safe in case of a network breakdown.","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","description":"This endpoint returns information on all open orders for all Futures contracts.","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","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","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","pages":[{"title":"Get fee schedules","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /feeschedules","href":"/api-reference/fee-schedules/get-fee-schedules"},{"title":"Get fee schedule volumes","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /feeschedules/volumes","href":"/api-reference/fee-schedules/get-fee-schedule-volumes"}]},{"group":"Historical Data","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","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"}]},{"group":"Subaccounts","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","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":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /withdrawal","href":"/api-reference/transfers/initiate-withdrawal-to-spot-wallet"}]},{"group":"Assignment Program","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","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 open RFQ","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /rfqs/{rfqUid}","href":"/api-reference/rfqs/retrieve-a-single-open-rfq"},{"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":"Place new offer on an open RFQ","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml post /rfqs/{rfqUid}/place-offer","href":"/api-reference/rfqs/place-new-offer-on-an-open-rfq"},{"title":"Replace open offer on open RFQ","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml put /rfqs/{rfqUid}/replace-offer","href":"/api-reference/rfqs/replace-open-offer-on-open-rfq"},{"title":"Cancel open offer on open RFQ","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml delete /rfqs/{rfqUid}/cancel-offer","href":"/api-reference/rfqs/cancel-open-offer-on-open-rfq"}]},{"group":"General","pages":[{"title":"Get notifications","deprecated":null,"version":null,"openapi":"/openapi/futures-rest.yaml get /notifications","href":"/api-reference/general/get-notifications"}]}]},{"dropdown":"Derivatives WebSocket","icon":"bolt","groups":[{"group":"Public Channels","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","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","pages":[{"title":"Challenge","tag":"WSS","href":"/exchange/api-reference/futures-websocket/challenge"}]}]},{"dropdown":"Unified FIX","icon":"terminal","groups":[{"group":"Trading","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","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":"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","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"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/exchange/changelog"}]}]},{"product":"Institutional","pages":[{"title":"Institutional","href":"/institutional/guides/overview"}]},{"product":"Embed","hidden":true,"pages":[{"title":"Embed","href":"/embed/guides/overview"}]}]},"basePath":"","title":"Batch order management - Kraken Developers","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","SectionHeading-uish4Ed2.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}