Order creation can be temporarily restricted during maintenance. In post_only, only orders with postOnly: true are accepted. In cancel_only or disabled, new orders return 425 Too Early with a trading-mode code. Check Maintenance Mode before sending orders.
For client-signed orders, signature and signatureType are both required. They must either both be present or both be omitted. Omission is accepted only for delegated server signing with an HMAC token carrying delegated_signing.nonce is required and must be the numeric value 0. expiration may be omitted; omission is signed as zero. If supplied, it must represent zero, for example "0". Non-zero expiration is not supported.Amounts are integer raw units with 6 decimals. makerAmount must be at least 100 raw units; this is the API’s only order-size floor and exists to reject dust. The web app applies its own, larger minimum order value before submitting, but that is a web-app rule and does not apply to orders placed through the API or the SDKs. For GTC and FAK orders, price is required and may have at most three decimal places, so prices run from 0.001 to 0.999. The collateral equation must be exact. price × contracts must be an integer raw-unit amount, without rounding.
Optional uniqueness and deduplication key. The submitted value may contain at most 128 characters; it is then trimmed and must not be blank. Reuse returns 409 Conflict; the API does not replay the earlier response.
onBehalfOf
number
Profile ID of the sub-account to place the order for. Requires a scoped API token with trading scope and a partner relationship with the target profile. The maker and signer in the order must match the sub-account’s wallet address.
postOnly
boolean
GTC orders only. When true, the order is rejected if it would immediately match. Guarantees the order rests on the book as a maker order. Default false.
timestamp
number
Optional client-stamped Unix time in milliseconds for receive-window checks. Top-level request field; not part of the signed order.
recvWindow
number
Optional maximum accepted order age in milliseconds, up to 10000. If omitted, the API default applies. Top-level request field; not part of the signed order.
stpPolicy
string
Self-trade prevention policy. Values: cancel_maker, cancel_taker, cancel_both. Default cancel_maker. Top-level request field; not part of the signed order.
POST /orders supports optional receive-window controls for clients that want freshness checks on order submission. Send these fields at the top level of the request body, next to order, orderType, and marketSlug; never put them inside the EIP-712 signed order object.
Client order creation time as Unix milliseconds. Send it with a nonzero effective recvWindow to enforce client-to-server freshness. If omitted while a window applies, the server uses its receive time.
recvWindow
Maximum accepted age, in milliseconds, between the effective timestamp and server receive time, up to 10000. If omitted, the API default applies. A timestamp alone has no freshness effect when the effective window is zero.
Keep trading hosts NTP-synced. If the timestamp is too far in the future or older than the receive window, the API returns 425 Too Early. Do not retry the same signed payload after a receive-window 425; build and sign a fresh order. If the 425 body has a trading-mode code, refresh maintenance status instead.
Default. Cancel your conflicting resting order and continue with the incoming order.
cancel_taker
Reject the incoming order before it self-trades.
cancel_both
Cancel your conflicting resting order and reject the incoming order.
With cancel_maker, matching continues against the remaining non-self liquidity, and limit orders still never execute past their limit price.Outcomes on the placement response:
A rejected taker (cancel_taker / cancel_both) returns settlementStatus: "CANCELED" with reason: "STP_TAKER_REJECTED".
A cancel_maker taker lists the cancelled resting order IDs in stpMakerCancels and keeps its normal status (UNMATCHED when nothing else fills it); no reason is set.
stpPolicy is a top-level request field. Do not include it inside the EIP-712 signed order object.
SDK support. Self-trade prevention is available in the TypeScript, Python, Rust, and Go SDKs. Pass the policy on order creation and read the outcome from the execution object on the response. See TypeScript, Python, Rust, and Go.
Partner EOA + signed order + onBehalfOf: set both onBehalfOf and ownerId to the sub-account’sprofileId. order.maker and order.signer must match that sub-account’s wallet. A mismatched ownerId returns 400 with the message "Profile ID does not match the order owner".
Delegated signing (unsigned order, delegated_signing scope, server wallet sub-account): send the target profile ID as both onBehalfOf and ownerId. The server normalizes ownerId to that target when it signs. Omit the client signature per Delegated signing below.
Trading as yourself (no onBehalfOf): ownerId is your own profile id (the SDK often fills this after fetching your profile).
Signer does not match - you should use embedded address for smart wallet: your profile is in smart-wallet trading mode, which self-signed API orders can’t satisfy. Switch to EOA mode. See Trading wallet mode.
Partners place orders for a managed sub-account by setting body onBehalfOf to its profile ID. A client-signed order requires trading; the target must belong to the authenticated partner.With both trading and delegated_signing, partners may instead omit both signature and signatureType. The request must still include the target profile ID as both onBehalfOf and ownerId. The server signs using a Privy server wallet linked to that profile, replaces maker and signer with that wallet address, and normalizes ownerId to the target. See Authentication.
On fee-enabled markets (metadata.fee: true), a signed order’s feeRateBps must equal the order owner’s effectiveFeeRateBps. Read your own rate from GET /profiles/me. A partner cannot read a sub-account’s private profile with its own credentials; use the sub-account’s rate when signing for it. On fee-disabled markets, sign with feeRateBps: 0. Unsigned delegated orders are signed by the server with the sub-account’s effective rate.On new trading venues (venue.feeModuleType: "COLLATERAL"), sign with feeRateBps: 0 on every order, whatever the market’s metadata.fee flag or your profile’s rate. Any other value is rejected with FEE_RATE_MISMATCH. Unsigned delegated orders on these venues are signed by the server with 0.
The response includes an execution object with settlement details:
Field
Type
Description
matched
boolean
Whether the order was matched immediately
settlementStatus
string
UNMATCHED, MATCHED, MINED, CONFIRMED, RETRYING, FAILED, DELAYED, or CANCELED
reason
string
Free-form terminal detail. For example, STP_TAKER_REJECTED accompanies an STP-cancelled taker; settlement or recovery failures can return other text with FAILED.
eligibleAt
string
ISO-8601 time the order is released to the matching engine. Present only when settlementStatus is DELAYED (taker delay).
tradeEventId
string
Trade event ID (present when matched)
txHash
string
On-chain transaction hash (present when mined)
stpMakerCancels
string[]
Resting order IDs cancelled by self-trade prevention (present when cancel_maker / cancel_both cancelled one or more of your resting orders)
feeRateBps
number
Fee rate in basis points. Always 0 on new trading venues.
effectiveFeeBps
number
Effective fee rate after rebates
totalsRaw
object
Raw execution totals (contractsGross, contractsFee, contractsNet, usdGross, usdFee, usdNet). On new trading venues the fee is only in usdFee, and usdNet differs by side; see fees in order results.
DELAYED (taker delay). Some markets apply a short hold to marketable (taker) orders before the matching engine fills them. On such a market, a marketable order’s response returns immediately with settlementStatus: "DELAYED", matched: false, zero totalsRaw, and an eligibleAt timestamp. It does not block until the trade is mined. Track the outcome over subscribe_order_events (provisional MATCHED → terminal MINED / FAILED), correlating by order.id and tradeEventId; MATCHED does not carry clientOrderId. A released FAK that fills partially gets one MATCHED and one terminal frame for the whole fill, plus an OMEEXECUTION frame with status: "PARTIALLY_FILLED". A FAK that matches nothing at release emits only an OMEEXECUTION frame with status: "KILLED", and POST /orders/status/batch reports it as settlementStatus: "UNMATCHED". postOnly orders are never delayed.Which orders are held: FOK and FAK orders are always held for the delay. A GTC order is submitted immediately and rests at once if it rests; only a GTC that would cross the book is held instead, returning the same DELAYED response, so a GTC is delayed only when it would have taken. postOnly orders are never held. The hold length is the market’s settings.takerDelayMs.During the hold the order is not on the book and emits no order or orderbook events; it first appears at eligibleAt. Cancellation is never delayed: cancelling a held order before eligibleAt removes it before it reaches the matching engine.
Structural validation, invalid signature/owner/token/amounts, insufficient balance or allowance, unavailable/resolved/expired market, delegated-signing failure, or matching-engine rejection. Validation failures use a message array; business failures usually use a string. Missing markets and profiles are normalized to 400 on this endpoint.
401
Authentication failed.
403
The HMAC token lacks trading, or onBehalfOf is not an authorized partner target.
409
clientOrderId or the signed order hash already exists or is being processed.
425
Receive-window rejection or a maintenance trading mode that blocks creation. Receive-window bodies contain a message; maintenance bodies contain a trading-mode code.
500
Unexpected order-creation failure.
If the signed fee is incorrect, the API returns 400:
Build and sign a new order using expectedFeeRateBps before resubmitting. Changing only the JSON does not update the EIP-712 signature.On new trading venues, an order that is not postOnly (BUY or SELL) also needs a USDC approval to venue.feeModule from the signing wallet. Without it, the API returns 400:
Insufficient collateral allowance for the order fee.
Approve USDC to venue.feeModule once, then resubmit.
Scoped API token with HMAC-SHA256 signing. Requires three headers: lmts-api-key (token ID), lmts-timestamp (ISO-8601), lmts-signature (Base64-encoded HMAC). See Authentication docs for details.
Body
application/json
Order creation data including signature and order parameters
Optional owner-scoped uniqueness and deduplication key. The submitted value is limited to 128 characters, then trimmed; blank values are rejected. Reuse returns 409 rather than replaying an earlier response.
Optional maximum accepted order age in milliseconds. Valid range: 1 to 10000. If omitted, the server applies a 2000 ms default receive window. Top-level request field; not part of the EIP-712 signed order payload.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Limitless Exchange","colors":{"primary":"#9AB83A","light":"#DCF58C","dark":"#7A9A1E"},"logo":{"light":"https://mintcdn.com/limitless/r7gW3TwphUtCZ8zM/logo/light.svg?fit=max\u0026auto=format\u0026n=r7gW3TwphUtCZ8zM\u0026q=85\u0026s=0d6f32ed5e8a1f35ba9d1fa2e0b57a4b","dark":"https://mintcdn.com/limitless/r7gW3TwphUtCZ8zM/logo/dark.svg?fit=max\u0026auto=format\u0026n=r7gW3TwphUtCZ8zM\u0026q=85\u0026s=6500e01609e582f758db1a9610b63bd8"},"favicon":"https://mintcdn.com/limitless/r7gW3TwphUtCZ8zM/favicon.svg?fit=max\u0026auto=format\u0026n=r7gW3TwphUtCZ8zM\u0026q=85\u0026s=345f02206803d94b3b1911d2a80bf9c3","api":{"playground":{}},"navbar":{"links":[{"href":"mailto:help@limitless.network","label":"Support"}]},"footer":{"socials":{"x":"https://x.com/trylimitless","discord":"https://discord.com/invite/yb4SscD8RZ"}},"seo":{"metatags":{"twitter:card":"summary_large_image"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Limitless Exchange","icon":"arrow-up-right-from-square","href":"https://limitless.exchange"},{"anchor":"Builders Chat","icon":"telegram","href":"https://t.me/LimitlessBuildersChat"},{"anchor":"Discord","icon":"discord","href":"https://discord.com/invite/yb4SscD8RZ"},{"anchor":"Twitter","icon":"x-twitter","href":"https://x.com/trylimitless"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"limitless","hasAudioNarration":false,"actualSubdomain":"limitless","customDomains":["docs.limitless.exchange"],"gitSource":{"type":"github","owner":"limitless-labs-group","repo":"limitless-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae2027fd6a250fd1db9a4f3","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"API Reference","count":81},{"language":"default","tag":"For Developers","count":67},{"language":"default","tag":"User Guide","count":26},{"language":"default","tag":"Portfolio","count":14},{"language":"default","tag":"Trading","count":14},{"language":"default","tag":"Getting Started","count":14},{"language":"default","tag":"Go SDK","count":11},{"language":"default","tag":"Python SDK","count":11},{"language":"default","tag":"Rust SDK","count":11},{"language":"default","tag":"TypeScript SDK","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/trading/create-order","slug":"/api-reference/trading/create-order","pageMetadata":{"title":"Create Order","openapi":"POST /orders","description":"Creates a buy/sell order for prediction market positions. Requires signed order data.","href":"/api-reference/trading/create-order"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Creates a buy/sell order for prediction market positions. Requires signed order data.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Note,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(Info,{children:[_jsx(_components.p,{children:`Before creating orders:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Fetch market data via `,_jsx(_components.a,{href:`/api-reference/markets/get-market`,children:`Get Market Details`}),` to get venue and token IDs`]}),`\n`,_jsxs(_components.li,{children:[`Sign the order using `,_jsx(_components.a,{href:`/developers/eip712-signing`,children:`EIP-712`}),` with `,_jsx(_components.code,{children:`venue.exchange`}),` as `,_jsx(_components.code,{children:`verifyingContract`})]}),`\n`,_jsxs(_components.li,{children:[`Ensure you have `,_jsx(_components.a,{href:`/developers/venue-system#required-token-approvals`,children:`token approvals`}),` set up, including the USDC approval to `,_jsx(_components.code,{children:`venue.feeModule`}),` on `,_jsx(_components.a,{href:`/developers/venue-system#new-trading-venues`,children:`new trading venues`})]}),`\n`]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Order creation can be temporarily restricted during maintenance. In `,_jsx(_components.code,{children:`post_only`}),`, only orders with `,_jsx(_components.code,{children:`postOnly: true`}),` are accepted. In `,_jsx(_components.code,{children:`cancel_only`}),` or `,_jsx(_components.code,{children:`disabled`}),`, new orders return `,_jsx(_components.code,{children:`425 Too Early`}),` with a trading-mode `,_jsx(_components.code,{children:`code`}),`. Check `,_jsx(_components.a,{href:`/developers/maintenance-mode`,children:`Maintenance Mode`}),` before sending orders.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Use a scoped API token with HMAC signing and the `,_jsx(_components.code,{children:`trading`}),` scope.`]}),`\n`,_jsx(Heading,{level:`2`,id:`signed-order-rules`,children:`Signed order rules`}),`\n`,_jsxs(_components.p,{children:[`For client-signed orders, `,_jsx(_components.code,{children:`signature`}),` and `,_jsx(_components.code,{children:`signatureType`}),` are both required. They must either both be present or both be omitted. Omission is accepted only for `,_jsx(_components.a,{href:`#delegated-signing`,children:`delegated server signing`}),` with an HMAC token carrying `,_jsx(_components.code,{children:`delegated_signing`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`nonce`}),` is required and must be the numeric value `,_jsx(_components.code,{children:`0`}),`. `,_jsx(_components.code,{children:`expiration`}),` may be omitted; omission is signed as zero. If supplied, it must represent zero, for example `,_jsx(_components.code,{children:`\"0\"`}),`. Non-zero expiration is not supported.`]}),`\n`,_jsxs(_components.p,{children:[`Amounts are integer raw units with 6 decimals. `,_jsx(_components.code,{children:`makerAmount`}),` must be at least `,_jsx(_components.code,{children:`100`}),` raw units; this is the API’s only order-size floor and exists to reject dust. The web app applies its own, larger minimum order value before submitting, but that is a web-app rule and does not apply to orders placed through the API or the SDKs. For GTC and FAK orders, `,_jsx(_components.code,{children:`price`}),` is required and may have at most three decimal places, so prices run from `,_jsx(_components.code,{children:`0.001`}),` to `,_jsx(_components.code,{children:`0.999`}),`. The collateral equation must be exact. `,_jsx(_components.code,{children:`price × contracts`}),` must be an integer raw-unit amount, without rounding.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`BUY amounts`}),_jsx(_components.th,{children:`SELL amounts`}),_jsx(_components.th,{children:`Price`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GTC`}),` / `,_jsx(_components.code,{children:`FAK`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`makerAmount = price × contracts`}),`; `,_jsx(_components.code,{children:`takerAmount = contracts`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`makerAmount = contracts`}),`; `,_jsx(_components.code,{children:`takerAmount = price × contracts`})]}),_jsx(_components.td,{children:`Required`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FOK`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`makerAmount = maximum collateral to spend`}),`; `,_jsx(_components.code,{children:`takerAmount = 1`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`makerAmount = shares to sell`}),`; `,_jsx(_components.code,{children:`takerAmount = 1`})]}),_jsx(_components.td,{children:`Must be omitted`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`postOnly`}),` is supported only for GTC orders.`]}),`\n`,_jsx(Heading,{level:`3`,id:`optional-fields`,children:`Optional fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`clientOrderId`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsxs(_components.td,{children:[`Optional uniqueness and deduplication key. The submitted value may contain at most 128 characters; it is then trimmed and must not be blank. Reuse returns `,_jsx(_components.code,{children:`409 Conflict`}),`; the API does not replay the earlier response.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onBehalfOf`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsxs(_components.td,{children:[`Profile ID of the sub-account to place the order for. Requires a `,_jsx(_components.a,{href:`/developers/authentication#scoped-api-tokens-hmac`,children:`scoped API token`}),` with `,_jsx(_components.code,{children:`trading`}),` scope and a partner relationship with the target profile. The `,_jsx(_components.code,{children:`maker`}),` and `,_jsx(_components.code,{children:`signer`}),` in the order must match the sub-account’s wallet address.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`postOnly`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsxs(_components.td,{children:[`GTC orders only. When `,_jsx(_components.code,{children:`true`}),`, the order is rejected if it would immediately match. Guarantees the order rests on the book as a maker order. Default `,_jsx(_components.code,{children:`false`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsxs(_components.td,{children:[`Optional client-stamped Unix time in milliseconds for receive-window checks. Top-level request field; not part of the signed `,_jsx(_components.code,{children:`order`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recvWindow`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsxs(_components.td,{children:[`Optional maximum accepted order age in milliseconds, up to `,_jsx(_components.code,{children:`10000`}),`. If omitted, the API default applies. Top-level request field; not part of the signed `,_jsx(_components.code,{children:`order`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`stpPolicy`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsxs(_components.td,{children:[`Self-trade prevention policy. Values: `,_jsx(_components.code,{children:`cancel_maker`}),`, `,_jsx(_components.code,{children:`cancel_taker`}),`, `,_jsx(_components.code,{children:`cancel_both`}),`. Default `,_jsx(_components.code,{children:`cancel_maker`}),`. Top-level request field; not part of the signed `,_jsx(_components.code,{children:`order`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`receive-window`,children:`Receive window`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /orders`}),` supports optional receive-window controls for clients that want freshness checks on order submission. Send these fields at the top level of the request body, next to `,_jsx(_components.code,{children:`order`}),`, `,_jsx(_components.code,{children:`orderType`}),`, and `,_jsx(_components.code,{children:`marketSlug`}),`; never put them inside the EIP-712 signed `,_jsx(_components.code,{children:`order`}),` object.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"signed order fields\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GTC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"marketSlug\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"btc-100k\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1779870000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recvWindow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1500`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsxs(_components.td,{children:[`Client order creation time as Unix milliseconds. Send it with a nonzero effective `,_jsx(_components.code,{children:`recvWindow`}),` to enforce client-to-server freshness. If omitted while a window applies, the server uses its receive time.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recvWindow`})}),_jsxs(_components.td,{children:[`Maximum accepted age, in milliseconds, between the effective timestamp and server receive time, up to `,_jsx(_components.code,{children:`10000`}),`. If omitted, the API default applies. A timestamp alone has no freshness effect when the effective window is zero.`]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Keep trading hosts NTP-synced. If the timestamp is too far in the future or older than the receive window, the API returns `,_jsx(_components.code,{children:`425 Too Early`}),`. Do not retry the same signed payload after a receive-window `,_jsx(_components.code,{children:`425`}),`; build and sign a fresh order. If the `,_jsx(_components.code,{children:`425`}),` body has a trading-mode `,_jsx(_components.code,{children:`code`}),`, refresh maintenance status instead.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`self-trade-prevention`,children:`Self-trade prevention`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /orders`}),` can reject or cancel orders that would match against your own resting order on the same token.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"signed order fields\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GTC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"marketSlug\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"btc-100k\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"stpPolicy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cancel_taker\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Policy`}),_jsx(_components.th,{children:`Result`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cancel_maker`})}),_jsx(_components.td,{children:`Default. Cancel your conflicting resting order and continue with the incoming order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cancel_taker`})}),_jsx(_components.td,{children:`Reject the incoming order before it self-trades.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cancel_both`})}),_jsx(_components.td,{children:`Cancel your conflicting resting order and reject the incoming order.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`cancel_maker`}),`, matching continues against the remaining non-self liquidity, and limit orders still never execute past their limit price.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Outcomes on the placement response:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A rejected taker (`,_jsx(_components.code,{children:`cancel_taker`}),` / `,_jsx(_components.code,{children:`cancel_both`}),`) returns `,_jsx(_components.code,{children:`settlementStatus: \"CANCELED\"`}),` with `,_jsx(_components.code,{children:`reason: \"STP_TAKER_REJECTED\"`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.code,{children:`cancel_maker`}),` taker lists the cancelled resting order IDs in `,_jsx(_components.code,{children:`stpMakerCancels`}),` and keeps its normal status (`,_jsx(_components.code,{children:`UNMATCHED`}),` when nothing else fills it); no `,_jsx(_components.code,{children:`reason`}),` is set.`]}),`\n`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`stpPolicy`}),` is a top-level request field. Do not include it inside the EIP-712 signed `,_jsx(_components.code,{children:`order`}),` object.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`SDK support.`}),` Self-trade prevention is available in the TypeScript, Python, Rust, and Go SDKs. Pass the policy on order creation and read the outcome from the `,_jsx(_components.code,{children:`execution`}),` object on the response. See `,_jsx(_components.a,{href:`/developers/sdk/typescript/orders#self-trade-prevention`,children:`TypeScript`}),`, `,_jsx(_components.a,{href:`/developers/sdk/python/orders#self-trade-prevention`,children:`Python`}),`, `,_jsx(_components.a,{href:`/developers/sdk/rust/orders#self-trade-prevention`,children:`Rust`}),`, and `,_jsx(_components.a,{href:`/developers/sdk/go/orders#self-trade-prevention`,children:`Go`}),`.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Where does `,_jsx(_components.code,{children:`ownerId`}),` come from?`]}),` It is the `,_jsx(_components.code,{children:`id`}),` field returned by `,_jsx(_components.a,{href:`/api-reference/portfolio/get-current-profile`,children:_jsx(_components.code,{children:`GET /profiles/me`})}),` or `,_jsx(_components.a,{href:`/api-reference/portfolio/get-profile`,children:_jsx(_components.code,{children:`GET /profiles/{address}`})}),`. For partner sub-accounts, it is the `,_jsx(_components.code,{children:`profileId`}),` returned by `,_jsx(_components.a,{href:`/api-reference/partner-accounts/create-partner-account`,children:_jsx(_components.code,{children:`POST /profiles/partner-accounts`})}),`, or recovered with `,_jsx(_components.a,{href:`/api-reference/partner-accounts/list-partner-accounts`,children:_jsx(_components.code,{children:`GET /profiles/partner-accounts`})}),`.`]})}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`ownerId`}),` must match the profile that owns the order`]}),` (see `,_jsx(_components.a,{href:`/developers/programmatic-api#eoa-web3-partners`,children:`Programmatic API — EOA flow`}),`):`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Partner EOA + signed order + `,_jsx(_components.code,{children:`onBehalfOf`}),`:`]}),` set both `,_jsx(_components.code,{children:`onBehalfOf`}),` and `,_jsx(_components.code,{children:`ownerId`}),` to the `,_jsx(_components.strong,{children:`sub-account’s`}),` `,_jsx(_components.code,{children:`profileId`}),`. `,_jsx(_components.code,{children:`order.maker`}),` and `,_jsx(_components.code,{children:`order.signer`}),` must match that sub-account’s wallet. A mismatched `,_jsx(_components.code,{children:`ownerId`}),` returns `,_jsx(_components.code,{children:`400`}),` with the message `,_jsx(_components.code,{children:`\"Profile ID does not match the order owner\"`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Delegated signing`}),` (unsigned `,_jsx(_components.code,{children:`order`}),`, `,_jsx(_components.code,{children:`delegated_signing`}),` scope, server wallet sub-account): send the target profile ID as both `,_jsx(_components.code,{children:`onBehalfOf`}),` and `,_jsx(_components.code,{children:`ownerId`}),`. The server normalizes `,_jsx(_components.code,{children:`ownerId`}),` to that target when it signs. Omit the client signature per `,_jsx(_components.a,{href:`#delegated-signing`,children:`Delegated signing`}),` below.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trading as yourself`}),` (no `,_jsx(_components.code,{children:`onBehalfOf`}),`): `,_jsx(_components.code,{children:`ownerId`}),` is your own profile id (the SDK often fills this after fetching your profile).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`Signer does not match - you should use embedded address for smart wallet`})}),`: your profile is in smart-wallet trading mode, which self-signed API orders can’t satisfy. Switch to EOA mode. See `,_jsx(_components.a,{href:`/developers/eip712-signing#trading-wallet-mode-whose-address-signs`,children:`Trading wallet mode`}),`.`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`delegated-signing`,children:`Delegated signing`}),`\n`,_jsxs(_components.p,{children:[`Partners place orders for a managed sub-account by setting body `,_jsx(_components.code,{children:`onBehalfOf`}),` to its profile ID. A client-signed order requires `,_jsx(_components.code,{children:`trading`}),`; the target must belong to the authenticated partner.`]}),`\n`,_jsxs(_components.p,{children:[`With both `,_jsx(_components.code,{children:`trading`}),` and `,_jsx(_components.code,{children:`delegated_signing`}),`, partners may instead omit both `,_jsx(_components.code,{children:`signature`}),` and `,_jsx(_components.code,{children:`signatureType`}),`. The request must still include the target profile ID as both `,_jsx(_components.code,{children:`onBehalfOf`}),` and `,_jsx(_components.code,{children:`ownerId`}),`. The server signs using a Privy server wallet linked to that profile, replaces `,_jsx(_components.code,{children:`maker`}),` and `,_jsx(_components.code,{children:`signer`}),` with that wallet address, and normalizes `,_jsx(_components.code,{children:`ownerId`}),` to the target. See `,_jsx(_components.a,{href:`/developers/authentication#delegated-signing`,children:`Authentication`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`fee-rate`,children:`Fee rate`}),`\n`,_jsxs(_components.p,{children:[`On fee-enabled markets (`,_jsx(_components.code,{children:`metadata.fee: true`}),`), a signed order’s `,_jsx(_components.code,{children:`feeRateBps`}),` must equal the order owner’s `,_jsx(_components.code,{children:`effectiveFeeRateBps`}),`. Read your own rate from `,_jsx(_components.a,{href:`/api-reference/portfolio/get-current-profile`,children:_jsx(_components.code,{children:`GET /profiles/me`})}),`. A partner cannot read a sub-account’s private profile with its own credentials; use the sub-account’s rate when signing for it. On fee-disabled markets, sign with `,_jsx(_components.code,{children:`feeRateBps: 0`}),`. Unsigned delegated orders are signed by the server with the sub-account’s effective rate.`]}),`\n`,_jsxs(_components.p,{children:[`On `,_jsx(_components.a,{href:`/developers/venue-system#new-trading-venues`,children:`new trading venues`}),` (`,_jsx(_components.code,{children:`venue.feeModuleType: \"COLLATERAL\"`}),`), sign with `,_jsx(_components.code,{children:`feeRateBps: 0`}),` on every order, whatever the market’s `,_jsx(_components.code,{children:`metadata.fee`}),` flag or your profile’s rate. Any other value is rejected with `,_jsx(_components.code,{children:`FEE_RATE_MISMATCH`}),`. Unsigned delegated orders on these venues are signed by the server with `,_jsx(_components.code,{children:`0`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`execution-response`,children:`Execution response`}),`\n`,_jsxs(_components.p,{children:[`The response includes an `,_jsx(_components.code,{children:`execution`}),` object with settlement details:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`matched`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsx(_components.td,{children:`Whether the order was matched immediately`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settlementStatus`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`UNMATCHED`}),`, `,_jsx(_components.code,{children:`MATCHED`}),`, `,_jsx(_components.code,{children:`MINED`}),`, `,_jsx(_components.code,{children:`CONFIRMED`}),`, `,_jsx(_components.code,{children:`RETRYING`}),`, `,_jsx(_components.code,{children:`FAILED`}),`, `,_jsx(_components.code,{children:`DELAYED`}),`, or `,_jsx(_components.code,{children:`CANCELED`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reason`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsxs(_components.td,{children:[`Free-form terminal detail. For example, `,_jsx(_components.code,{children:`STP_TAKER_REJECTED`}),` accompanies an STP-cancelled taker; settlement or recovery failures can return other text with `,_jsx(_components.code,{children:`FAILED`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`eligibleAt`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsxs(_components.td,{children:[`ISO-8601 time the order is released to the matching engine. Present only when `,_jsx(_components.code,{children:`settlementStatus`}),` is `,_jsx(_components.code,{children:`DELAYED`}),` (taker delay).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tradeEventId`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Trade event ID (present when matched)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`txHash`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`On-chain transaction hash (present when mined)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`stpMakerCancels`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string[]`})}),_jsxs(_components.td,{children:[`Resting order IDs cancelled by self-trade prevention (present when `,_jsx(_components.code,{children:`cancel_maker`}),` / `,_jsx(_components.code,{children:`cancel_both`}),` cancelled one or more of your resting orders)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`feeRateBps`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsxs(_components.td,{children:[`Fee rate in basis points. Always `,_jsx(_components.code,{children:`0`}),` on new trading venues.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`effectiveFeeBps`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsx(_components.td,{children:`Effective fee rate after rebates`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`totalsRaw`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`object`})}),_jsxs(_components.td,{children:[`Raw execution totals (`,_jsx(_components.code,{children:`contractsGross`}),`, `,_jsx(_components.code,{children:`contractsFee`}),`, `,_jsx(_components.code,{children:`contractsNet`}),`, `,_jsx(_components.code,{children:`usdGross`}),`, `,_jsx(_components.code,{children:`usdFee`}),`, `,_jsx(_components.code,{children:`usdNet`}),`). On new trading venues the fee is only in `,_jsx(_components.code,{children:`usdFee`}),`, and `,_jsx(_components.code,{children:`usdNet`}),` differs by side; see `,_jsx(_components.a,{href:`/developers/migrate-to-new-trading-venues#fees-in-order-results`,children:`fees in order results`}),`.`]})]})]})]}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`DELAYED`}),` (taker delay).`]}),` Some markets apply a short hold to marketable (taker) orders before the matching engine fills them. On such a market, a marketable order’s response returns immediately with `,_jsx(_components.code,{children:`settlementStatus: \"DELAYED\"`}),`, `,_jsx(_components.code,{children:`matched: false`}),`, zero `,_jsx(_components.code,{children:`totalsRaw`}),`, and an `,_jsx(_components.code,{children:`eligibleAt`}),` timestamp. It does `,_jsx(_components.strong,{children:`not`}),` block until the trade is mined. Track the outcome over `,_jsx(_components.a,{href:`/developers/websocket/order-events#subscribing-to-order-events`,children:_jsx(_components.code,{children:`subscribe_order_events`})}),` (provisional `,_jsx(_components.code,{children:`MATCHED`}),` → terminal `,_jsx(_components.code,{children:`MINED`}),` / `,_jsx(_components.code,{children:`FAILED`}),`), correlating by `,_jsx(_components.code,{children:`order.id`}),` and `,_jsx(_components.code,{children:`tradeEventId`}),`; `,_jsx(_components.code,{children:`MATCHED`}),` does not carry `,_jsx(_components.code,{children:`clientOrderId`}),`. A released FAK that fills partially gets one `,_jsx(_components.code,{children:`MATCHED`}),` and one terminal frame for the whole fill, plus an `,_jsx(_components.code,{children:`OME`}),` `,_jsx(_components.code,{children:`EXECUTION`}),` frame with `,_jsx(_components.code,{children:`status: \"PARTIALLY_FILLED\"`}),`. A FAK that matches nothing at release emits only an `,_jsx(_components.code,{children:`OME`}),` `,_jsx(_components.code,{children:`EXECUTION`}),` frame with `,_jsx(_components.code,{children:`status: \"KILLED\"`}),`, and `,_jsx(_components.code,{children:`POST /orders/status/batch`}),` reports it as `,_jsx(_components.code,{children:`settlementStatus: \"UNMATCHED\"`}),`. `,_jsx(_components.code,{children:`postOnly`}),` orders are never delayed.`]}),_jsxs(_components.p,{children:[`Which orders are held: `,_jsx(_components.code,{children:`FOK`}),` and `,_jsx(_components.code,{children:`FAK`}),` orders are always held for the delay. A `,_jsx(_components.code,{children:`GTC`}),` order is submitted immediately and rests at once if it rests; only a GTC that would cross the book is held instead, returning the same `,_jsx(_components.code,{children:`DELAYED`}),` response, so a GTC is delayed only when it would have taken. `,_jsx(_components.code,{children:`postOnly`}),` orders are never held. The hold length is the market’s `,_jsx(_components.code,{children:`settings.takerDelayMs`}),`.`]}),_jsxs(_components.p,{children:[`During the hold the order is not on the book and emits no order or orderbook events; it first appears at `,_jsx(_components.code,{children:`eligibleAt`}),`. Cancellation is never delayed: cancelling a held order before `,_jsx(_components.code,{children:`eligibleAt`}),` removes it before it reaches the matching engine.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`Structural validation, invalid signature/owner/token/amounts, insufficient balance or allowance, unavailable/resolved/expired market, delegated-signing failure, or matching-engine rejection. Validation failures use a `,_jsx(_components.code,{children:`message`}),` array; business failures usually use a string. Missing markets and profiles are normalized to `,_jsx(_components.code,{children:`400`}),` on this endpoint.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Authentication failed.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsxs(_components.td,{children:[`The HMAC token lacks `,_jsx(_components.code,{children:`trading`}),`, or `,_jsx(_components.code,{children:`onBehalfOf`}),` is not an authorized partner target.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`clientOrderId`}),` or the signed order hash already exists or is being processed.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`425`})}),_jsxs(_components.td,{children:[`Receive-window rejection or a maintenance trading mode that blocks creation. Receive-window bodies contain a message; maintenance bodies contain a trading-mode `,_jsx(_components.code,{children:`code`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Unexpected order-creation failure.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`If the signed fee is incorrect, the API returns `,_jsx(_components.code,{children:`400`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FEE_RATE_MISMATCH\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"expectedFeeRateBps\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Build and sign a new order using `,_jsx(_components.code,{children:`expectedFeeRateBps`}),` before resubmitting. Changing only the JSON does not update the EIP-712 signature.`]}),`\n`,_jsxs(_components.p,{children:[`On `,_jsx(_components.a,{href:`/developers/venue-system#new-trading-venues`,children:`new trading venues`}),`, an order that is not `,_jsx(_components.code,{children:`postOnly`}),` (BUY or SELL) also needs a USDC approval to `,_jsx(_components.code,{children:`venue.feeModule`}),` from the signing wallet. Without it, the API returns `,_jsx(_components.code,{children:`400`}),`:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Insufficient collateral allowance for the order fee.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Approve USDC to `,_jsx(_components.code,{children:`venue.feeModule`}),` once, then resubmit.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Order","openapi":"POST /orders","description":"Creates a buy/sell order for prediction market positions. Requires signed order data.","href":"/api-reference/trading/create-order"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Signed order rules","slug":"signed-order-rules","depth":2,"children":[{"title":"Optional fields","slug":"optional-fields","depth":3,"children":[]},{"title":"Receive window","slug":"receive-window","depth":3,"children":[]},{"title":"Self-trade prevention","slug":"self-trade-prevention","depth":3,"children":[]},{"title":"Delegated signing","slug":"delegated-signing","depth":3,"children":[]},{"title":"Fee rate","slug":"fee-rate","depth":3,"children":[]},{"title":"Execution response","slug":"execution-response","depth":3,"children":[]}]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Creates a buy/sell order for prediction market positions. Requires signed order data.","operationId":"OrderController_createOrder","parameters":[],"requestBody":"11c39425-e294-4657-aefd-948c2e78e615","responses":{"201":"0610e172-fa82-4a94-8a09-4d6f5669cc70","400":"886195cf-475e-4e8e-8506-764bb8c5da6c","401":"7e4d7db1-aafc-43ae-8d3c-0ece81c60eb1","403":"59706a01-707e-4e70-86f0-da27c67faf91","409":"bbb0b484-2138-45eb-84cd-25c58b847bad","425":"e1d1be2d-88e9-4fd2-936e-18c7da8ae9c7","500":"811cb904-ce8d-4daf-9c24-d56c6d12ab29"},"security":["b49c9951-ed4b-492d-b851-015efa3089ce"],"summary":"Create Order","tags":["Trading"],"method":"post","type":"path","servers":["09c89b92-1b1b-488d-af55-0f936f286701"],"path":"/orders","baseUrlOptions":["https://api.limitless.exchange"],"title":"Create Order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"description":"Order creation data including signature and order parameters","content":{"application/json":{"schema":{"type":"object","properties":{"order":{"oneOf":[{"type":"object","description":"Order details including signature and amounts","required":["salt","maker","signer","tokenId","makerAmount","takerAmount","nonce","feeRateBps","side","signature","signatureType"],"properties":{"salt":{"oneOf":[{"type":"string","description":"Unique random value for signature uniqueness. Send unsafe integers as decimal strings to preserve EIP-712 bytes.","pattern":"^\\d+$","example":"1778155025318314496","isRequired":true,"uniqueKey":"order.oneOf.0.salt.oneOf.0","typeLabel":"string"},{"type":"number","description":"Unique random value for signature uniqueness. Send unsafe integers as decimal strings to preserve EIP-712 bytes.","example":1234567890,"isRequired":true,"uniqueKey":"order.oneOf.0.salt.oneOf.1","typeLabel":"number"}],"isRequired":true,"uniqueKey":"order.oneOf.0.salt","typeLabel":"string | number"},"maker":{"type":"string","description":"Ethereum address of the maker (order creator)","example":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","pattern":"^0x[a-fA-F0-9]{40}$","isRequired":true,"uniqueKey":"order.oneOf.0.maker","typeLabel":"string"},"signer":{"type":"string","description":"Address that signed the order","example":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","pattern":"^0x[a-fA-F0-9]{40}$","isRequired":true,"uniqueKey":"order.oneOf.0.signer","typeLabel":"string"},"tokenId":{"type":"string","description":"Token ID being traded (YES or NO position ID from conditional token)","example":"19633204485790857949828516737993423758628930235371629943999544859324645414627","isRequired":true,"uniqueKey":"order.oneOf.0.tokenId","typeLabel":"string"},"makerAmount":{"type":"integer","description":"Raw 6-decimal amount offered by the maker. For GTC/FAK: collateral for BUY or contracts for SELL. For FOK: maximum collateral for BUY or contracts for SELL.","example":5000000,"minimum":100,"isRequired":true,"uniqueKey":"order.oneOf.0.makerAmount","typeLabel":"integer"},"takerAmount":{"type":"integer","description":"Raw 6-decimal amount requested. For GTC/FAK: contracts for BUY or collateral for SELL. For FOK this must equal 1.","example":10000000,"minimum":1,"isRequired":true,"uniqueKey":"order.oneOf.0.takerAmount","typeLabel":"integer"},"nonce":{"type":"number","description":"Required numeric zero.","example":0,"enum":[0],"isRequired":true,"uniqueKey":"order.oneOf.0.nonce","typeLabel":"enum\u003cnumber>"},"feeRateBps":{"type":"number","description":"Fee rate in basis points (1% = 100)","example":0,"isRequired":true,"uniqueKey":"order.oneOf.0.feeRateBps","typeLabel":"number"},"side":{"type":"number","description":"Order side: 0 = BUY, 1 = SELL","enum":[0,1],"example":0,"isRequired":true,"uniqueKey":"order.oneOf.0.side","typeLabel":"enum\u003cnumber>"},"signature":{"type":"string","description":"EIP-712 signature of order details as a 0x-prefixed hex string with full-byte (even) length. Optional when using delegated signing.","example":"0x6e3a3f2c2c2bb1ce3a14c4f5e4ad6f3c8b1ad9c44d4d5fa1c4cd5b6e74a4d4a36cc4ad9c44d4d5fa1c4cd5b6e74a4d4a36cc4ad9c44d4d5fa1c4cd5b6e74a4d41b","pattern":"^0x([a-fA-F0-9]{2})*$","isRequired":true,"uniqueKey":"order.oneOf.0.signature","typeLabel":"string"},"signatureType":{"type":"number","description":"Signature type (0-3). Optional when using delegated signing.","enum":[0,1,2,3],"example":2,"isRequired":true,"uniqueKey":"order.oneOf.0.signatureType","typeLabel":"enum\u003cnumber>"},"taker":{"type":"string","description":"Specific taker address (optional for open orders)","example":"0x0000000000000000000000000000000000000000","pattern":"^0x[a-fA-F0-9]{40}$","uniqueKey":"order.oneOf.0.taker","typeLabel":"string"},"expiration":{"type":"string","description":"Omission is signed as zero; if supplied, the value must represent zero because non-zero expiration is unsupported.","example":"0","pattern":"^0+$","uniqueKey":"order.oneOf.0.expiration","typeLabel":"string"},"price":{"type":"number","description":"Required for GTC/FAK and forbidden for FOK. Decimal price with at most three places; price × contracts must equal the collateral amount exactly as an integer.","example":0.75,"minimum":0.001,"maximum":0.999,"multipleOf":0.001,"uniqueKey":"order.oneOf.0.price","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.oneOf.0","typeLabel":"object"},{"type":"object","description":"Order details including signature and amounts","required":["salt","maker","signer","tokenId","makerAmount","takerAmount","nonce","feeRateBps","side"],"properties":{"salt":{"oneOf":[{"type":"string","description":"Unique random value for signature uniqueness. Send unsafe integers as decimal strings to preserve EIP-712 bytes.","pattern":"^\\d+$","example":"1778155025318314496","isRequired":true,"uniqueKey":"order.oneOf.1.salt.oneOf.0","typeLabel":"string"},{"type":"number","description":"Unique random value for signature uniqueness. Send unsafe integers as decimal strings to preserve EIP-712 bytes.","example":1234567890,"isRequired":true,"uniqueKey":"order.oneOf.1.salt.oneOf.1","typeLabel":"number"}],"isRequired":true,"uniqueKey":"order.oneOf.1.salt","typeLabel":"string | number"},"maker":{"type":"string","description":"Ethereum address of the maker (order creator)","example":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","pattern":"^0x[a-fA-F0-9]{40}$","isRequired":true,"uniqueKey":"order.oneOf.1.maker","typeLabel":"string"},"signer":{"type":"string","description":"Address that signed the order","example":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","pattern":"^0x[a-fA-F0-9]{40}$","isRequired":true,"uniqueKey":"order.oneOf.1.signer","typeLabel":"string"},"tokenId":{"type":"string","description":"Token ID being traded (YES or NO position ID from conditional token)","example":"19633204485790857949828516737993423758628930235371629943999544859324645414627","isRequired":true,"uniqueKey":"order.oneOf.1.tokenId","typeLabel":"string"},"makerAmount":{"type":"integer","description":"Raw 6-decimal amount offered by the maker. For GTC/FAK: collateral for BUY or contracts for SELL. For FOK: maximum collateral for BUY or contracts for SELL.","example":5000000,"minimum":100,"isRequired":true,"uniqueKey":"order.oneOf.1.makerAmount","typeLabel":"integer"},"takerAmount":{"type":"integer","description":"Raw 6-decimal amount requested. For GTC/FAK: contracts for BUY or collateral for SELL. For FOK this must equal 1.","example":10000000,"minimum":1,"isRequired":true,"uniqueKey":"order.oneOf.1.takerAmount","typeLabel":"integer"},"nonce":{"type":"number","description":"Required numeric zero.","example":0,"enum":[0],"isRequired":true,"uniqueKey":"order.oneOf.1.nonce","typeLabel":"enum\u003cnumber>"},"feeRateBps":{"type":"number","description":"Fee rate in basis points (1% = 100)","example":0,"isRequired":true,"uniqueKey":"order.oneOf.1.feeRateBps","typeLabel":"number"},"side":{"type":"number","description":"Order side: 0 = BUY, 1 = SELL","enum":[0,1],"example":0,"isRequired":true,"uniqueKey":"order.oneOf.1.side","typeLabel":"enum\u003cnumber>"},"taker":{"type":"string","description":"Specific taker address (optional for open orders)","example":"0x0000000000000000000000000000000000000000","pattern":"^0x[a-fA-F0-9]{40}$","uniqueKey":"order.oneOf.1.taker","typeLabel":"string"},"expiration":{"type":"string","description":"Omission is signed as zero; if supplied, the value must represent zero because non-zero expiration is unsupported.","example":"0","pattern":"^0+$","uniqueKey":"order.oneOf.1.expiration","typeLabel":"string"},"price":{"type":"number","description":"Required for GTC/FAK and forbidden for FOK. Decimal price with at most three places; price × contracts must equal the collateral amount exactly as an integer.","example":0.75,"minimum":0.001,"maximum":0.999,"multipleOf":0.001,"uniqueKey":"order.oneOf.1.price","typeLabel":"number"},"signature":{"type":"string","description":"EIP-712 signature of order details as a 0x-prefixed hex string with full-byte (even) length. Optional when using delegated signing.","example":"0x6e3a3f2c2c2bb1ce3a14c4f5e4ad6f3c8b1ad9c44d4d5fa1c4cd5b6e74a4d4a36cc4ad9c44d4d5fa1c4cd5b6e74a4d4a36cc4ad9c44d4d5fa1c4cd5b6e74a4d41b","pattern":"^0x([a-fA-F0-9]{2})*$","uniqueKey":"order.oneOf.1.signature","typeLabel":"string"},"signatureType":{"type":"number","description":"Signature type (0-3). Optional when using delegated signing.","enum":[0,1,2,3],"example":2,"uniqueKey":"order.oneOf.1.signatureType","typeLabel":"enum\u003cnumber>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"order","typeLabel":"object"},"ownerId":{"type":"integer","description":"Required profile ID of the order owner. For delegated signing, send the target profile ID as both ownerId and onBehalfOf.","example":12345,"isRequired":true,"uniqueKey":"ownerId","typeLabel":"integer"},"orderType":{"type":"string","description":"Order type (GTC=Good Till Cancelled, FAK=Fill And Kill, FOK=Fill Or Kill)","enum":["FAK","FOK","GTC"],"example":"GTC","isRequired":true,"uniqueKey":"orderType","typeLabel":"enum\u003cstring>"},"marketSlug":{"type":"string","description":"Market identifier slug","example":"biden-vs-trump-2024","isRequired":true,"uniqueKey":"marketSlug","typeLabel":"string"},"postOnly":{"type":"boolean","description":"Reject the order if it would match immediately. Supported only for GTC orders.","example":true,"uniqueKey":"postOnly","typeLabel":"boolean"},"clientOrderId":{"type":"string","description":"Optional owner-scoped uniqueness and deduplication key. The submitted value is limited to 128 characters, then trimmed; blank values are rejected. Reuse returns 409 rather than replaying an earlier response.","example":"client-order-001","maxLength":128,"uniqueKey":"clientOrderId","typeLabel":"string"},"onBehalfOf":{"type":"integer","description":"Managed profile ID for partner placement. Requires `trading` and a partner relationship; unsigned delegated placement also requires `delegated_signing`.","example":12345,"minimum":1,"uniqueKey":"onBehalfOf","typeLabel":"integer"},"timestamp":{"type":"integer","description":"Optional client-stamped order creation time, Unix ms epoch. Top-level request field; not part of the EIP-712 signed order payload.","example":1735689600000,"minimum":0,"uniqueKey":"timestamp","typeLabel":"integer"},"recvWindow":{"type":"integer","description":"Optional maximum accepted order age in milliseconds. Valid range: 1 to 10000. If omitted, the server applies a 2000 ms default receive window. Top-level request field; not part of the EIP-712 signed order payload.","example":1500,"maximum":10000,"minimum":1,"uniqueKey":"recvWindow","typeLabel":"integer"},"stpPolicy":{"type":"string","description":"Self-trade prevention policy. If omitted, defaults to cancel_maker. Top-level request field; not part of the EIP-712 signed order payload.","enum":["cancel_both","cancel_maker","cancel_taker"],"example":"cancel_maker","uniqueKey":"stpPolicy","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"required":["order","ownerId","orderType","marketSlug"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"order":{"salt":"1778155025318314496","maker":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","signer":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e","tokenId":"19633204485790857949828516737993423758628930235371629943999544859324645414627","makerAmount":5000000,"takerAmount":10000000,"nonce":0,"feeRateBps":0,"side":0,"signature":"0x6e3a3f2c2c2bb1ce3a14c4f5e4ad6f3c8b1ad9c44d4d5fa1c4cd5b6e74a4d4a36cc4ad9c44d4d5fa1c4cd5b6e74a4d4a36cc4ad9c44d4d5fa1c4cd5b6e74a4d41b","signatureType":2,"taker":"0x0000000000000000000000000000000000000000","expiration":"0","price":0.75},"ownerId":12345,"orderType":"GTC","marketSlug":"biden-vs-trump-2024","postOnly":true,"clientOrderId":"client-order-001","onBehalfOf":12345,"timestamp":1735689600000,"recvWindow":1500,"stpPolicy":"cancel_maker"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"0610e172-fa82-4a94-8a09-4d6f5669cc70":{"description":"Order accepted. It may be resting, delayed, matched, settled, canceled by STP, or accepted with a settlement failure reported in execution.","content":{"application/json":{"schema":{"type":"object","properties":{"order":{"type":"object","description":"Order details including slim market and owner","required":["id","salt","maker","signer","tokenId","signatureType","signature","orderType","side","marketId","ownerId","createdAt","market","makerAmount","takerAmount","nonce","owner"],"properties":{"id":{"type":"string","format":"uuid","description":"Internal order ID","isRequired":true,"uniqueKey":"order.id","typeLabel":"string\u003cuuid>"},"salt":{"type":"string","description":"Order salt as a decimal string","example":"1778155025318314496","isRequired":true,"uniqueKey":"order.salt","typeLabel":"string"},"maker":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","isRequired":true,"uniqueKey":"order.maker","typeLabel":"string"},"signer":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","isRequired":true,"uniqueKey":"order.signer","typeLabel":"string"},"tokenId":{"type":"string","isRequired":true,"uniqueKey":"order.tokenId","typeLabel":"string"},"signatureType":{"type":"number","enum":[0,1,2,3],"isRequired":true,"uniqueKey":"order.signatureType","typeLabel":"enum\u003cnumber>"},"signature":{"type":"string","pattern":"^0x([a-fA-F0-9]{2})*$","isRequired":true,"uniqueKey":"order.signature","typeLabel":"string"},"orderType":{"type":"string","enum":["GTC","FAK","FOK"],"isRequired":true,"uniqueKey":"order.orderType","typeLabel":"enum\u003cstring>"},"side":{"type":"number","enum":[0,1],"description":"0 = BUY, 1 = SELL","isRequired":true,"uniqueKey":"order.side","typeLabel":"enum\u003cnumber>"},"marketId":{"type":"string","isRequired":true,"uniqueKey":"order.marketId","typeLabel":"string"},"ownerId":{"type":"integer","isRequired":true,"uniqueKey":"order.ownerId","typeLabel":"integer"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"order.createdAt","typeLabel":"string\u003cdate-time>"},"market":{"type":"object","properties":{"id":{"type":"integer","example":7348,"isRequired":true,"uniqueKey":"order.market.id","typeLabel":"integer"},"slug":{"type":"string","example":"btc-up-or-down-1-hour","isRequired":true,"uniqueKey":"order.market.slug","typeLabel":"string"},"title":{"type":"string","example":"BTC Up or Down - Hourly","isRequired":true,"uniqueKey":"order.market.title","typeLabel":"string"},"status":{"type":"string","example":"FUNDED","enum":["CREATED","DRAFTED","FUNDED","LOCKED","RESOLVED"],"isRequired":true,"uniqueKey":"order.market.status","typeLabel":"enum\u003cstring>"},"yesPositionId":{"oneOf":[{"type":"string","example":"11514974713064423461...","isRequired":true,"uniqueKey":"order.market.yesPositionId.oneOf.0","typeLabel":"string"},{"type":"null","example":"11514974713064423461...","isRequired":true,"uniqueKey":"order.market.yesPositionId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.market.yesPositionId","typeLabel":"string | null"},"noPositionId":{"oneOf":[{"type":"string","example":"14525308260861904048...","isRequired":true,"uniqueKey":"order.market.noPositionId.oneOf.0","typeLabel":"string"},{"type":"null","example":"14525308260861904048...","isRequired":true,"uniqueKey":"order.market.noPositionId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.market.noPositionId","typeLabel":"string | null"},"group":{"type":"object","properties":{"id":{"type":"integer","example":42,"isRequired":true,"uniqueKey":"order.market.group.id","typeLabel":"integer"},"slug":{"type":"string","example":"btc-price-markets","isRequired":true,"uniqueKey":"order.market.group.slug","typeLabel":"string"},"title":{"type":"string","example":"BTC Price Markets","isRequired":true,"uniqueKey":"order.market.group.title","typeLabel":"string"}},"required":["id","slug","title"],"uniqueKey":"order.market.group","typeLabel":"object"}},"required":["id","slug","title","status","yesPositionId","noPositionId"],"isRequired":true,"uniqueKey":"order.market","typeLabel":"object"},"makerAmount":{"type":"integer","description":"Raw 6-decimal amount","example":5000000,"isRequired":true,"uniqueKey":"order.makerAmount","typeLabel":"integer"},"takerAmount":{"type":"integer","description":"Raw 6-decimal amount","example":10000000,"isRequired":true,"uniqueKey":"order.takerAmount","typeLabel":"integer"},"nonce":{"type":"number","enum":[0],"description":"Numeric zero","isRequired":true,"uniqueKey":"order.nonce","typeLabel":"enum\u003cnumber>"},"owner":{"type":"object","properties":{"id":{"type":"integer","isRequired":true,"uniqueKey":"order.owner.id","typeLabel":"integer"},"account":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","isRequired":true,"uniqueKey":"order.owner.account","typeLabel":"string"},"client":{"type":"string","isRequired":true,"uniqueKey":"order.owner.client","typeLabel":"string"},"tradeWalletOption":{"oneOf":[{"type":"string","enum":["eoa","smartWallet"],"isRequired":true,"uniqueKey":"order.owner.tradeWalletOption.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["eoa","smartWallet"],"isRequired":true,"uniqueKey":"order.owner.tradeWalletOption.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.owner.tradeWalletOption","typeLabel":"enum\u003cstring> | null"},"smartWallet":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"order.owner.smartWallet.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"order.owner.smartWallet.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.owner.smartWallet","typeLabel":"string | null"},"username":{"type":"string","isRequired":true,"uniqueKey":"order.owner.username","typeLabel":"string"},"displayName":{"type":"string","isRequired":true,"uniqueKey":"order.owner.displayName","typeLabel":"string"},"pfpUrl":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"order.owner.pfpUrl.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"order.owner.pfpUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.owner.pfpUrl","typeLabel":"string | null"},"socialUrl":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"order.owner.socialUrl.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"order.owner.socialUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.owner.socialUrl","typeLabel":"string | null"},"rankName":{"type":"string","isRequired":true,"uniqueKey":"order.owner.rankName","typeLabel":"string"},"points":{"type":"number","isRequired":true,"uniqueKey":"order.owner.points","typeLabel":"number"},"referredUsersCount":{"type":"integer","isRequired":true,"uniqueKey":"order.owner.referredUsersCount","typeLabel":"integer"},"isTop100":{"type":"boolean","uniqueKey":"order.owner.isTop100","typeLabel":"boolean"},"leaderboardPosition":{"type":"integer","uniqueKey":"order.owner.leaderboardPosition","typeLabel":"integer"}},"required":["id","account","client","tradeWalletOption","smartWallet","username","displayName","pfpUrl","socialUrl","rankName","points","referredUsersCount"],"isRequired":true,"uniqueKey":"order.owner","typeLabel":"object"},"taker":{"oneOf":[{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","uniqueKey":"order.taker.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^0x[a-fA-F0-9]{40}$","uniqueKey":"order.taker.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.taker","typeLabel":"string | null"},"expiration":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"order.expiration.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"order.expiration.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.expiration","typeLabel":"string\u003cdate-time> | null"},"feeRateBps":{"oneOf":[{"type":"integer","uniqueKey":"order.feeRateBps.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"order.feeRateBps.oneOf.1","typeLabel":"null"}],"uniqueKey":"order.feeRateBps","typeLabel":"integer | null"},"price":{"type":"number","example":0.75,"uniqueKey":"order.price","typeLabel":"number"}},"isRequired":true,"uniqueKey":"order","typeLabel":"object"},"execution":{"type":"object","description":"Execution and settlement summary","required":["matched","settlementStatus","feeRateBps","effectiveFeeBps","totalsRaw"],"properties":{"matched":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"execution.matched","typeLabel":"boolean"},"settlementStatus":{"type":"string","example":"MINED","enum":["UNMATCHED","MATCHED","MINED","CONFIRMED","RETRYING","FAILED","DELAYED","CANCELED"],"isRequired":true,"uniqueKey":"execution.settlementStatus","typeLabel":"enum\u003cstring>"},"feeRateBps":{"type":"number","example":25,"isRequired":true,"uniqueKey":"execution.feeRateBps","typeLabel":"number"},"effectiveFeeBps":{"type":"number","example":26,"isRequired":true,"uniqueKey":"execution.effectiveFeeBps","typeLabel":"number"},"totalsRaw":{"type":"object","properties":{"contractsGross":{"type":"string","example":"1000000","isRequired":true,"uniqueKey":"execution.totalsRaw.contractsGross","typeLabel":"string"},"contractsFee":{"type":"string","example":"1000","isRequired":true,"uniqueKey":"execution.totalsRaw.contractsFee","typeLabel":"string"},"contractsNet":{"type":"string","example":"999000","isRequired":true,"uniqueKey":"execution.totalsRaw.contractsNet","typeLabel":"string"},"usdGross":{"type":"string","example":"500000","isRequired":true,"uniqueKey":"execution.totalsRaw.usdGross","typeLabel":"string"},"usdFee":{"type":"string","example":"500","isRequired":true,"uniqueKey":"execution.totalsRaw.usdFee","typeLabel":"string"},"usdNet":{"type":"string","example":"499500","isRequired":true,"uniqueKey":"execution.totalsRaw.usdNet","typeLabel":"string"}},"required":["contractsGross","contractsFee","contractsNet","usdGross","usdFee","usdNet"],"isRequired":true,"uniqueKey":"execution.totalsRaw","typeLabel":"object"},"reason":{"type":"string","example":"settlement transaction reverted","uniqueKey":"execution.reason","typeLabel":"string"},"eligibleAt":{"oneOf":[{"type":"string","example":"2026-06-08T10:15:30.000Z","format":"date-time","uniqueKey":"execution.eligibleAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","example":"2026-06-08T10:15:30.000Z","format":"date-time","uniqueKey":"execution.eligibleAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.eligibleAt","typeLabel":"string\u003cdate-time> | null"},"tradeEventId":{"type":"string","example":"4aa706dd-6c57-4f3c-945a-99818dfd95f1","uniqueKey":"execution.tradeEventId","typeLabel":"string"},"txHash":{"oneOf":[{"type":"string","example":"0xabc123","uniqueKey":"execution.txHash.oneOf.0","typeLabel":"string"},{"type":"null","example":"0xabc123","uniqueKey":"execution.txHash.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.txHash","typeLabel":"string | null"},"clientOrderId":{"type":"string","example":"client-order-001","uniqueKey":"execution.clientOrderId","typeLabel":"string"},"stpMakerCancels":{"example":["4aa706dd-6c57-4f3c-945a-99818dfd95f1"],"type":"array","items":{"type":"string","uniqueKey":"execution.stpMakerCancels.items.[INDEX]","typeLabel":"string"},"uniqueKey":"execution.stpMakerCancels","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"execution","typeLabel":"object"},"makerMatches":{"description":"Maker matches if order was matched immediately","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"matchedSize":{"type":"string","description":"Matched contracts in raw 6-decimal units.","example":"1000000","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].matchedSize","typeLabel":"string"},"fillPrice":{"type":"string","description":"Effective taker-perspective fill price.","example":"0.55","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].fillPrice","typeLabel":"string"},"fillCost":{"type":"string","description":"Fill collateral cost in raw 6-decimal units.","example":"550000","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].fillCost","typeLabel":"string"},"orderId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].orderId","typeLabel":"string\u003cuuid>"},"order":{"type":"object","properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.id","typeLabel":"string\u003cuuid>"},"maker":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.maker","typeLabel":"string"},"price":{"oneOf":[{"type":"string","example":"0.55","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.price.oneOf.0","typeLabel":"string"},{"type":"null","example":"0.55","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.price.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.price","typeLabel":"string | null"},"side":{"type":"number","enum":[0,1],"isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.side","typeLabel":"enum\u003cnumber>"},"tokenId":{"type":"string","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.tokenId","typeLabel":"string"},"owner":{"type":"object","properties":{"id":{"type":"integer","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.id","typeLabel":"integer"},"account":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.account","typeLabel":"string"},"client":{"type":"string","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.client","typeLabel":"string"},"tradeWalletOption":{"oneOf":[{"type":"string","enum":["eoa","smartWallet"],"isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.tradeWalletOption.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["eoa","smartWallet"],"isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.tradeWalletOption.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.tradeWalletOption","typeLabel":"enum\u003cstring> | null"},"smartWallet":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.smartWallet.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.smartWallet.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.smartWallet","typeLabel":"string | null"},"username":{"type":"string","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.username","typeLabel":"string"},"displayName":{"type":"string","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.displayName","typeLabel":"string"},"pfpUrl":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.pfpUrl.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.pfpUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.pfpUrl","typeLabel":"string | null"},"socialUrl":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.socialUrl.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.socialUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.socialUrl","typeLabel":"string | null"},"points":{"type":"number","enum":[0],"isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.points","typeLabel":"enum\u003cnumber>"},"referredUsersCount":{"type":"number","enum":[0],"isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner.referredUsersCount","typeLabel":"enum\u003cnumber>"}},"required":["id","account","client","tradeWalletOption","smartWallet","username","displayName","pfpUrl","socialUrl","points","referredUsersCount"],"isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order.owner","typeLabel":"object"}},"required":["id","maker","price","side","tokenId","owner"],"isRequired":true,"uniqueKey":"makerMatches.items.[INDEX].order","typeLabel":"object"}},"required":["id","matchedSize","fillPrice","fillCost","orderId","order"],"uniqueKey":"makerMatches.items.[INDEX]","typeLabel":"object"},"uniqueKey":"makerMatches","typeLabel":"object[]"}},"required":["order","execution"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"order":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","salt":"1778155025318314496","maker":"\u003cstring>","signer":"\u003cstring>","tokenId":"\u003cstring>","signatureType":0,"signature":"\u003cstring>","orderType":"GTC","side":0,"marketId":"\u003cstring>","ownerId":123,"createdAt":"2023-11-07T05:31:56Z","market":{"id":7348,"slug":"btc-up-or-down-1-hour","title":"BTC Up or Down - Hourly","status":"FUNDED","yesPositionId":"11514974713064423461...","noPositionId":"14525308260861904048...","group":{"id":42,"slug":"btc-price-markets","title":"BTC Price Markets"}},"makerAmount":5000000,"takerAmount":10000000,"nonce":0,"owner":{"id":123,"account":"\u003cstring>","client":"\u003cstring>","tradeWalletOption":"eoa","smartWallet":"\u003cstring>","username":"\u003cstring>","displayName":"\u003cstring>","pfpUrl":"\u003cstring>","socialUrl":"\u003cstring>","rankName":"\u003cstring>","points":123,"referredUsersCount":123,"isTop100":true,"leaderboardPosition":123},"taker":"\u003cstring>","expiration":"2023-11-07T05:31:56Z","feeRateBps":123,"price":0.75},"execution":{"matched":true,"settlementStatus":"MINED","feeRateBps":25,"effectiveFeeBps":26,"totalsRaw":{"contractsGross":"1000000","contractsFee":"1000","contractsNet":"999000","usdGross":"500000","usdFee":"500","usdNet":"499500"},"reason":"settlement transaction reverted","eligibleAt":"2026-06-08T10:15:30.000Z","tradeEventId":"4aa706dd-6c57-4f3c-945a-99818dfd95f1","txHash":"0xabc123","clientOrderId":"client-order-001","stpMakerCancels":["4aa706dd-6c57-4f3c-945a-99818dfd95f1"]},"makerMatches":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","matchedSize":"1000000","fillPrice":"0.55","fillCost":"550000","orderId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","order":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","maker":"\u003cstring>","price":"0.55","side":0,"tokenId":"\u003cstring>","owner":{"id":123,"account":"\u003cstring>","client":"\u003cstring>","tradeWalletOption":"eoa","smartWallet":"\u003cstring>","username":"\u003cstring>","displayName":"\u003cstring>","pfpUrl":"\u003cstring>","socialUrl":"\u003cstring>","points":0,"referredUsersCount":0}}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"886195cf-475e-4e8e-8506-764bb8c5da6c":{"description":"Validation, signature, ownership, amount, balance, allowance, market, delegated-signing, or matching-engine rejection","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["message","error","statusCode"],"properties":{"message":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","example":"orderIds","isRequired":true,"uniqueKey":"oneOf.0.message.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","example":"orderIds should not be empty","isRequired":true,"uniqueKey":"oneOf.0.message.items.[INDEX].message","typeLabel":"string"}},"additionalProperties":false,"required":["field","message"],"uniqueKey":"oneOf.0.message.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"object[]"},"error":{"type":"string","enum":["Bad Request"],"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"enum\u003cstring>"},"statusCode":{"type":"number","enum":[400],"isRequired":true,"uniqueKey":"oneOf.0.statusCode","typeLabel":"enum\u003cnumber>"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["message","error","statusCode"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"error":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"string"},"statusCode":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.1.statusCode","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["message"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.message","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","description":"The signed fee differs from the order owner's effective fee rate. Build and sign a new order with expectedFeeRateBps before retrying.","required":["code","expectedFeeRateBps"],"properties":{"code":{"type":"string","enum":["FEE_RATE_MISMATCH"],"isRequired":true,"uniqueKey":"oneOf.3.code","typeLabel":"enum\u003cstring>"},"expectedFeeRateBps":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"oneOf.3.expectedFeeRateBps","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"oneOf.3.message","typeLabel":"string"}},"uniqueKey":"oneOf.3","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":[{"field":"orderIds","message":"orderIds should not be empty"}],"error":"Bad Request","statusCode":400}}},"exampleType":"generated"}},"exampleType":"generated"},"7e4d7db1-aafc-43ae-8d3c-0ece81c60eb1":{"description":"Authentication failed","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"statusCode":{"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"}},"additionalProperties":false,"required":["message","error","statusCode"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","error":"\u003cstring>","statusCode":123}}},"exampleType":"generated"}},"exampleType":"generated"},"59706a01-707e-4e70-86f0-da27c67faf91":{"description":"Missing trading scope or unauthorized onBehalfOf target","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"additionalProperties":false,"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"bbb0b484-2138-45eb-84cd-25c58b847bad":{"description":"clientOrderId already exists or is being processed","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"statusCode":{"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"}},"additionalProperties":false,"required":["message","error","statusCode"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","error":"\u003cstring>","statusCode":123}}},"exampleType":"generated"}},"exampleType":"generated"},"e1d1be2d-88e9-4fd2-936e-18c7da8ae9c7":{"description":"Receive-window check failed, or order creation is temporarily blocked by maintenance mode. Use the response body to distinguish `reason` (receive-window) from `code` (maintenance).","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["message"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["code","message","mode"],"properties":{"code":{"type":"string","enum":["post_only_mode","cancel_only_mode","trading_disabled"],"isRequired":true,"uniqueKey":"oneOf.1.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Trading is currently cancel-only. New orders are not accepted, but cancels are allowed.","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"mode":{"type":"string","enum":["post_only","cancel_only","disabled"],"isRequired":true,"uniqueKey":"oneOf.1.mode","typeLabel":"enum\u003cstring>"},"resumeAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"oneOf.1.resumeAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"oneOf.1.resumeAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.resumeAt","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"811cb904-ce8d-4daf-9c24-d56c6d12ab29":{"description":"Unexpected order-creation failure","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"additionalProperties":false,"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b49c9951-ed4b-492d-b851-015efa3089ce":{"HmacAuth":{"type":"apiKey","in":"header","name":"lmts-api-key","description":"Scoped API token with HMAC-SHA256 signing. Requires three headers: lmts-api-key (token ID), lmts-timestamp (ISO-8601), lmts-signature (Base64-encoded HMAC). See Authentication docs for details.","scopes":[],"schemeName":"HmacAuth"}}},"servers":{"09c89b92-1b1b-488d-af55-0f936f286701":{"url":"https://api.limitless.exchange","description":"Production API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"lmts-api-key","description":"Scoped API token with HMAC-SHA256 signing. Requires three headers: lmts-api-key (token ID), lmts-timestamp (ISO-8601), lmts-signature (Base64-encoded HMAC). See Authentication docs for details.","scopes":[],"schemeName":"HmacAuth"},"schema":{"title":"lmts-api-key","type":"string","description":"Scoped API token with HMAC-SHA256 signing. Requires three headers: lmts-api-key (token ID), lmts-timestamp (ISO-8601), lmts-signature (Base64-encoded HMAC). See Authentication docs for details.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"HmacAuth","name":"lmts-api-key"}],"title":"HmacAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"limitless","siteName":"Limitless Exchange","title":"Create Order - Limitless Exchange","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T08:21:27.257Z","originalFileLocation":"api-reference/trading/create-order.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}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=\"Creates a buy/sell order for prediction market positions. Requires signed order data.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Limitless Exchange\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/limitless/eKG_O-mKVQpNZHIN/_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/limitless/eKG_O-mKVQpNZHIN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/limitless/eKG_O-mKVQpNZHIN/_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/limitless/eKG_O-mKVQpNZHIN/_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/limitless/eKG_O-mKVQpNZHIN/_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/limitless/eKG_O-mKVQpNZHIN/_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/limitless/eKG_O-mKVQpNZHIN/_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/limitless/eKG_O-mKVQpNZHIN/_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/limitless/eKG_O-mKVQpNZHIN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Order - Limitless Exchange\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a buy/sell order for prediction market positions. Requires signed order data.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Limitless Exchange\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.limitless.exchange/api-reference/trading/create-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://limitless.mintlify.site/_mintlify/api/og/v2?division=Trading\u0026amp;title=Create+Order\u0026amp;description=Creates+a+buy%2Fsell+order+for+prediction+market+positions.+Requires+signed+order+data.\u0026amp;theme=888cee6df57f640d9a30d0c6\u0026amp;signature=2fb67bba26b505c2aeaeedb062fc63a5e0938ee89f50bdd9472b69b85275cd4e\">\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=\"Create Order - Limitless Exchange\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a buy/sell order for prediction market positions. Requires signed order data.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://limitless.mintlify.site/_mintlify/api/og/v2?division=Trading\u0026amp;title=Create+Order\u0026amp;description=Creates+a+buy%2Fsell+order+for+prediction+market+positions.+Requires+signed+order+data.\u0026amp;theme=888cee6df57f640d9a30d0c6\u0026amp;signature=2fb67bba26b505c2aeaeedb062fc63a5e0938ee89f50bdd9472b69b85275cd4e\">\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/limitless/eKG_O-mKVQpNZHIN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Limitless Exchange\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9AB83A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.limitless.exchange/api-reference/trading/create-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/trading/create-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.limitless.exchange/#organization\",\"name\":\"Limitless Exchange\",\"url\":\"https://docs.limitless.exchange\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/limitless/r7gW3TwphUtCZ8zM/logo/light.svg?fit=max\u0026auto=format\u0026n=r7gW3TwphUtCZ8zM\u0026q=85\u0026s=0d6f32ed5e8a1f35ba9d1fa2e0b57a4b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.limitless.exchange#website\",\"name\":\"Limitless Exchange\",\"url\":\"https://docs.limitless.exchange\",\"publisher\":{\"@id\":\"https://docs.limitless.exchange/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.limitless.exchange/api-reference/trading/create-order#webpage\",\"url\":\"https://docs.limitless.exchange/api-reference/trading/create-order\",\"name\":\"Create Order\",\"description\":\"Creates a buy/sell order for prediction market positions. Requires signed order data.\",\"dateModified\":\"2026-10-19T08:21:27.257Z\",\"isPartOf\":{\"@id\":\"https://docs.limitless.exchange#website\"},\"breadcrumb\":{\"@id\":\"https://docs.limitless.exchange/api-reference/trading/create-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.limitless.exchange/api-reference/trading/create-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Limitless Exchange\",\"item\":\"https://docs.limitless.exchange\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Order\",\"item\":\"https://docs.limitless.exchange/api-reference/trading/create-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.limitless.exchange/api-reference/trading/create-order#apireference\",\"headline\":\"Create Order\",\"name\":\"Create Order\",\"description\":\"Creates a buy/sell order for prediction market positions. Requires signed order data.\",\"url\":\"https://docs.limitless.exchange/api-reference/trading/create-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.limitless.exchange/api-reference/trading/create-order#webpage\"},\"dateModified\":\"2026-10-19T08:21:27.257Z\",\"publisher\":{\"@id\":\"https://docs.limitless.exchange/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.limitless.exchange#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Limitless Exchange\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Limitless Exchange\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/trading/create-order.md","siteName":"Limitless Exchange","nav":{"global":{"anchors":[{"anchor":"Limitless Exchange","icon":"arrow-up-right-from-square","href":"https://limitless.exchange"},{"anchor":"Builders Chat","icon":"telegram","href":"https://t.me/LimitlessBuildersChat"},{"anchor":"Discord","icon":"discord","href":"https://discord.com/invite/yb4SscD8RZ"},{"anchor":"Twitter","icon":"x-twitter","href":"https://x.com/trylimitless"}]},"tabs":[{"tab":"User Guide","pages":[{"title":"User Guide","href":""}]},{"tab":"For Developers","pages":[{"title":"For Developers","href":"/developers/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"group":"System","pages":[{"title":"Maintenance Status","openapi":"GET /maintenance/status","href":"/api-reference/system/maintenance-status"}]},{"group":"Authentication","pages":[{"title":"User Logout","openapi":"POST /auth/logout","href":"/api-reference/auth/logout"},{"title":"Create API Key","openapi":"POST /auth/api-keys","href":"/api-reference/auth/create-api-key"},{"title":"Get Active API Key","openapi":"GET /auth/api-keys","href":"/api-reference/auth/get-api-key"},{"title":"Revoke API Key","openapi":"DELETE /auth/api-keys","href":"/api-reference/auth/revoke-api-key"}]},{"group":"Markets","pages":[{"title":"Browse Active Markets","openapi":"GET /markets/active","href":"/api-reference/markets/browse-active"},{"title":"Browse Active Markets by Category","openapi":"GET /markets/active/{categoryId}","href":"/api-reference/markets/browse-active-category"},{"title":"Get Category Counts","openapi":"GET /markets/categories/count","href":"/api-reference/markets/category-count"},{"title":"Get Active Market Slugs","openapi":"GET /markets/active/slugs","href":"/api-reference/markets/active-slugs"},{"title":"Market Timeline","href":"/api-reference/markets/timeline"},{"title":"Get Market Details","openapi":"GET /markets/{addressOrSlug}","href":"/api-reference/markets/get-market"},{"title":"Resolve Stable Slug","openapi":"GET /markets/stable/{slug}","href":"/api-reference/markets/resolve-stable-slug"},{"title":"Get Oracle Candlesticks","openapi":"GET /markets/{addressOrSlug}/oracle-candles","href":"/api-reference/markets/oracle-candles"},{"title":"Get Feed Events","openapi":"GET /markets/{slug}/get-feed-events","href":"/api-reference/markets/feed-events"},{"title":"Search Markets","openapi":"GET /markets/search","href":"/api-reference/markets/search"}]},{"group":"Packs","pages":[{"title":"List Packs","openapi":"GET /parlay/packs","href":"/api-reference/packs/list-packs"},{"title":"Search Active Packs","openapi":"GET /parlay/packs/search","href":"/api-reference/packs/search-packs"},{"title":"Get Pack","openapi":"GET /parlay/packs/{id}","href":"/api-reference/packs/get-pack"},{"title":"Quote Partner Pack","openapi":"POST /parlay/partner/quote","href":"/api-reference/packs/quote-pack"},{"title":"Buy Partner Pack","openapi":"POST /parlay/partner/buy","href":"/api-reference/packs/buy-pack"},{"title":"List Partner Pack Positions","openapi":"GET /parlay/partner/positions","href":"/api-reference/packs/list-positions"},{"title":"Get Partner Pack Position","openapi":"GET /parlay/partner/positions/{id}","href":"/api-reference/packs/get-position"},{"title":"Claim Partner Pack","openapi":"POST /parlay/partner/positions/{id}/claim","href":"/api-reference/packs/claim-position"},{"title":"Confirm Partner Pack Claim","openapi":"POST /parlay/partner/positions/{id}/claim/confirm","description":"Recover a lost submission response with the mined factory redemption transaction. Verifies a successful receipt and matching token and recipient. No x-on-behalf-of header. Requires HMAC with trading and delegated_signing scopes. Never set x-on-behalf-of globally.","href":"/api-reference/packs/confirm-claim"}]},{"group":"Trading","pages":[{"title":"Create Order","openapi":"POST /orders","href":"/api-reference/trading/create-order"},{"title":"Get Order Status (Batch)","openapi":"POST /orders/status/batch","description":"Fetches historical order statuses for multiple orders by internal order IDs and/or client-provided order IDs. Partner API tokens with `delegated_signing` scope may read a sub-account by sending the `x-on-behalf-of: \u003cprofileId>` header.","href":"/api-reference/trading/order-status-batch"},{"title":"Cancel Order (Combined)","openapi":"POST /orders/cancel","href":"/api-reference/trading/cancel"},{"title":"Batch Cancel Orders (Combined)","openapi":"POST /orders/batch-cancel","href":"/api-reference/trading/batch-cancel"},{"title":"Cancel and Replace Order","openapi":"POST /orders/cancel-replace","href":"/api-reference/trading/cancel-replace"},{"title":"Cancel and Replace Orders (Batch)","openapi":"POST /orders/cancel-replace/batch","href":"/api-reference/trading/cancel-replace-batch"},{"title":"Cancel Order","openapi":"DELETE /orders/{orderId}","href":"/api-reference/trading/cancel-order"},{"title":"Cancel Orders (Batch)","openapi":"POST /orders/cancel-batch","href":"/api-reference/trading/cancel-batch"},{"title":"Cancel All Orders","openapi":"DELETE /orders/all/{slug}","href":"/api-reference/trading/cancel-all"},{"title":"Market Maker Heartbeat","openapi":"POST /heartbeats","href":"/api-reference/trading/heartbeats"},{"title":"Get Orderbook","openapi":"GET /markets/{slug}/orderbook","href":"/api-reference/trading/orderbook"},{"title":"Get Historical Prices","openapi":"GET /markets/{slug}/historical-price","href":"/api-reference/trading/historical-price"},{"title":"Get User Orders","openapi":"GET /markets/{slug}/user-orders","href":"/api-reference/trading/user-orders"},{"title":"Get Market Events","openapi":"GET /markets/{slug}/events","href":"/api-reference/trading/market-events"}]},{"group":"Portfolio","pages":[{"title":"Get Current Profile","openapi":"GET /profiles/me","href":"/api-reference/portfolio/get-current-profile"},{"title":"Get Your Profile","openapi":"GET /profiles/{account}","href":"/api-reference/portfolio/get-profile"},{"title":"Get Trades","openapi":"GET /portfolio/trades","href":"/api-reference/portfolio/trades"},{"title":"Get Positions","openapi":"GET /portfolio/positions","href":"/api-reference/portfolio/positions"},{"title":"Redeem Resolved Positions","href":"/api-reference/portfolio/redeem"},{"title":"Split Collateral Into Outcome Set","href":"/api-reference/portfolio/split"},{"title":"Merge Outcome Set Into Collateral","href":"/api-reference/portfolio/merge"},{"title":"Withdraw From Server Wallet","href":"/api-reference/portfolio/withdraw"},{"title":"Add Withdrawal Address","href":"/api-reference/portfolio/add-withdrawal-address"},{"title":"Delete Withdrawal Address","href":"/api-reference/portfolio/delete-withdrawal-address"},{"title":"Get PnL Chart","openapi":"GET /portfolio/pnl-chart","href":"/api-reference/portfolio/pnl-chart"},{"title":"Get History","openapi":"GET /portfolio/history","href":"/api-reference/portfolio/history"},{"title":"Get Points Breakdown","openapi":"GET /portfolio/points","href":"/api-reference/portfolio/points"},{"title":"Get Trading Allowance","openapi":"GET /portfolio/trading/allowance","href":"/api-reference/portfolio/allowance"}]},{"group":"Market Pages \u0026 Navigation","pages":[{"title":"Get Navigation Tree","openapi":"GET /navigation","href":"/api-reference/navigation/get-navigation"},{"title":"Get Market Page by Path","openapi":"GET /market-pages/by-path","href":"/api-reference/navigation/get-page-by-path"},{"title":"List Markets for a Page","openapi":"GET /market-pages/{id}/markets","href":"/api-reference/navigation/list-page-markets"},{"title":"List Property Keys","openapi":"GET /property-keys","href":"/api-reference/navigation/list-property-keys"},{"title":"Get Property Key","openapi":"GET /property-keys/{id}","href":"/api-reference/navigation/get-property-key"},{"title":"List Property Options","openapi":"GET /property-keys/{id}/options","href":"/api-reference/navigation/list-property-options"}]},{"group":"API Tokens","pages":[{"title":"Get Partner Capabilities","openapi":"GET /auth/api-tokens/capabilities","href":"/api-reference/api-tokens/get-capabilities"},{"title":"Derive Scoped Token","openapi":"POST /auth/api-tokens/derive","href":"/api-reference/api-tokens/derive-token"},{"title":"List Active Tokens","openapi":"GET /auth/api-tokens","href":"/api-reference/api-tokens/list-tokens"},{"title":"Revoke Token","openapi":"DELETE /auth/api-tokens/{tokenId}","href":"/api-reference/api-tokens/revoke-token"}]},{"group":"Partner Accounts","pages":[{"title":"Create Partner Sub-Account","openapi":"POST /profiles/partner-accounts","href":"/api-reference/partner-accounts/create-partner-account"},{"title":"List Partner Sub-Accounts","openapi":"GET /profiles/partner-accounts","href":"/api-reference/partner-accounts/list-partner-accounts"},{"title":"Check Partner Account Allowances","openapi":"GET /profiles/partner-accounts/{profileId}/allowances","href":"/api-reference/partner-accounts/check-allowances"},{"title":"Retry Partner Account Allowances","openapi":"POST /profiles/partner-accounts/{profileId}/allowances/retry","href":"/api-reference/partner-accounts/retry-allowances"}]},{"group":"Public Portfolio","pages":[{"title":"Get User Traded Volume","openapi":"GET /portfolio/{account}/traded-volume","href":"/api-reference/public-portfolio/traded-volume"},{"title":"Get User Positions (Public)","openapi":"GET /portfolio/{account}/positions","href":"/api-reference/public-portfolio/positions"},{"title":"Get Realized PnL (Public)","openapi":"GET /portfolio/{account}/realized-pnl","href":"/api-reference/public-portfolio/realized-pnl"},{"title":"Get PnL Chart (Public)","openapi":"GET /portfolio/{account}/pnl-chart","href":"/api-reference/public-portfolio/pnl-chart"},{"title":"Get User History (Public)","openapi":"GET /portfolio/{account}/history","href":"/api-reference/public-portfolio/history"},{"title":"Get User Accuracy (Public)","openapi":"GET /user-stats/accuracy/{account}","href":"/api-reference/public-portfolio/accuracy"},{"title":"Get User Pack Positions (Public)","openapi":"GET /parlay/{account}/positions","href":"/api-reference/public-portfolio/pack-positions"}]},{"group":"Feed","pages":[{"title":"Get Trading Activity Feed","openapi":"GET /feed/trading","href":"/api-reference/feed/trading-feed"}]},{"group":"Referral","pages":[{"title":"Get My Referral Stats","openapi":"GET /referral/usdc/me","href":"/api-reference/referral/my-stats"},{"title":"Get My Referred Users","openapi":"GET /referral/usdc/referrals","href":"/api-reference/referral/my-referrals"},{"title":"Get Referral Leaderboard","openapi":"GET /referral/usdc/leaderboard","href":"/api-reference/referral/leaderboard"},{"title":"Get Friends Leaderboard","openapi":"GET /referral/usdc/leaderboard/friends","href":"/api-reference/referral/leaderboard-friends"}]},{"group":"Leaderboard","pages":[{"title":"Unrealized PnL Leaderboard by Market","openapi":"GET /leaderboard/pnl/unrealized/markets/{marketId}","href":"/api-reference/leaderboard/unrealized-pnl-market"},{"title":"Biggest Open Positions","openapi":"GET /leaderboard/pnl/unrealized/biggest-positions","href":"/api-reference/leaderboard/biggest-positions"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Create Order - Limitless Exchange","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","Page-1CZdsdAn.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}