Reads your hedging: the policies and their states, each target, the position confirmed at the provider, what is pending, the rounding residual and any open incident, each reported separately. Each hedging policy that hedges the net carries its checks in netChecks: its money check, priced at the marks its net was last sized at, and the warnings of each group that picks it. A hedge is a trade on your own provider account and never changes a customer’s fill or balance. Required scope: hedge:read. Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.
GET
/
api
/
venues
/
{venueId}
/
hedges
TypeScript
const res = await fetch('https://app.trdrs.co/api/venues/{venueId}/hedges', {
headers: { Authorization: `Bearer ${process.env.TRDRS_VENUE_KEY}` },
})
const data = await res.json()
The Venue key (trdrs_vk_sandbox_… or trdrs_vk_production_…), in preview. It belongs to one venue in one environment and carries the scopes it was created with. The venue's verified owner creates it while signed in. It works on the /api/venues/{venueId} routes and, with trader:read or trader:trade, on the account, market and trading routes, reading the venue's own traders' accounts and routing their orders, each request naming its trader in x-trdrs-trader. A trdrs_sk_… key can't be used in its place. It reaches its venue's routes and its venue's own traders, and the owner manages keys from a signed-in session. Keep it on your server.
Path Parameters
venueId
string<uuid>
required
Response
Success. The response is sent with Cache-Control: no-store, so don't cache it.
policies
object[]
required
Show child attributes
activations
object[]
required
Show child attributes
hedgingPolicies
object[]
required
Show child attributes
targets
object[]
required
Show child attributes
intents
object[]
required
incidents
object[]
required
Each open incident. An incident of a hedging policy names it in hedgingPolicyId, and its market in instrumentId.
Show child attributes
metrics
object
required
Show child attributes
accounts
object[]
required
Each binding of a customer account to its own hedge account at a hedge market, newest first.
Show child attributes
exchanges
object
required
The exchanges your activated instruments list on. mixed warns that they list on more than one, and notOnHedgeMarket that some are not mapped at the hedge market of a policy that copies or nets them, named in hedgeMarkets[].notMapped; one a policy nets there stays on your book, unhedged. unstated names instruments whose symbol names no exchange.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"trdrs Engine API","description":"Market data, trading and venue infrastructure: programmatic trading and business integrations through one documented API.","colors":{"primary":"#0a0a0a","light":"#fafafa","dark":"#0a0a0a"},"logo":{"light":"https://mintcdn.com/trdrs/VlyBylpRulgoNVYk/logo.svg?fit=max\u0026auto=format\u0026n=VlyBylpRulgoNVYk\u0026q=85\u0026s=0725a6173d2c03859de4fc3b0a99ea50","dark":"https://mintcdn.com/trdrs/VlyBylpRulgoNVYk/logo.svg?fit=max\u0026auto=format\u0026n=VlyBylpRulgoNVYk\u0026q=85\u0026s=0725a6173d2c03859de4fc3b0a99ea50","href":"https://trdrs.co"},"favicon":"https://mintcdn.com/trdrs/VlyBylpRulgoNVYk/logo.svg?fit=max\u0026auto=format\u0026n=VlyBylpRulgoNVYk\u0026q=85\u0026s=0725a6173d2c03859de4fc3b0a99ea50","api":{"playground":{"display":"simple"}},"appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#ffffff","dark":"#0f0f0f"}},"navbar":{"links":[{"href":"https://trdrs.co/developers","label":"Developers"},{"href":"https://sandbox.trdrs.co/settings/api","label":"Sandbox"}],"primary":{"type":"button","label":"Get started","href":"/build"}},"fonts":{"family":"Inter"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trdrs","hasAudioNarration":false,"actualSubdomain":"trdrs","customDomains":["docs.trdrs.co"],"gitSource":{"type":"github","owner":"trdrsco","repo":"trdrs-engine","deployBranch":"main","contentDirectory":"packages/developer-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b0619cc78bc988e525c7a1f","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API reference","count":279},{"language":"default","tag":"Endpoints","count":278},{"language":"default","tag":"Venues","count":233},{"language":"default","tag":"Guides","count":53},{"language":"default","tag":"Trading","count":47},{"language":"default","tag":"Hedging","count":34},{"language":"default","tag":"Providers and connections","count":24},{"language":"default","tag":"Venue accounts","count":24},{"language":"default","tag":"Connect","count":21},{"language":"default","tag":"Trade desk","count":21}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html{font-size:90%}"}]}
{"page":{"pagePath":"api-reference/venue-platform-preview/read-venue-hedge-state","slug":"/api-reference/venue-platform-preview/read-venue-hedge-state","pageMetadata":{"title":"Read venue hedge state","description":"Reads your hedging: the policies and their states, each target, the position confirmed at the provider, what is pending, the rounding residual and any open incident, each reported separately. Each hedging policy that hedges the net carries its checks in `netChecks`: its money check, priced at the marks its net was last sized at, and the warnings of each group that picks it. A hedge is a trade on your own provider account and never changes a customer's fill or balance. Required scope: `hedge:read`. Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedges","href":"/api-reference/venue-platform-preview/read-venue-hedge-state","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Reads your hedging: the policies and their states, each target, the position confirmed at the provider, what is pending, the rounding residual and any open incident, each reported separately. Each hedging policy that hedges the net carries its checks in \", _jsx(_components.code, {\n children: \"netChecks\"\n }), \": its money check, priced at the marks its net was last sized at, and the warnings of each group that picks it. A hedge is a trade on your own provider account and never changes a customer’s fill or balance. Required scope: \", _jsx(_components.code, {\n children: \"hedge:read\"\n }), \". Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Read venue hedge state","description":"Reads your hedging: the policies and their states, each target, the position confirmed at the provider, what is pending, the rounding residual and any open incident, each reported separately. Each hedging policy that hedges the net carries its checks in `netChecks`: its money check, priced at the marks its net was last sized at, and the warnings of each group that picks it. A hedge is a trade on your own provider account and never changes a customer's fill or balance. Required scope: `hedge:read`. Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedges","href":"/api-reference/venue-platform-preview/read-venue-hedge-state","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Venue platform preview"],"security":["01feb536-3056-4ac3-98b6-12358f9c537b"],"summary":"Read venue hedge state","description":"Reads your hedging: the policies and their states, each target, the position confirmed at the provider, what is pending, the rounding residual and any open incident, each reported separately. Each hedging policy that hedges the net carries its checks in `netChecks`: its money check, priced at the marks its net was last sized at, and the warnings of each group that picks it. A hedge is a trade on your own provider account and never changes a customer's fill or balance. Required scope: `hedge:read`. Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.","parameters":["50252ef0-fab9-4f96-8495-5d06028d37b8"],"responses":{"200":"2713d4d0-8baa-47c4-aea9-ea014fe874a9","400":"6bfd7a10-0e27-481c-b1cf-d137b72dbc99","401":"1f9bdeee-ff9a-4525-80fe-c54034536b16","403":"3f934bb9-f5e5-4a72-b256-aa18969f5cad","404":"a2e33898-bbb1-4e35-acd4-de00da4653ac","409":"a77a348a-e409-43f2-93ca-8bf2b5cc97a3","413":"6fa9cbcb-720f-4d05-9509-a49ead830a4c","415":"8491b54c-4f81-441e-9874-c26a5d50ac81","503":"4e983d14-af34-4876-877a-a19a1f03b964"},"x-codeSamples":[{"lang":"javascript","label":"TypeScript","source":"const res = await fetch('https://app.trdrs.co/api/venues/{venueId}/hedges', {\n headers: { Authorization: `Bearer ${process.env.TRDRS_VENUE_KEY}` },\n})\nconst data = await res.json()"},{"lang":"shell","label":"cURL","source":"curl 'https://app.trdrs.co/api/venues/{venueId}/hedges' \\\n -H \"Authorization: Bearer $TRDRS_VENUE_KEY\""}],"method":"get","type":"path","servers":["ae12e78d-5b76-484a-90c7-582692fdc51b","1196bb3c-7874-4e34-96eb-cbfba23bf309"],"path":"/api/venues/{venueId}/hedges","baseUrlOptions":["https://app.trdrs.co","/"],"title":"Read venue hedge state","codeSamples":[{"label":"TypeScript","lang":"javascript","source":"const res = await fetch('https://app.trdrs.co/api/venues/{venueId}/hedges', {\n headers: { Authorization: `Bearer ${process.env.TRDRS_VENUE_KEY}` },\n})\nconst data = await res.json()"},{"label":"cURL","lang":"shell","source":"curl 'https://app.trdrs.co/api/venues/{venueId}/hedges' \\\n -H \"Authorization: Bearer $TRDRS_VENUE_KEY\""}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"50252ef0-fab9-4f96-8495-5d06028d37b8":{"name":"venueId","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"responses":{"2713d4d0-8baa-47c4-aea9-ea014fe874a9":{"description":"Success. The response is sent with `Cache-Control: no-store`, so don't cache it.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"policies":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"policies.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"venueId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"policies.items.[INDEX].venueId","typeLabel":"string\u003cuuid>"},"environment":{"type":"string","enum":["sandbox","production"],"isRequired":true,"uniqueKey":"policies.items.[INDEX].environment","typeLabel":"enum\u003cstring>"},"groupId":{"type":"string","isRequired":true,"uniqueKey":"policies.items.[INDEX].groupId","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"policies.items.[INDEX].name","typeLabel":"string"},"mode":{"type":"string","enum":["group","account"],"isRequired":true,"uniqueKey":"policies.items.[INDEX].mode","typeLabel":"enum\u003cstring>"},"destinationAccountId":{"oneOf":[{"type":"string","description":"The hedge account a `group` policy trades in; null for an `account` policy.","isRequired":true,"uniqueKey":"policies.items.[INDEX].destinationAccountId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hedge account a `group` policy trades in; null for an `account` policy.","isRequired":true,"uniqueKey":"policies.items.[INDEX].destinationAccountId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].destinationAccountId","typeLabel":"string | null"},"connectionId":{"oneOf":[{"type":"string","description":"The hedge market of an `account` policy: the connection every instrument of the group is hedged at, where each customer account's hedge account trades; null for a `group` policy.","isRequired":true,"uniqueKey":"policies.items.[INDEX].connectionId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hedge market of an `account` policy: the connection every instrument of the group is hedged at, where each customer account's hedge account trades; null for a `group` policy.","isRequired":true,"uniqueKey":"policies.items.[INDEX].connectionId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].connectionId","typeLabel":"string | null"},"ratio":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","isRequired":true,"uniqueKey":"policies.items.[INDEX].ratio","typeLabel":"string"},"ratioBasis":{"oneOf":[{"type":"string","enum":["fixed","budget",null],"isRequired":true,"uniqueKey":"policies.items.[INDEX].ratioBasis.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["fixed","budget",null],"isRequired":true,"uniqueKey":"policies.items.[INDEX].ratioBasis.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].ratioBasis","typeLabel":"enum\u003cstring> | null"},"quantityCap":{"oneOf":[{"type":"string","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"policies.items.[INDEX].quantityCap.oneOf.0","typeLabel":"string"},{"type":"null","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"policies.items.[INDEX].quantityCap.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].quantityCap","typeLabel":"string | null"},"notionalCap":{"oneOf":[{"type":"string","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"policies.items.[INDEX].notionalCap.oneOf.0","typeLabel":"string"},{"type":"null","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"policies.items.[INDEX].notionalCap.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].notionalCap","typeLabel":"string | null"},"residualThreshold":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","isRequired":true,"uniqueKey":"policies.items.[INDEX].residualThreshold","typeLabel":"string"},"minHedgeNotional":{"oneOf":[{"type":"string","description":"An `account` policy's minimum hedge size, in US dollars.","isRequired":true,"uniqueKey":"policies.items.[INDEX].minHedgeNotional.oneOf.0","typeLabel":"string"},{"type":"null","description":"An `account` policy's minimum hedge size, in US dollars.","isRequired":true,"uniqueKey":"policies.items.[INDEX].minHedgeNotional.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].minHedgeNotional","typeLabel":"string | null"},"failureLimit":{"oneOf":[{"type":"integer","description":"How many failed hedges in a row halt a customer account's opening orders, under an `account` policy.","isRequired":true,"uniqueKey":"policies.items.[INDEX].failureLimit.oneOf.0","typeLabel":"integer"},{"type":"null","description":"How many failed hedges in a row halt a customer account's opening orders, under an `account` policy.","isRequired":true,"uniqueKey":"policies.items.[INDEX].failureLimit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"policies.items.[INDEX].failureLimit","typeLabel":"integer | null"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"policies.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"}},"required":["id","venueId","environment","groupId","name","mode","destinationAccountId","connectionId","ratio","ratioBasis","quantityCap","notionalCap","residualThreshold","minHedgeNotional","failureLimit","createdAt"],"uniqueKey":"policies.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"policies","typeLabel":"object[]"},"activations":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"venueId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"activations.items.[INDEX].venueId","typeLabel":"string\u003cuuid>"},"environment":{"type":"string","enum":["sandbox","production"],"isRequired":true,"uniqueKey":"activations.items.[INDEX].environment","typeLabel":"enum\u003cstring>"},"groupId":{"type":"string","isRequired":true,"uniqueKey":"activations.items.[INDEX].groupId","typeLabel":"string"},"policyId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"activations.items.[INDEX].policyId","typeLabel":"string\u003cuuid>"},"state":{"type":"string","enum":["active","paused","stopped"],"isRequired":true,"uniqueKey":"activations.items.[INDEX].state","typeLabel":"enum\u003cstring>"},"revision":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"activations.items.[INDEX].revision","typeLabel":"integer"},"activatedAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"activations.items.[INDEX].activatedAt","typeLabel":"string\u003cdate-time>"}},"required":["venueId","environment","groupId","policyId","state","revision","activatedAt"],"uniqueKey":"activations.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"activations","typeLabel":"object[]"},"hedgingPolicies":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].name","typeLabel":"string"},"state":{"type":"string","enum":["active","paused","stopped"],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].state","typeLabel":"enum\u003cstring>"},"revision":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].revision","typeLabel":"integer"},"versionId":{"type":"string","format":"uuid","description":"The version of its terms in force. Each hedge target names the version that produced it.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].versionId","typeLabel":"string\u003cuuid>"},"terms":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["net","copy"],"description":"`net` nets every account the policy covers and hedges a share of what is left in your one hedge account at the hedge market. `copy` holds a share of each customer account's position in that account's own hedge account there.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.mode","typeLabel":"enum\u003cstring>"},"connectionId":{"type":"string","format":"uuid","description":"The hedge market: your connection to the one provider the policy hedges at. A market that provider doesn't list stays on your book.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.connectionId","typeLabel":"string\u003cuuid>"},"net":{"type":"object","additionalProperties":false,"properties":{"ratio":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.ratio","typeLabel":"string"},"minHedgeNotional":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.minHedgeNotional","typeLabel":"string"},"notionalCap":{"oneOf":[{"type":"string","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.notionalCap.oneOf.0","typeLabel":"string"},{"type":"null","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.notionalCap.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.notionalCap","typeLabel":"string | null"},"leverage":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"instrumentId":{"type":"string","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.leverage.items.[INDEX].instrumentId","typeLabel":"string"},"leverage":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.leverage.items.[INDEX].leverage","typeLabel":"integer"}},"required":["instrumentId","leverage"],"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.leverage.items.[INDEX]","typeLabel":"object"},"maxItems":50,"description":"The leverage your hedge account holds each market's hedge at, by your id for the instrument, a whole number up to the highest the hedge market allows there, each market named once. A market you name none for is held at 10x, or that highest where it is lower: at Hyperliquid's BTC 40x a hedge account holding all it can is liquidated by a 1.25% move, at 10x by 8.75%. Your company Hyperliquid account is set to it, in cross margin, before the first hedge order in the market and again whenever it changes; a leverage that can't be set sends no order and is a hedge failure with `reason` `hedge_leverage_not_set`. Left out, none.","uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.leverage","typeLabel":"object[]"},"threshold":{"oneOf":[{"type":"object","properties":{"start":{"type":"string","description":"How far, in US dollars, the hedge the net calls for on a market and the hedge your hedge account holds there, with what is on its way in, may differ before an order is sent. Above zero.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.threshold.oneOf.0.start","typeLabel":"string"},"target":{"type":"string","description":"How far apart, in US dollars, the order sent leaves them, on the side they differed: `0` hedges all of it. Below `start`, or refused `400 threshold_target_not_below_start` at `net.threshold.target`.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.threshold.oneOf.0.target","typeLabel":"string"}},"required":["start","target"],"additionalProperties":false,"description":"Threshold hedging, or null (the default) to size the net after every fill. On each market, nothing is sent while the hedge is off by `start` or less; once a fill takes it further, one order brings it back to `target` off, rounded to the market's step so it is never more. `{ \"start\": \"250000\", \"target\": \"50000\" }` holds the hedge until the net has moved it more than $250,000, then hedges all but $50,000. A net that calls for no hedge on a market closes it whatever the threshold, and `minHedgeNotional` and `notionalCap` hold as before. What is held back is on the target as `unsentQuantity`.","uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.threshold.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"start":{"type":"string","description":"How far, in US dollars, the hedge the net calls for on a market and the hedge your hedge account holds there, with what is on its way in, may differ before an order is sent. Above zero."},"target":{"type":"string","description":"How far apart, in US dollars, the order sent leaves them, on the side they differed: `0` hedges all of it. Below `start`, or refused `400 threshold_target_not_below_start` at `net.threshold.target`."}},"required":["start","target"],"additionalProperties":false,"description":"Threshold hedging, or null (the default) to size the net after every fill. On each market, nothing is sent while the hedge is off by `start` or less; once a fill takes it further, one order brings it back to `target` off, rounded to the market's step so it is never more. `{ \"start\": \"250000\", \"target\": \"50000\" }` holds the hedge until the net has moved it more than $250,000, then hedges all but $50,000. A net that calls for no hedge on a market closes it whatever the threshold, and `minHedgeNotional` and `notionalCap` hold as before. What is held back is on the target as `unsentQuantity`.","uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.threshold.oneOf.1","typeLabel":"null"}],"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.threshold","typeLabel":"object | null"},"cross":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"instrumentId":{"type":"string","description":"Your id for the instrument whose net is hedged elsewhere, such as a small coin your hedge market doesn't list.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.cross.items.[INDEX].instrumentId","typeLabel":"string"},"hedgeInstrumentId":{"type":"string","description":"Your id for the instrument it is hedged in instead, which the hedge market lists, or the policy is refused `409 not_ready` with `cross_hedge_not_on_hedge_market`, the instruments in `params`. Never `instrumentId` itself (`cross_into_itself`), nor an instrument that is itself crossed (`cross_chain`).","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.cross.items.[INDEX].hedgeInstrumentId","typeLabel":"string"},"ratio":{"type":"string","description":"How much of the net's dollar value is hedged, above zero and at most 10 (`cross_ratio_range`): `0.8` hedges $80,000 for each $100,000.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.cross.items.[INDEX].ratio","typeLabel":"string"}},"required":["instrumentId","hedgeInstrumentId","ratio"],"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.cross.items.[INDEX]","typeLabel":"object"},"maxItems":50,"description":"Cross hedging, each instrument named once (`duplicate`), or none (the default). What the net holds of `instrumentId`, after `ratio` and the rules, is valued in US dollars at its own mark, times the cross's `ratio`, and added to the net of `hedgeInstrumentId` in that instrument's quantity at its mark; `notionalCap`, `threshold` and `minHedgeNotional` then apply to the whole. `[{ \"instrumentId\": \"PEPE-PERP\", \"hedgeInstrumentId\": \"ETH-PERP\", \"ratio\": \"0.8\" }]` hedges $100,000 of PEPE with $80,000 of ETH. A crossed instrument is never hedged in itself: one the hedge market lists is closed there. One quoted in neither USD nor USDC can't be valued, and its hedge fails with `reason` `cross_value_unknown`; while it has no fresh mark, the instrument it is crossed into waits. Only the net crosses: a rule that copies an instrument the hedge market doesn't list still keeps it on your book.","uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.cross","typeLabel":"object[]"},"placement":{"oneOf":[{"type":"null","description":"How the net places its orders: `{ \"kind\": \"market\" }` or null (the default) sends each order at once; `twap`, a time-weighted average, sends an order worth more than `over` in equal slices, one every `seconds / slices` seconds, each rounded up to the market's step. `{ \"kind\": \"twap\", \"over\": \"250000\", \"slices\": 5, \"seconds\": 300 }` sends a $1,000,000 order as five $200,000 orders a minute apart. When each slice is due, the net is sized again: the next slice goes, or the whole of what is left once it is no more than a slice, and a net that turned to the other side ends the slicing and is sized afresh. What waits for its slice is on the target as `unsentQuantity`. A threshold's `start` holds only the first slice: the rest go on to its `target`. Slice k is due k times `seconds / slices` after the first, so the last is due inside `seconds`, and an order never takes more than `slices` slices: what the net calls for after its last is sized afresh.","uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.placement.oneOf.0","typeLabel":"null"},{"type":"object","description":"How the net places its orders: `{ \"kind\": \"market\" }` or null (the default) sends each order at once; `twap`, a time-weighted average, sends an order worth more than `over` in equal slices, one every `seconds / slices` seconds, each rounded up to the market's step. `{ \"kind\": \"twap\", \"over\": \"250000\", \"slices\": 5, \"seconds\": 300 }` sends a $1,000,000 order as five $200,000 orders a minute apart. When each slice is due, the net is sized again: the next slice goes, or the whole of what is left once it is no more than a slice, and a net that turned to the other side ends the slicing and is sized afresh. What waits for its slice is on the target as `unsentQuantity`. A threshold's `start` holds only the first slice: the rest go on to its `target`. Slice k is due k times `seconds / slices` after the first, so the last is due inside `seconds`, and an order never takes more than `slices` slices: what the net calls for after its last is sized afresh.","required":["kind"],"properties":{"kind":{"const":"market","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.placement.oneOf.1.kind","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.placement.oneOf.1","typeLabel":"object"},{"type":"object","description":"How the net places its orders: `{ \"kind\": \"market\" }` or null (the default) sends each order at once; `twap`, a time-weighted average, sends an order worth more than `over` in equal slices, one every `seconds / slices` seconds, each rounded up to the market's step. `{ \"kind\": \"twap\", \"over\": \"250000\", \"slices\": 5, \"seconds\": 300 }` sends a $1,000,000 order as five $200,000 orders a minute apart. When each slice is due, the net is sized again: the next slice goes, or the whole of what is left once it is no more than a slice, and a net that turned to the other side ends the slicing and is sized afresh. What waits for its slice is on the target as `unsentQuantity`. A threshold's `start` holds only the first slice: the rest go on to its `target`. Slice k is due k times `seconds / slices` after the first, so the last is due inside `seconds`, and an order never takes more than `slices` slices: what the net calls for after its last is sized afresh.","required":["kind","over","slices","seconds"],"properties":{"kind":{"const":"twap","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.placement.oneOf.2.kind","typeLabel":"any"},"over":{"type":"string","description":"The value, in US dollars, an order must be worth for it to go in slices. Above zero, and at least `minHedgeNotional` times `slices`, or refused `400 twap_slice_below_min_notional` at `net.placement.over`.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.placement.oneOf.2.over","typeLabel":"string"},"slices":{"type":"integer","minimum":2,"maximum":100,"description":"How many slices the order goes in, at most.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.placement.oneOf.2.slices","typeLabel":"integer"},"seconds":{"type":"integer","minimum":1,"maximum":86400,"description":"How long, in seconds, the slices are spread over. At least `slices`, so slices are a second or more apart, or refused `400 twap_interval_too_short` at `net.placement.seconds`.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.placement.oneOf.2.seconds","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.placement.oneOf.2","typeLabel":"object"}],"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net.placement","typeLabel":"null · object · object"}},"required":["ratio","minHedgeNotional","notionalCap"],"description":"The net: `ratio`, the share of the net hedged, from 0 to 1; `minHedgeNotional`, the smallest order sent, in US dollars, unless it closes the hedge, raised to the hedge market's own minimum order value where that is larger; `notionalCap`, the largest hedge on one market, in US dollars, or null for none; `leverage`, what the hedge account holds each market's hedge at; `threshold`, how far the hedge may drift before an order is sent; `cross`, the instruments hedged in others; `placement`, how its orders go to the hedge market.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.net","typeLabel":"object"},"copy":{"type":"object","additionalProperties":false,"properties":{"ratio":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.copy.ratio","typeLabel":"string"},"basis":{"type":"string","enum":["fixed","budget"],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.copy.basis","typeLabel":"enum\u003cstring>"},"minHedgeNotional":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.copy.minHedgeNotional","typeLabel":"string"},"failureLimit":{"type":"integer","minimum":1,"maximum":20,"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.copy.failureLimit","typeLabel":"integer"}},"required":["ratio","basis","minHedgeNotional","failureLimit"],"description":"Copying each trader: `ratio`, the share copied, from 0 to 1, or under the `budget` basis the most it can be, as each account's hedge budget over its max loss sizes it; `minHedgeNotional`, the smallest copy sent, in US dollars, unless it closes the copy; `failureLimit`, how many failed copies in a row stop the trader opening more until you reconcile them.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.copy","typeLabel":"object"},"hedgeAccountId":{"oneOf":[{"type":"string","description":"Your hedge account at the hedge market that the net goes into, an account you bound for hedging, or null until you bind one: the net is then worked out and never sent.","uniqueKey":"hedgingPolicies.items.[INDEX].terms.hedgeAccountId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your hedge account at the hedge market that the net goes into, an account you bound for hedging, or null until you bind one: the net is then worked out and never sent.","uniqueKey":"hedgingPolicies.items.[INDEX].terms.hedgeAccountId.oneOf.1","typeLabel":"null"}],"uniqueKey":"hedgingPolicies.items.[INDEX].terms.hedgeAccountId","typeLabel":"string | null"},"rules":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"match":{"oneOf":[{"type":"object","required":["kind","instrumentId"],"properties":{"kind":{"const":"instrument","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.0.kind","typeLabel":"any"},"instrumentId":{"type":"string","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.0.instrumentId","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","riskClass"],"properties":{"kind":{"const":"class","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.1.kind","typeLabel":"any"},"riskClass":{"type":"string","enum":["futures","crypto_derivative","fx_cfd"],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.1.riskClass","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind","over"],"properties":{"kind":{"const":"order_notional","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.2.kind","typeLabel":"any"},"over":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.2.over","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.2","typeLabel":"object"},{"type":"object","description":"The accounts whose recent results are a return above `returnOver` over the last `days` whole UTC days, on at least `minTradingDays` days with a fill. The return is the trading profit and loss the account booked in the window, after commission, fees, financing and funding, over its balance when the window began, or what it opened with where it opened since; a position still open counts only what it has realized. Each account's figures are worked out once a UTC day, the first time they are read, and an account that starts or stops matching moves with all it holds when the day turns: its open positions are hedged as the rule says from then on, and go back as the rest of the policy says when it stops. Read where an account stands with `GET /accounts/{accountId}/hedging-results`. `{ \"kind\": \"results\", \"returnOver\": \"0.05\", \"days\": 30, \"minTradingDays\": 5 }` matches an account up more than 5% over the last 30 days with at least 5 trading days.","required":["kind","returnOver","days","minTradingDays"],"properties":{"kind":{"const":"results","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.3.kind","typeLabel":"any"},"returnOver":{"type":"string","description":"The return an account must be above, as a share: `0.05` is 5%, below zero a loss. From -1 to 10, or refused `return_range`.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.3.returnOver","typeLabel":"string"},"days":{"type":"integer","minimum":1,"maximum":365,"description":"The window: the whole UTC days before today it reads.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.3.days","typeLabel":"integer"},"minTradingDays":{"type":"integer","minimum":0,"description":"The days with a fill the account needs in the window, at most `days`.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.3.minTradingDays","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match.oneOf.3","typeLabel":"object"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].match","typeLabel":"object"},"mode":{"type":"string","enum":["keep","net","copy"],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].mode","typeLabel":"enum\u003cstring>"},"ratio":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX].ratio","typeLabel":"string"}},"required":["match","mode"],"uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules.items.[INDEX]","typeLabel":"object"},"maxItems":50,"description":"Rules read top to bottom; the first that matches a trade decides, and the policy's mode covers the rest. A rule matches one instrument by your id for it, every instrument of one risk class, the part of a position opened by an order whose filled notional was over `over` US dollars, or every trade of the accounts whose recent results are above a return (`results`), and keeps its trades on your book (`keep`, with no `ratio`), nets them or copies them at its own `ratio`, from 0 to 1. At most 50.","uniqueKey":"hedgingPolicies.items.[INDEX].terms.rules","typeLabel":"object[]"},"builder":{"oneOf":[{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"The address the builder fee is paid to, kept in lowercase.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.builder.oneOf.0.address","typeLabel":"string"},"feeBps":{"type":"string","description":"The fee per side in basis points of each hedge order's notional, above zero, to a tenth of a basis point, and at most 10 (0.1%), Hyperliquid's cap on perpetuals. 5 is 0.05%.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms.builder.oneOf.0.feeBps","typeLabel":"string"}},"required":["address","feeBps"],"additionalProperties":false,"description":"Your builder on the policy's hedge orders at Hyperliquid, or null for none. Every hedge order the policy sends, opening, closing, a net, a resize and each close of a flatten of its hedge account, carries it, so Hyperliquid moves the fee from the hedge account to your builder address on each side. A flatten whose hedge account approved less than the fee, or whose approval can't be read, closes without it, so the position closes: trdrs first approves it again where it holds the hedge account's main wallet, and a flatten still short opens an incident and sends `hedge.failure` with `reason` `flattened_without_builder_fee`. A trader's own orders never carry it. Each hedge order also pays Hyperliquid its own taker fee, at most its base rate of 0.045% on a perpetual. It is in force only while each group that picks the policy charges on paper at least both per side, the policy's `minimumCommissionBps` (`feeBps` plus 4.5): a `notionalBps` commission at that rate or above, or a `liquidityBps` one with both rates at it or above, on every fill (`timing` `fill`, `direction` `both`), and each hedge account it charges approved the builder at the fee or more. What a hedge account pays Hyperliquid below its base rate stays in the hedge account. Only the hedge account's main wallet can approve a builder, and trdrs reaches a hedge account with an agent key, so you approve it yourself: sign `approveBuilderFee` for this address at this fee or more with the hedge account's main wallet, then retry. trdrs reads the approval back from Hyperliquid and never asks for it. Sandbox only for now: the only Hyperliquid provider service is the testnet one.","uniqueKey":"hedgingPolicies.items.[INDEX].terms.builder.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"The address the builder fee is paid to, kept in lowercase."},"feeBps":{"type":"string","description":"The fee per side in basis points of each hedge order's notional, above zero, to a tenth of a basis point, and at most 10 (0.1%), Hyperliquid's cap on perpetuals. 5 is 0.05%."}},"required":["address","feeBps"],"additionalProperties":false,"description":"Your builder on the policy's hedge orders at Hyperliquid, or null for none. Every hedge order the policy sends, opening, closing, a net, a resize and each close of a flatten of its hedge account, carries it, so Hyperliquid moves the fee from the hedge account to your builder address on each side. A flatten whose hedge account approved less than the fee, or whose approval can't be read, closes without it, so the position closes: trdrs first approves it again where it holds the hedge account's main wallet, and a flatten still short opens an incident and sends `hedge.failure` with `reason` `flattened_without_builder_fee`. A trader's own orders never carry it. Each hedge order also pays Hyperliquid its own taker fee, at most its base rate of 0.045% on a perpetual. It is in force only while each group that picks the policy charges on paper at least both per side, the policy's `minimumCommissionBps` (`feeBps` plus 4.5): a `notionalBps` commission at that rate or above, or a `liquidityBps` one with both rates at it or above, on every fill (`timing` `fill`, `direction` `both`), and each hedge account it charges approved the builder at the fee or more. What a hedge account pays Hyperliquid below its base rate stays in the hedge account. Only the hedge account's main wallet can approve a builder, and trdrs reaches a hedge account with an agent key, so you approve it yourself: sign `approveBuilderFee` for this address at this fee or more with the hedge account's main wallet, then retry. trdrs reads the approval back from Hyperliquid and never asks for it. Sandbox only for now: the only Hyperliquid provider service is the testnet one.","uniqueKey":"hedgingPolicies.items.[INDEX].terms.builder.oneOf.1","typeLabel":"null"}],"uniqueKey":"hedgingPolicies.items.[INDEX].terms.builder","typeLabel":"object | null"}},"required":["mode","connectionId","net","copy"],"description":"What a hedging policy does. Both modes' terms are stated whatever the mode, since a rule can hedge some trades the other way.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].terms","typeLabel":"object"},"groups":{"type":"array","items":{"type":"string","uniqueKey":"hedgingPolicies.items.[INDEX].groups.items.[INDEX]","typeLabel":"string"},"description":"The groups that pick it.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].groups","typeLabel":"string[]"},"minimumCommissionBps":{"oneOf":[{"type":"string","description":"For a policy with a `builder`, the least each group that picks it charges on paper per side, in basis points of each fill's notional: the builder's `feeBps` plus Hyperliquid's base taker fee on a perpetual, 4.5. Null for a policy with no builder.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].minimumCommissionBps.oneOf.0","typeLabel":"string"},{"type":"null","description":"For a policy with a `builder`, the least each group that picks it charges on paper per side, in basis points of each fill's notional: the builder's `feeBps` plus Hyperliquid's base taker fee on a perpetual, 4.5. Null for a policy with no builder.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].minimumCommissionBps.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].minimumCommissionBps","typeLabel":"string | null"},"builderApprovals":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"hedgeAccountId":{"type":"string","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].builderApprovals.items.[INDEX].hedgeAccountId","typeLabel":"string"},"maxFeeBps":{"oneOf":[{"type":"string","description":"The most the hedge account approved the builder to charge per side, in basis points, as Hyperliquid answers it now. Null when it could not be read.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].builderApprovals.items.[INDEX].maxFeeBps.oneOf.0","typeLabel":"string"},{"type":"null","description":"The most the hedge account approved the builder to charge per side, in basis points, as Hyperliquid answers it now. Null when it could not be read.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].builderApprovals.items.[INDEX].maxFeeBps.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].builderApprovals.items.[INDEX].maxFeeBps","typeLabel":"string | null"},"signedByTrdrs":{"type":"boolean","description":"Whether trdrs signs this approval itself: true where the hedge account is your company Hyperliquid account, false where the account's main wallet signs it, as a trader wallet's owner does on their own device.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].builderApprovals.items.[INDEX].signedByTrdrs","typeLabel":"boolean"}},"required":["hedgeAccountId","maxFeeBps","signedByTrdrs"],"uniqueKey":"hedgingPolicies.items.[INDEX].builderApprovals.items.[INDEX]","typeLabel":"object"},"description":"For a policy with a `builder`, each hedge account the builder charges and how far it approved the builder: a step that turns the builder on is refused for any below `feeBps`. Where the hedge account is the venue's own Hyperliquid account, that step signs the approval itself first; a trader wallet's owner approves the builder on their own device. Empty for a policy with no builder.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].builderApprovals","typeLabel":"object[]"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"stateAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].stateAt","typeLabel":"string\u003cdate-time>"},"netChecks":{"oneOf":[{"type":"null","description":"On the list of policies and the hedging read: for a policy that hedges the net, by its mode or one of its rules, its checks; null for one that nets nothing.","uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.0","typeLabel":"null"},{"type":"object","description":"On the list of policies and the hedging read: for a policy that hedges the net, by its mode or one of its rules, its checks; null for one that nets nothing.","required":["money","groups"],"properties":{"money":{"type":"object","additionalProperties":false,"properties":{"hedgeAccountId":{"oneOf":[{"type":"string","description":"The hedge account the net goes into, or null until you bind one.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.hedgeAccountId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hedge account the net goes into, or null until you bind one.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.hedgeAccountId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.hedgeAccountId","typeLabel":"string | null"},"needed":{"oneOf":[{"type":"string","description":"What the hedge account needs, in US dollars, rounded up to the cent: `initialMargin`, or `maintenanceMargin` plus `lossRoom` where that is more, so it can hold every hedge and ride the traders' remaining losses down to their loss floors without Hyperliquid closing it.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.needed.oneOf.0","typeLabel":"string"},{"type":"null","description":"What the hedge account needs, in US dollars, rounded up to the cent: `initialMargin`, or `maintenanceMargin` plus `lossRoom` where that is more, so it can hold every hedge and ride the traders' remaining losses down to their loss floors without Hyperliquid closing it.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.needed.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.needed","typeLabel":"string | null"},"held":{"oneOf":[{"type":"string","description":"The hedge account's equity in US dollars or USDC, as its provider last stated it.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.held.oneOf.0","typeLabel":"string"},{"type":"null","description":"The hedge account's equity in US dollars or USDC, as its provider last stated it.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.held.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.held","typeLabel":"string | null"},"shortfall":{"oneOf":[{"type":"string","description":"How far `held` falls below `needed`; `0` when it doesn't.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.shortfall.oneOf.0","typeLabel":"string"},{"type":"null","description":"How far `held` falls below `needed`; `0` when it doesn't.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.shortfall.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.shortfall","typeLabel":"string | null"},"initialMargin":{"oneOf":[{"type":"string","description":"What Hyperliquid asks to hold each market's hedge at the leverage it is held at, added up.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.initialMargin.oneOf.0","typeLabel":"string"},{"type":"null","description":"What Hyperliquid asks to hold each market's hedge at the leverage it is held at, added up.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.initialMargin.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.initialMargin","typeLabel":"string | null"},"maintenanceMargin":{"oneOf":[{"type":"string","description":"The level Hyperliquid closes the hedge under, added up over the markets.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.maintenanceMargin.oneOf.0","typeLabel":"string"},{"type":"null","description":"The level Hyperliquid closes the hedge under, added up over the markets.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.maintenanceMargin.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.maintenanceMargin","typeLabel":"string | null"},"lossRoom":{"oneOf":[{"type":"string","description":"What the hedge account can lose as the traders the net covers lose down to their loss floors. In each market it holds, the traders whose netted position points the way the hedge does count, each with what it can still lose (its equity less its loss floor, a static floor where its stage puts it and a moving one where its risk decisions last stated it) times the share of its position netted there, and never more than the hedge itself loses over the move that takes the farthest of them to its floor. A trader on the other side counts nothing, since it gains as they lose, and a market the net leaves flat needs nothing. Each trader counts once in all.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.lossRoom.oneOf.0","typeLabel":"string"},{"type":"null","description":"What the hedge account can lose as the traders the net covers lose down to their loss floors. In each market it holds, the traders whose netted position points the way the hedge does count, each with what it can still lose (its equity less its loss floor, a static floor where its stage puts it and a moving one where its risk decisions last stated it) times the share of its position netted there, and never more than the hedge itself loses over the move that takes the farthest of them to its floor. A trader on the other side counts nothing, since it gains as they lose, and a market the net leaves flat needs nothing. Each trader counts once in all.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.lossRoom.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.lossRoom","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","enum":["hedge_account_unset","hedge_balance_unread","mark_unavailable","instrument_not_on_hedge_market","hedge_market_margin_unknown","loss_room_unknown",null],"description":"Why a figure is null: no hedge account, no single dollar balance with its equity stated, no mark for a market it holds, a market it holds that the hedge market doesn't list, a market whose margin the hedge market doesn't state, or a trader whose equity or loss floor can't be read.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["hedge_account_unset","hedge_balance_unread","mark_unavailable","instrument_not_on_hedge_market","hedge_market_margin_unknown","loss_room_unknown",null],"description":"Why a figure is null: no hedge account, no single dollar balance with its equity stated, no mark for a market it holds, a market it holds that the hedge market doesn't list, a market whose margin the hedge market doesn't state, or a trader whose equity or loss floor can't be read.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.reason","typeLabel":"enum\u003cstring> | null"},"markets":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"instrumentId":{"type":"string","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].instrumentId","typeLabel":"string"},"quantity":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].quantity","typeLabel":"string"},"markPrice":{"oneOf":[{"type":"string","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].markPrice.oneOf.0","typeLabel":"string"},{"type":"null","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].markPrice.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].markPrice","typeLabel":"string | null"},"notional":{"oneOf":[{"type":"string","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].notional.oneOf.0","typeLabel":"string"},{"type":"null","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].notional.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].notional","typeLabel":"string | null"},"leverage":{"oneOf":[{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].leverage.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].leverage.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].leverage","typeLabel":"integer | null"},"initialMargin":{"oneOf":[{"type":"string","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].initialMargin.oneOf.0","typeLabel":"string"},{"type":"null","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].initialMargin.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].initialMargin","typeLabel":"string | null"},"maintenanceMargin":{"oneOf":[{"type":"string","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].maintenanceMargin.oneOf.0","typeLabel":"string"},{"type":"null","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].maintenanceMargin.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX].maintenanceMargin","typeLabel":"string | null"}},"required":["instrumentId","quantity","markPrice","notional","leverage","initialMargin","maintenanceMargin"],"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets.items.[INDEX]","typeLabel":"object"},"description":"Each market the hedge account holds: its position, the mark it is priced at (the mark its net was last sized at), its notional in US dollars, the leverage it is held at, and the initial and maintenance margin Hyperliquid's margin table asks of it there.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money.markets","typeLabel":"object[]"}},"required":["hedgeAccountId","needed","held","shortfall","initialMargin","maintenanceMargin","lossRoom","reason","markets"],"description":"What the net's hedge account needs for what is open now, beside what it holds. Each time `held` falls below `needed`, trdrs opens an incident on the policy (`instrumentId` `*collateral`, `reason` `hedge_collateral_short`, its figures in `details`) and sends `hedge.failure` with that `reason`, once; it resolves when the account holds enough again. Hedging goes on either way: add money to the hedge account, or hedge less.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.money","typeLabel":"object"},"groups":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"groupId":{"type":"string","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.groups.items.[INDEX].groupId","typeLabel":"string"},"notMapped":{"type":"array","items":{"type":"string","uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.groups.items.[INDEX].notMapped.items.[INDEX]","typeLabel":"string"},"description":"Each market the group trades and the policy nets that its hedge market doesn't list, by your instrument id. Its trades stay on your book, unhedged, until you map it there.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.groups.items.[INDEX].notMapped","typeLabel":"string[]"},"leverage":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"instrumentId":{"type":"string","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.groups.items.[INDEX].leverage.items.[INDEX].instrumentId","typeLabel":"string"},"traderLeverage":{"type":"string","description":"The most leverage a trader of the group can use on the market, one over the least initial rate of the risk policies its accounts are held to.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.groups.items.[INDEX].leverage.items.[INDEX].traderLeverage","typeLabel":"string"},"hedgeLeverage":{"type":"integer","minimum":1,"description":"The leverage the hedge account holds the market's hedge at on the hedge market.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.groups.items.[INDEX].leverage.items.[INDEX].hedgeLeverage","typeLabel":"integer"}},"required":["instrumentId","traderLeverage","hedgeLeverage"],"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.groups.items.[INDEX].leverage.items.[INDEX]","typeLabel":"object"},"description":"Each market the policy nets, listed at its hedge market, where the group lets a trader use more leverage than the hedge is held at. The hedge account then needs more margin for the hedge than the traders post for their trades, which `money` counts.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.groups.items.[INDEX].leverage","typeLabel":"object[]"}},"required":["groupId","notMapped","leverage"],"description":"What a group that picks the policy should know. Warnings, never refusals: the group stays on the policy.","uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.groups.items.[INDEX]","typeLabel":"object"},"description":"The warnings of each group that picks the policy.","isRequired":true,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1.groups","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks.oneOf.1","typeLabel":"object"}],"uniqueKey":"hedgingPolicies.items.[INDEX].netChecks","typeLabel":"null | object"}},"required":["id","name","state","revision","versionId","terms","groups","minimumCommissionBps","builderApprovals","createdAt","stateAt"],"description":"A hedging policy you made once, picked by any of your groups. `paused` and `stopped` size and send nothing; the emergency stop stops every policy, and each resumes only when you resume it.","uniqueKey":"hedgingPolicies.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"hedgingPolicies","typeLabel":"object[]"},"targets":{"type":"array","items":{"type":"object","properties":{"leftover":{"oneOf":[{"type":"object","properties":{"quantity":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","isRequired":true,"uniqueKey":"targets.items.[INDEX].leftover.oneOf.0.quantity","typeLabel":"string"},"notional":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","isRequired":true,"uniqueKey":"targets.items.[INDEX].leftover.oneOf.0.notional","typeLabel":"string"},"minimum":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","isRequired":true,"uniqueKey":"targets.items.[INDEX].leftover.oneOf.0.minimum","typeLabel":"string"}},"required":["quantity","notional","minimum"],"description":"What a hedging policy's net leaves unhedged on this market because it is worth less than the smallest order sent there, or null for none. `minimum` is that order in US dollars: the policy's `minHedgeNotional`, or the hedge market's own minimum order value where that is larger (Hyperliquid's is $10). `quantity` is in the instrument's unit and `notional` its value at the target's mark. It is carried, not dropped: once the net adds up to `minimum`, one order hedges it with the rest. `{ \"quantity\": \"0.04\", \"notional\": \"6.12\", \"minimum\": \"10\" }` is $6.12 of SOL waiting.","uniqueKey":"targets.items.[INDEX].leftover.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"quantity":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent."},"notional":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent."},"minimum":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent."}},"required":["quantity","notional","minimum"],"description":"What a hedging policy's net leaves unhedged on this market because it is worth less than the smallest order sent there, or null for none. `minimum` is that order in US dollars: the policy's `minHedgeNotional`, or the hedge market's own minimum order value where that is larger (Hyperliquid's is $10). `quantity` is in the instrument's unit and `notional` its value at the target's mark. It is carried, not dropped: once the net adds up to `minimum`, one order hedges it with the rest. `{ \"quantity\": \"0.04\", \"notional\": \"6.12\", \"minimum\": \"10\" }` is $6.12 of SOL waiting.","uniqueKey":"targets.items.[INDEX].leftover.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.items.[INDEX].leftover","typeLabel":"object | null"}},"description":"One stored hedge calculation. The customer exposure, the target, the position confirmed at the provider, the pending orders and the rounding residual stay separate, so a retry can never double a hedge unnoticed.","uniqueKey":"targets.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"targets","typeLabel":"object[]"},"intents":{"type":"array","items":{"type":"object","description":"One hedge order derived from a target, safe to send twice. An order whose outcome is unknown stays pending, and nothing that adds exposure runs until it is reconciled.","uniqueKey":"intents.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"intents","typeLabel":"object[]"},"incidents":{"type":"array","items":{"type":"object","properties":{"entriesPaused":{"type":"boolean","description":"Whether the incident pauses new trades: true for an incident of an active policy that hedges the net, but its money check's (`*collateral`) and its script's (`*script`). While true, an order that opens or adds to a position on the market it names (every market the net hedges, for `*`, and for `*liquidation`, which the money check opens while the hedge account's value is under twice its maintenance margin and lifts only once it is clear) is refused `hedge_failed`, for each group that picks the policy.","uniqueKey":"incidents.items.[INDEX].entriesPaused","typeLabel":"boolean"}},"uniqueKey":"incidents.items.[INDEX]","typeLabel":"object"},"description":"Each open incident. An incident of a hedging policy names it in `hedgingPolicyId`, and its market in `instrumentId`.","isRequired":true,"uniqueKey":"incidents","typeLabel":"object[]"},"metrics":{"type":"object","additionalProperties":false,"properties":{"complete":{"type":"boolean","isRequired":true,"uniqueKey":"metrics.complete","typeLabel":"boolean"},"unresolvedIntents":{"type":"integer","isRequired":true,"uniqueKey":"metrics.unresolvedIntents","typeLabel":"integer"},"executions":{"type":"integer","isRequired":true,"uniqueKey":"metrics.executions","typeLabel":"integer"},"feesByCurrency":{"type":"object","additionalProperties":{"type":"string","description":"An exact decimal string, such as `\"12.5\"`, with at most 18 digits after the point and no exponent.","uniqueKey":"metrics.feesByCurrency.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"metrics.feesByCurrency","typeLabel":"object"},"slippageBps":{"oneOf":[{"type":"string","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"metrics.slippageBps.oneOf.0","typeLabel":"string"},{"type":"null","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"metrics.slippageBps.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"metrics.slippageBps","typeLabel":"string | null"},"missingFeeRecords":{"type":"integer","isRequired":true,"uniqueKey":"metrics.missingFeeRecords","typeLabel":"integer"}},"required":["complete","unresolvedIntents","executions","feesByCurrency","slippageBps","missingFeeRecords"],"isRequired":true,"uniqueKey":"metrics","typeLabel":"object"},"accounts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"accounts.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"accountId":{"type":"string","isRequired":true,"uniqueKey":"accounts.items.[INDEX].accountId","typeLabel":"string"},"hedgeAccountId":{"type":"string","isRequired":true,"uniqueKey":"accounts.items.[INDEX].hedgeAccountId","typeLabel":"string"},"connectionId":{"type":"string","format":"uuid","description":"The hedge market the hedge account is at, which hedges the instruments the policy routes to it.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].connectionId","typeLabel":"string\u003cuuid>"},"groupId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"accounts.items.[INDEX].groupId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"accounts.items.[INDEX].groupId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"accounts.items.[INDEX].groupId","typeLabel":"string | null"},"state":{"type":"string","enum":["bound","closed"],"isRequired":true,"uniqueKey":"accounts.items.[INDEX].state","typeLabel":"enum\u003cstring>"},"consecutiveFailures":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"accounts.items.[INDEX].consecutiveFailures","typeLabel":"integer"},"openingHalted":{"type":"boolean","isRequired":true,"uniqueKey":"accounts.items.[INDEX].openingHalted","typeLabel":"boolean"},"closeReason":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"accounts.items.[INDEX].closeReason.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"accounts.items.[INDEX].closeReason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"accounts.items.[INDEX].closeReason","typeLabel":"string | null"},"boundAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"accounts.items.[INDEX].boundAt","typeLabel":"string\u003cdate-time>"},"closedAt":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"accounts.items.[INDEX].closedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"accounts.items.[INDEX].closedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"accounts.items.[INDEX].closedAt","typeLabel":"string\u003cdate-time> | null"},"policyId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"accounts.items.[INDEX].policyId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"accounts.items.[INDEX].policyId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"accounts.items.[INDEX].policyId","typeLabel":"string | null"},"copyRatio":{"oneOf":[{"type":"string","description":"The share of the account's position its hedge account holds, or null where it cannot be stated.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].copyRatio.oneOf.0","typeLabel":"string"},{"type":"null","description":"The share of the account's position its hedge account holds, or null where it cannot be stated.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].copyRatio.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"accounts.items.[INDEX].copyRatio","typeLabel":"string | null"},"hedgeBudget":{"oneOf":[{"type":"string","description":"What the trader paid, in US dollars, under the `budget` basis.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].hedgeBudget.oneOf.0","typeLabel":"string"},{"type":"null","description":"What the trader paid, in US dollars, under the `budget` basis.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].hedgeBudget.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"accounts.items.[INDEX].hedgeBudget","typeLabel":"string | null"},"maxLoss":{"oneOf":[{"type":"string","description":"How much the account can lose before its stage's drawdown rule fails it, in US dollars.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].maxLoss.oneOf.0","typeLabel":"string"},{"type":"null","description":"How much the account can lose before its stage's drawdown rule fails it, in US dollars.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].maxLoss.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"accounts.items.[INDEX].maxLoss","typeLabel":"string | null"},"collateral":{"type":"object","additionalProperties":false,"properties":{"required":{"oneOf":[{"type":"string","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.required.oneOf.0","typeLabel":"string"},{"type":"null","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.required.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.required","typeLabel":"string | null"},"mostMargin":{"oneOf":[{"type":"string","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.mostMargin.oneOf.0","typeLabel":"string"},{"type":"null","description":"An exact decimal string, or null where this layer sets no limit.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.mostMargin.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.mostMargin","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.reason.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.reason","typeLabel":"string | null"},"evidence":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"instrumentId":{"type":"string","isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.evidence.items.[INDEX].instrumentId","typeLabel":"string"},"readingId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.evidence.items.[INDEX].readingId","typeLabel":"string\u003cuuid>"},"readAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.evidence.items.[INDEX].readAt","typeLabel":"string\u003cdate-time>"},"evidence":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"terms":{"type":"array","items":{"type":"string","uniqueKey":"accounts.items.[INDEX].collateral.evidence.items.[INDEX].evidence.items.[INDEX].terms.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.evidence.items.[INDEX].evidence.items.[INDEX].terms","typeLabel":"string[]"},"kind":{"type":"string","enum":["api","document"],"isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.evidence.items.[INDEX].evidence.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"reference":{"type":"string","isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.evidence.items.[INDEX].evidence.items.[INDEX].reference","typeLabel":"string"},"readAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.evidence.items.[INDEX].evidence.items.[INDEX].readAt","typeLabel":"string\u003cdate-time>"}},"required":["terms","kind","reference","readAt"],"uniqueKey":"accounts.items.[INDEX].collateral.evidence.items.[INDEX].evidence.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral.evidence.items.[INDEX].evidence","typeLabel":"object[]"}},"required":["instrumentId","readingId","readAt","evidence"],"uniqueKey":"accounts.items.[INDEX].collateral.evidence.items.[INDEX]","typeLabel":"object"},"description":"For each instrument it priced, the hedge market's symbol list reading the margin came from, with the provider's evidence of where and when it read it.","uniqueKey":"accounts.items.[INDEX].collateral.evidence","typeLabel":"object[]"}},"required":["required","mostMargin","reason"],"description":"The hedge collateral the hedge account must hold, in US dollars: the copy ratio times (`mostMargin`, the initial margin its connection's tiers ask for the largest positions the account can hold, under your leverage and notional limits, in the instruments that connection hedges, plus the max loss). Where the account's stage states `marginAboveFloor`, the account opens positions on its max loss alone, so `mostMargin` is sized from the max loss and the hedge account holds the larger of the two, not their sum, times the copy ratio. `required` is null, with `reason`, where a figure it needs is not stated: `hedge_market_margin_unknown`, `instrument_not_on_hedge_market`, `margin_not_comparable`, `max_loss_unknown`, `hedge_budget_missing`, `risk_policy_unbound`, `policy_not_account_mode` or `binding_closed`.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].collateral","typeLabel":"object"}},"required":["id","accountId","hedgeAccountId","connectionId","groupId","state","consecutiveFailures","openingHalted","closeReason","boundAt","closedAt","policyId","copyRatio","hedgeBudget","maxLoss","collateral"],"uniqueKey":"accounts.items.[INDEX]","typeLabel":"object"},"description":"Each binding of a customer account to its own hedge account at a hedge market, newest first.","isRequired":true,"uniqueKey":"accounts","typeLabel":"object[]"},"exchanges":{"type":"object","additionalProperties":false,"properties":{"exchanges":{"type":"array","items":{"type":"string","uniqueKey":"exchanges.exchanges.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"exchanges.exchanges","typeLabel":"string[]"},"unstated":{"type":"array","items":{"type":"string","uniqueKey":"exchanges.unstated.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"exchanges.unstated","typeLabel":"string[]"},"mixed":{"type":"boolean","isRequired":true,"uniqueKey":"exchanges.mixed","typeLabel":"boolean"},"hedgeMarkets":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"connectionId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"exchanges.hedgeMarkets.items.[INDEX].connectionId","typeLabel":"string\u003cuuid>"},"notMapped":{"type":"array","items":{"type":"string","uniqueKey":"exchanges.hedgeMarkets.items.[INDEX].notMapped.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"exchanges.hedgeMarkets.items.[INDEX].notMapped","typeLabel":"string[]"}},"required":["connectionId","notMapped"],"uniqueKey":"exchanges.hedgeMarkets.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"exchanges.hedgeMarkets","typeLabel":"object[]"},"notOnHedgeMarket":{"type":"boolean","isRequired":true,"uniqueKey":"exchanges.notOnHedgeMarket","typeLabel":"boolean"}},"required":["exchanges","unstated","mixed","hedgeMarkets","notOnHedgeMarket"],"description":"The exchanges your activated instruments list on. `mixed` warns that they list on more than one, and `notOnHedgeMarket` that some are not mapped at the hedge market of a policy that copies or nets them, named in `hedgeMarkets[].notMapped`; one a policy nets there stays on your book, unhedged. `unstated` names instruments whose symbol names no exchange.","isRequired":true,"uniqueKey":"exchanges","typeLabel":"object"}},"required":["policies","activations","hedgingPolicies","targets","intents","incidents","metrics","accounts","exchanges"],"example":{"policies":[],"activations":[],"hedgingPolicies":[],"targets":[],"intents":[],"incidents":[],"metrics":{"complete":true,"unresolvedIntents":0,"executions":0,"feesByCurrency":{},"slippageBps":null,"missingFeeRecords":0},"accounts":[],"exchanges":{"exchanges":["HYPERLIQUID"],"unstated":[],"mixed":false,"hedgeMarkets":[],"notOnHedgeMarket":false}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"policies":[],"activations":[],"hedgingPolicies":[],"targets":[],"intents":[],"incidents":[],"metrics":{"complete":true,"unresolvedIntents":0,"executions":0,"feesByCurrency":{},"slippageBps":null,"missingFeeRecords":0},"accounts":[],"exchanges":{"exchanges":["HYPERLIQUID"],"unstated":[],"mixed":false,"hedgeMarkets":[],"notOnHedgeMarket":false}}}},"exampleType":"generated"}},"exampleType":"generated"},"6bfd7a10-0e27-481c-b1cf-d137b72dbc99":{"description":"The request is malformed: invalid JSON or input, a bad cursor, or a missing `Idempotency-Key` or `If-Match` header. When one value is refused, `field` names it where the check can say which.","content":{"application/json":{"schema":{"type":"object","description":"The body of every error response. It always carries `error`, an English sentence you can show. A refused trading request also carries `code`, one of the refusal codes, and `params`, the details of that refusal. Translate by `code` and `params`, and show a generic message for a code you don't recognize. Other errors may carry a `code` of their own.","properties":{"error":{"type":"string","description":"What went wrong, as an English sentence.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable machine code. On a refused trading request, it is one of the refusal codes.","uniqueKey":"code","typeLabel":"string"},"params":{"type":"object","description":"The details of the refusal named by `code`, on a refused trading request.","uniqueKey":"params","typeLabel":"object"}},"required":["error"],"example":{"error":"invalid_instrument"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"invalid_instrument"}}},"exampleType":"generated"}},"exampleType":"generated"},"1f9bdeee-ff9a-4525-80fe-c54034536b16":{"description":"The Venue key or the session is missing, malformed, revoked or expired.","content":{"application/json":{"schema":{"type":"object","description":"The body of every error response. It always carries `error`, an English sentence you can show. A refused trading request also carries `code`, one of the refusal codes, and `params`, the details of that refusal. Translate by `code` and `params`, and show a generic message for a code you don't recognize. Other errors may carry a `code` of their own.","properties":{"error":{"type":"string","description":"What went wrong, as an English sentence.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable machine code. On a refused trading request, it is one of the refusal codes.","uniqueKey":"code","typeLabel":"string"},"params":{"type":"object","description":"The details of the refusal named by `code`, on a refused trading request.","uniqueKey":"params","typeLabel":"object"}},"required":["error"],"example":{"error":"invalid_instrument"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"invalid_instrument"}}},"exampleType":"generated"}},"exampleType":"generated"},"3f934bb9-f5e5-4a72-b256-aa18969f5cad":{"description":"The credential is valid but can't do this: the key lacks the scope or its creator is no longer an owner, the email isn't verified, a reader tried to write, or the request came from an origin that isn't trusted.","content":{"application/json":{"schema":{"type":"object","description":"The body of every error response. It always carries `error`, an English sentence you can show. A refused trading request also carries `code`, one of the refusal codes, and `params`, the details of that refusal. Translate by `code` and `params`, and show a generic message for a code you don't recognize. Other errors may carry a `code` of their own.","properties":{"error":{"type":"string","description":"What went wrong, as an English sentence.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable machine code. On a refused trading request, it is one of the refusal codes.","uniqueKey":"code","typeLabel":"string"},"params":{"type":"object","description":"The details of the refusal named by `code`, on a refused trading request.","uniqueKey":"params","typeLabel":"object"}},"required":["error"],"example":{"error":"invalid_instrument"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"invalid_instrument"}}},"exampleType":"generated"}},"exampleType":"generated"},"a2e33898-bbb1-4e35-acd4-de00da4653ac":{"description":"The venue, account or resource doesn't exist in this environment, or isn't yours to see.","content":{"application/json":{"schema":{"type":"object","description":"The body of every error response. It always carries `error`, an English sentence you can show. A refused trading request also carries `code`, one of the refusal codes, and `params`, the details of that refusal. Translate by `code` and `params`, and show a generic message for a code you don't recognize. Other errors may carry a `code` of their own.","properties":{"error":{"type":"string","description":"What went wrong, as an English sentence.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable machine code. On a refused trading request, it is one of the refusal codes.","uniqueKey":"code","typeLabel":"string"},"params":{"type":"object","description":"The details of the refusal named by `code`, on a refused trading request.","uniqueKey":"params","typeLabel":"object"}},"required":["error"],"example":{"error":"invalid_instrument"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"invalid_instrument"}}},"exampleType":"generated"}},"exampleType":"generated"},"a77a348a-e409-43f2-93ca-8bf2b5cc97a3":{"description":"The request conflicts with what is stored: the `Idempotency-Key` was used with a different body, or the version you sent is stale. The `error` code names the conflict.","content":{"application/json":{"schema":{"type":"object","description":"The body of every error response. It always carries `error`, an English sentence you can show. A refused trading request also carries `code`, one of the refusal codes, and `params`, the details of that refusal. Translate by `code` and `params`, and show a generic message for a code you don't recognize. Other errors may carry a `code` of their own.","properties":{"error":{"type":"string","description":"What went wrong, as an English sentence.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable machine code. On a refused trading request, it is one of the refusal codes.","uniqueKey":"code","typeLabel":"string"},"params":{"type":"object","description":"The details of the refusal named by `code`, on a refused trading request.","uniqueKey":"params","typeLabel":"object"}},"required":["error"],"example":{"error":"invalid_instrument"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"invalid_instrument"}}},"exampleType":"generated"}},"exampleType":"generated"},"6fa9cbcb-720f-4d05-9509-a49ead830a4c":{"description":"The body is larger than this route accepts.","content":{"application/json":{"schema":{"type":"object","description":"The body of every error response. It always carries `error`, an English sentence you can show. A refused trading request also carries `code`, one of the refusal codes, and `params`, the details of that refusal. Translate by `code` and `params`, and show a generic message for a code you don't recognize. Other errors may carry a `code` of their own.","properties":{"error":{"type":"string","description":"What went wrong, as an English sentence.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable machine code. On a refused trading request, it is one of the refusal codes.","uniqueKey":"code","typeLabel":"string"},"params":{"type":"object","description":"The details of the refusal named by `code`, on a refused trading request.","uniqueKey":"params","typeLabel":"object"}},"required":["error"],"example":{"error":"invalid_instrument"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"invalid_instrument"}}},"exampleType":"generated"}},"exampleType":"generated"},"8491b54c-4f81-441e-9874-c26a5d50ac81":{"description":"Send the body as JSON, with `Content-Type: application/json`.","content":{"application/json":{"schema":{"type":"object","description":"The body of every error response. It always carries `error`, an English sentence you can show. A refused trading request also carries `code`, one of the refusal codes, and `params`, the details of that refusal. Translate by `code` and `params`, and show a generic message for a code you don't recognize. Other errors may carry a `code` of their own.","properties":{"error":{"type":"string","description":"What went wrong, as an English sentence.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable machine code. On a refused trading request, it is one of the refusal codes.","uniqueKey":"code","typeLabel":"string"},"params":{"type":"object","description":"The details of the refusal named by `code`, on a refused trading request.","uniqueKey":"params","typeLabel":"object"}},"required":["error"],"example":{"error":"invalid_instrument"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"invalid_instrument"}}},"exampleType":"generated"}},"exampleType":"generated"},"4e983d14-af34-4876-877a-a19a1f03b964":{"description":"trdrs can't complete the request right now, because a part of the venue platform or its credential store is unavailable. Don't assume a write happened: retry it with the same `Idempotency-Key`.","content":{"application/json":{"schema":{"type":"object","description":"The body of every error response. It always carries `error`, an English sentence you can show. A refused trading request also carries `code`, one of the refusal codes, and `params`, the details of that refusal. Translate by `code` and `params`, and show a generic message for a code you don't recognize. Other errors may carry a `code` of their own.","properties":{"error":{"type":"string","description":"What went wrong, as an English sentence.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable machine code. On a refused trading request, it is one of the refusal codes.","uniqueKey":"code","typeLabel":"string"},"params":{"type":"object","description":"The details of the refusal named by `code`, on a refused trading request.","uniqueKey":"params","typeLabel":"object"}},"required":["error"],"example":{"error":"invalid_instrument"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"invalid_instrument"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"01feb536-3056-4ac3-98b6-12358f9c537b":{"venueKey":{"type":"http","scheme":"bearer","description":"The Venue key (`trdrs_vk_sandbox_…` or `trdrs_vk_production_…`), in preview. It belongs to one venue in one environment and carries the scopes it was created with. The venue's verified owner creates it while signed in. It works on the `/api/venues/{venueId}` routes and, with `trader:read` or `trader:trade`, on the account, market and trading routes, reading the venue's own traders' accounts and routing their orders, each request naming its trader in `x-trdrs-trader`. A `trdrs_sk_…` key can't be used in its place. It reaches its venue's routes and its venue's own traders, and the owner manages keys from a signed-in session. Keep it on your server.","scopes":[],"schemeName":"venueKey"}}},"servers":{"ae12e78d-5b76-484a-90c7-582692fdc51b":{"url":"https://app.trdrs.co","description":"Production"},"1196bb3c-7874-4e34-96eb-cbfba23bf309":{"url":"/","description":"This engine"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"The Venue key (`trdrs_vk_sandbox_…` or `trdrs_vk_production_…`), in preview. It belongs to one venue in one environment and carries the scopes it was created with. The venue's verified owner creates it while signed in. It works on the `/api/venues/{venueId}` routes and, with `trader:read` or `trader:trade`, on the account, market and trading routes, reading the venue's own traders' accounts and routing their orders, each request naming its trader in `x-trdrs-trader`. A `trdrs_sk_…` key can't be used in its place. It reaches its venue's routes and its venue's own traders, and the owner manages keys from a signed-in session. Keep it on your server.","scopes":[],"schemeName":"venueKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"The Venue key (`trdrs_vk_sandbox_…` or `trdrs_vk_production_…`), in preview. It belongs to one venue in one environment and carries the scopes it was created with. The venue's verified owner creates it while signed in. It works on the `/api/venues/{venueId}` routes and, with `trader:read` or `trader:trade`, on the account, market and trading routes, reading the venue's own traders' accounts and routing their orders, each request naming its trader in `x-trdrs-trader`. A `trdrs_sk_…` key can't be used in its place. It reaches its venue's routes and its venue's own traders, and the owner manages keys from a signed-in session. Keep it on your server.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"venueKey","name":"Authorization"}],"title":"venueKey"}]},"originalFileLocation":"api/openapi.json"},"subdomain":"trdrs","siteName":"trdrs Engine API","title":"Read venue hedge state - trdrs Engine API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T23:12:28.213Z","originalFileLocation":"api-reference/venue-platform-preview/read-venue-hedge-state.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Reads your hedging: the policies and their states, each target, the position confirmed at the provider, what is pending, the rounding residual and any open incident, each reported separately. Each hedging policy that hedges the net carries its checks in netChecks: its money check, priced at the marks its net was last sized at, and the warnings of each group that picks it. A hedge is a trade on your own provider account and never changes a customer\u0026#x27;s fill or balance. Required scope: hedge:read. Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"trdrs Engine API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trdrs/Mc3uPNp5t9BqWGNO/_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/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trdrs/Mc3uPNp5t9BqWGNO/_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/trdrs/Mc3uPNp5t9BqWGNO/_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/trdrs/Mc3uPNp5t9BqWGNO/_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/trdrs/Mc3uPNp5t9BqWGNO/_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/trdrs/Mc3uPNp5t9BqWGNO/_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/trdrs/Mc3uPNp5t9BqWGNO/_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/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Read venue hedge state - trdrs Engine API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Reads your hedging: the policies and their states, each target, the position confirmed at the provider, what is pending, the rounding residual and any open incident, each reported separately. Each hedging policy that hedges the net carries its checks in netChecks: its money check, priced at the marks its net was last sized at, and the warnings of each group that picks it. A hedge is a trade on your own provider account and never changes a customer\u0026#x27;s fill or balance. Required scope: hedge:read. Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"trdrs Engine API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trdrs.co/api-reference/venue-platform-preview/read-venue-hedge-state\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trdrs.mintlify.site/_mintlify/api/og/v2?division=Hedging\u0026amp;title=Read+venue+hedge+state\u0026amp;description=Reads+your+hedging%3A+the+policies+and+their+states%2C+each+target%2C+the+position+confirmed+at+the+provider%2C+what+is+pending%2C+the+rounding+residual+and+any+open+inci\u0026amp;theme=3bd9f87370d484741ebee58e\u0026amp;signature=d3d8c8d6267a648cebabb59826676028a0bc053d71265a1611b0dafbc9b385d8\">\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=\"Read venue hedge state - trdrs Engine API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Reads your hedging: the policies and their states, each target, the position confirmed at the provider, what is pending, the rounding residual and any open incident, each reported separately. Each hedging policy that hedges the net carries its checks in netChecks: its money check, priced at the marks its net was last sized at, and the warnings of each group that picks it. A hedge is a trade on your own provider account and never changes a customer\u0026#x27;s fill or balance. Required scope: hedge:read. Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trdrs.mintlify.site/_mintlify/api/og/v2?division=Hedging\u0026amp;title=Read+venue+hedge+state\u0026amp;description=Reads+your+hedging%3A+the+policies+and+their+states%2C+each+target%2C+the+position+confirmed+at+the+provider%2C+what+is+pending%2C+the+rounding+residual+and+any+open+inci\u0026amp;theme=3bd9f87370d484741ebee58e\u0026amp;signature=d3d8c8d6267a648cebabb59826676028a0bc053d71265a1611b0dafbc9b385d8\">\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/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"trdrs Engine API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0a0a0a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trdrs.co/api-reference/venue-platform-preview/read-venue-hedge-state\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/venue-platform-preview/read-venue-hedge-state.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.trdrs.co/#organization\",\"name\":\"trdrs Engine API\",\"url\":\"https://docs.trdrs.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trdrs/VlyBylpRulgoNVYk/logo.svg?fit=max\u0026auto=format\u0026n=VlyBylpRulgoNVYk\u0026q=85\u0026s=0725a6173d2c03859de4fc3b0a99ea50\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.trdrs.co#website\",\"name\":\"trdrs Engine API\",\"url\":\"https://docs.trdrs.co\",\"publisher\":{\"@id\":\"https://docs.trdrs.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.trdrs.co/api-reference/venue-platform-preview/read-venue-hedge-state#webpage\",\"url\":\"https://docs.trdrs.co/api-reference/venue-platform-preview/read-venue-hedge-state\",\"name\":\"Read venue hedge state\",\"description\":\"Reads your hedging: the policies and their states, each target, the position confirmed at the provider, what is pending, the rounding residual and any open incident, each reported separately. Each hedging policy that hedges the net carries its checks in netChecks: its money check, priced at the marks its net was last sized at, and the warnings of each group that picks it. A hedge is a trade on your own provider account and never changes a customer's fill or balance. Required scope: hedge:read. Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.\",\"dateModified\":\"2026-11-24T23:12:28.213Z\",\"isPartOf\":{\"@id\":\"https://docs.trdrs.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trdrs.co/api-reference/venue-platform-preview/read-venue-hedge-state#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trdrs.co/api-reference/venue-platform-preview/read-venue-hedge-state#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.trdrs.co/api-reference/market-data/get-market-data-limits\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Venues\",\"item\":\"https://docs.trdrs.co/api-reference/venue-platform-preview/read-a-venue\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Read venue hedge state\",\"item\":\"https://docs.trdrs.co/api-reference/venue-platform-preview/read-venue-hedge-state\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trdrs.co/api-reference/venue-platform-preview/read-venue-hedge-state#apireference\",\"headline\":\"Read venue hedge state\",\"name\":\"Read venue hedge state\",\"description\":\"Reads your hedging: the policies and their states, each target, the position confirmed at the provider, what is pending, the rounding residual and any open incident, each reported separately. Each hedging policy that hedges the net carries its checks in netChecks: its money check, priced at the marks its net was last sized at, and the warnings of each group that picks it. A hedge is a trade on your own provider account and never changes a customer's fill or balance. Required scope: hedge:read. Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.\",\"url\":\"https://docs.trdrs.co/api-reference/venue-platform-preview/read-venue-hedge-state\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trdrs.co/api-reference/venue-platform-preview/read-venue-hedge-state#webpage\"},\"dateModified\":\"2026-11-24T23:12:28.213Z\",\"publisher\":{\"@id\":\"https://docs.trdrs.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.trdrs.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"trdrs Engine API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"trdrs Engine API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/venue-platform-preview/read-venue-hedge-state.md","siteName":"trdrs Engine API","nav":{"global":null,"tabs":[{"tab":"Get started","pages":[{"title":"Get started","href":""}]},{"tab":"Guides","dropdowns":[{"dropdown":"Programmatic trading","icon":"code","description":"Trade accounts you hold","groups":[{"group":"Start here","pages":[{"title":"Programmatic trading quickstart","href":"/guides/programmatic-quickstart"}]},{"group":"Trading","pages":[{"title":"Trading overview","sidebarTitle":"Overview","href":"/guides/trading-overview"},{"title":"Place your first order","sidebarTitle":"Place an order","href":"/guides/place-your-first-order"},{"title":"Protect a position","sidebarTitle":"Protect a position","href":"/guides/protect-a-position"},{"title":"Manage working orders","sidebarTitle":"Manage working orders","href":"/guides/manage-working-orders"},{"title":"Close a position","sidebarTitle":"Close a position","href":"/guides/close-a-position"},{"title":"Trade with leverage","sidebarTitle":"Trade with leverage","href":"/guides/trade-with-leverage"},{"title":"Track fills and P\u0026L","sidebarTitle":"Track fills and P\u0026L","href":"/guides/track-fills-and-pnl"}]}]},{"dropdown":"Market data","icon":"chart-line","description":"Read prices, history and streams","pages":[{"title":"Market data overview","sidebarTitle":"Overview","href":"/guides/market-data-overview"},{"title":"Find symbols","sidebarTitle":"Find symbols","href":"/guides/find-symbols"},{"title":"Backfill history","sidebarTitle":"Backfill history","href":"/guides/backfill-history"},{"title":"Stream live market data","sidebarTitle":"Stream live data","href":"/guides/stream-live-data"}]},{"dropdown":"Connect","icon":"link","description":"Build your own trading interface","groups":[{"group":"Start here","pages":[{"title":"Connect","sidebarTitle":"Overview","href":"/guides/connect-overview"},{"title":"Connect quickstart","sidebarTitle":"Quickstart","href":"/guides/connect-quickstart"}]},{"group":"Build","pages":[{"title":"Route your traders' orders","sidebarTitle":"Route your traders' orders","href":"/guides/route-your-traders-orders"},{"title":"Choose your tiles and white-label paper","sidebarTitle":"Tiles and white-label paper","href":"/guides/connect-tiles-and-paper"}]},{"group":"Go live","pages":[{"title":"Pass Connect conformance","sidebarTitle":"Pass conformance","href":"/guides/connect-conformance"},{"title":"Billing for Connect apps","sidebarTitle":"Billing","href":"/guides/connect-billing"},{"title":"Active traders and billing","sidebarTitle":"Active traders","href":"/guides/connect-active-traders"}]}]},{"dropdown":"Venues","icon":"building","description":"Run a prop firm or brokerage","groups":[{"group":"Start here","pages":[{"title":"Prop firms","sidebarTitle":"Prop firms","href":"/guides/prop-firms-overview"},{"title":"Brokerages","sidebarTitle":"Brokerages","href":"/guides/brokerages-overview"},{"title":"Venue quickstart","href":"/guides/business-quickstart"},{"title":"Evaluation quickstart","href":"/quickstart"},{"title":"What your traders get","sidebarTitle":"What your traders get","href":"/what-your-traders-get"}]},{"group":"Set up your venue","pages":[{"title":"Run a venue end to end","sidebarTitle":"Run a venue","href":"/guides/run-a-venue"},{"title":"Add a provider's markets","sidebarTitle":"Provider markets","href":"/guides/add-provider-markets"},{"title":"Venue keys","sidebarTitle":"Venue keys","href":"/guides/venue-keys"},{"title":"Back Office","href":"/guides/back-office"},{"title":"Venue settings","sidebarTitle":"Venue settings","href":"/guides/back-office-settings"}]},{"group":"Run accounts","pages":[{"title":"Venue accounts","sidebarTitle":"Accounts","href":"/guides/venue-accounts"},{"title":"Put accounts into groups with tags","sidebarTitle":"Groups by tag","href":"/guides/put-accounts-into-groups-with-tags"},{"title":"Send your traders to the trading platform","sidebarTitle":"Send traders to trade","href":"/guides/send-traders-to-the-trading-platform"},{"title":"Paper accounts on provider contracts","href":"/guides/paper-provider-contracts"},{"title":"Hedge venue exposure","sidebarTitle":"Hedging","href":"/guides/venue-hedging"},{"title":"Account analytics","sidebarTitle":"Account analytics","href":"/guides/firm-analytics"},{"title":"Read your usage","sidebarTitle":"Read your usage","href":"/guides/read-your-usage"},{"title":"Receive events on your server","sidebarTitle":"Receive events","href":"/guides/receive-events"}]},{"group":"Connect pre-registration","pages":[{"title":"Show your venue in Connect","href":"/guides/get-listed"},{"title":"Register an account","sidebarTitle":"Register an account","href":"/guides/register-an-account"},{"title":"Follow registrations","sidebarTitle":"Follow registrations","href":"/guides/handle-registration-events"}]},{"group":"Check your integration","pages":[{"title":"Venue requirements","href":"/providers/requirements"},{"title":"Run venue conformance","href":"/providers/test-evidence"},{"title":"Use your results","href":"/providers/submission"}]}]},{"dropdown":"Providers","icon":"plug","description":"Connect or build a provider","groups":[{"group":"Start here","pages":[{"title":"Providers overview","sidebarTitle":"Overview","href":"/providers/overview"}]},{"group":"Connect a provider","pages":[{"title":"Connect a provider","sidebarTitle":"Connect and promote","href":"/providers/connections"}]},{"group":"Give your traders data","pages":[{"title":"Provider data","sidebarTitle":"Provider data","href":"/guides/venue-data"},{"title":"Publish a datafeed to your traders","sidebarTitle":"Publish a datafeed","href":"/guides/publish-a-datafeed"}]},{"group":"Add your own provider","pages":[{"title":"Add your own provider","sidebarTitle":"Add your own provider","href":"/providers/build-a-provider"},{"title":"Serve prices and symbols","sidebarTitle":"Serve prices and symbols","href":"/providers/serve-market-data"}]},{"group":"Test and qualify","pages":[{"title":"Provider conformance","href":"/providers/provider-conformance"},{"title":"Run a testnet provider","href":"/guides/run-a-testnet-provider"}]}]},{"dropdown":"Trading interfaces","icon":"display-code","description":"Build your own trading screens","pages":[{"title":"Build a front end","sidebarTitle":"Build a front end","href":"/guides/build-a-front-end"},{"title":"Build a trader app","sidebarTitle":"Build a trader app","href":"/guides/build-a-trader-app"}]}]},{"tab":"API reference","groups":[{"group":"Start here","pages":[{"title":"API reference overview","sidebarTitle":"Overview","href":"/api/overview"}]},{"group":"Endpoints","pages":[{"group":"Market data","pages":[{"group":"Prices and symbols","pages":[{"title":"Get market-data limits","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/config","href":"/api-reference/market-data/get-market-data-limits"},{"title":"Search the symbol catalog","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/symbols","href":"/api-reference/market-data/search-the-symbol-catalog"},{"title":"Get symbol details","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/symbol-info","href":"/api-reference/market-data/get-symbol-details"},{"title":"List the perpetuals exchanges' market lists register","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/perpetuals","href":"/api-reference/market-data/list-the-perpetuals-exchanges-market-lists-register"},{"title":"Get the futures catalog","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/instruments","href":"/api-reference/market-data/get-the-futures-catalog"},{"title":"Get server time","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/time","href":"/api-reference/market-data/get-server-time"},{"title":"Get price history","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/history","href":"/api-reference/market-data/get-price-history"},{"title":"Get quote snapshots","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/quotes","href":"/api-reference/market-data/get-quote-snapshots"},{"title":"Stream live bars","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/stream","href":"/api-reference/market-data/stream-live-bars"},{"title":"Stream multiplexed live bars","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/streams","href":"/api-reference/market-data/stream-multiplexed-live-bars"},{"title":"Get a stock or exchange logo","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/logos/{kind}/{id}","href":"/api-reference/market-data/get-a-stock-or-exchange-logo"}]},{"group":"News and calendar","pages":[{"title":"List news headlines","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/news","href":"/api-reference/news/list-news-headlines"},{"title":"Get a news image","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/news/image/{id}","href":"/api-reference/news/get-a-news-image"},{"title":"List calendar events","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/calendar","href":"/api-reference/news/list-calendar-events"},{"title":"Stream news","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/news/stream","href":"/api-reference/news/stream-news"},{"title":"Stream calendar updates","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/calendar/stream","href":"/api-reference/news/stream-calendar-updates"}]}]},{"group":"Trading","pages":[{"group":"Orders","pages":[{"title":"Get the net position","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/trading/position","href":"/api-reference/trading/get-the-net-position"},{"title":"Get what the account may do","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/trading/actions","href":"/api-reference/trading/get-what-the-account-may-do"},{"title":"Match a market for an account","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/trading/match","href":"/api-reference/trading/match-a-market-for-an-account"},{"title":"Preview order margin","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/margin-preview","href":"/api-reference/trading/preview-order-margin"},{"title":"Size an order in money","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/order-size","href":"/api-reference/trading/size-an-order-in-money"},{"title":"Get leverage and margin mode","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/trading/symbol-config","href":"/api-reference/trading/get-leverage-and-margin-mode"},{"title":"Set leverage","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/trading/symbol-config","href":"/api-reference/trading/set-leverage"},{"title":"Set margin mode","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/trading/margin-mode","href":"/api-reference/trading/set-margin-mode"},{"title":"Place an order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/order","href":"/api-reference/trading/place-an-order"},{"title":"Replace an order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/replace","href":"/api-reference/trading/replace-an-order"},{"title":"Cancel an order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/cancel","href":"/api-reference/trading/cancel-an-order"},{"title":"Cancel all working orders","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/cancel-all","href":"/api-reference/trading/cancel-all-working-orders"},{"title":"Protect a position","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/exits","href":"/api-reference/trading/protect-a-position"},{"title":"Change a bracket","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/trading/exits/{id}","href":"/api-reference/trading/change-a-bracket"},{"title":"Withdraw a bracket","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/trading/exits/{id}","href":"/api-reference/trading/withdraw-a-bracket"},{"title":"Close part of a position","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/close","href":"/api-reference/trading/close-part-of-a-position"},{"title":"Flatten a position","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/flatten","href":"/api-reference/trading/flatten-a-position"},{"title":"Flatten the account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/flatten-account","href":"/api-reference/trading/flatten-the-account"},{"title":"Reverse a position","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/reverse","href":"/api-reference/trading/reverse-a-position"}]},{"group":"Account state","pages":[{"title":"List accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/list","href":"/api-reference/account/list-accounts"},{"title":"List the markets an account trades","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/markets","href":"/api-reference/account/list-the-markets-an-account-trades"},{"title":"Get the account summary","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/summary","href":"/api-reference/account/get-the-account-summary"},{"title":"Get the account snapshot","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/snapshot","href":"/api-reference/account/get-the-account-snapshot"},{"title":"List open positions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/positions","href":"/api-reference/account/list-open-positions"},{"title":"List closed positions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/positions/closed","href":"/api-reference/account/list-closed-positions"},{"title":"List orders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/orders","href":"/api-reference/account/list-orders"},{"title":"List order history","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/orders/history","href":"/api-reference/account/list-order-history"},{"title":"List fills for an instrument","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/executions","href":"/api-reference/account/list-fills-for-an-instrument"},{"title":"List charges stated apart from fills","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/charges","href":"/api-reference/account/list-charges-stated-apart-from-fills"},{"title":"Get daily P\u0026L history","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/pnl/history","href":"/api-reference/account/get-daily-p\u0026l-history"},{"title":"Get recorded portfolio value","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/portfolio/history","href":"/api-reference/account/get-recorded-portfolio-value"},{"title":"List closed round trips","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/pnl/round-trips","href":"/api-reference/account/list-closed-round-trips"},{"title":"Get trading analytics","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/analytics","href":"/api-reference/account/get-trading-analytics"},{"title":"List brackets","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/brackets","href":"/api-reference/account/list-brackets"},{"title":"Stream account updates","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/stream","href":"/api-reference/account/stream-account-updates"},{"title":"Get history sync status","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/sync-status","href":"/api-reference/account/get-history-sync-status"}]},{"group":"Evaluation programs","pages":[{"title":"List evaluation programs","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/challenges","href":"/api-reference/challenges/list-evaluation-programs"},{"title":"Create an enrollment","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/challenges/enroll","href":"/api-reference/challenges/create-an-enrollment"},{"title":"List your enrollments","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/enrollments","href":"/api-reference/challenges/list-your-enrollments"},{"title":"List enrollment events","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/enrollments/events","href":"/api-reference/challenges/list-enrollment-events"}]}]},{"group":"Connect","pages":[{"title":"List the built-in providers and how each is signed into","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/connect/providers","href":"/api-reference/connect/list-the-built-in-providers-and-how-each-is-signed-into"},{"title":"List Connect’s tiles","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/connect/tiles","href":"/api-reference/connect/list-connect’s-tiles"},{"group":"Connect links","pages":[{"title":"Create a Connect link","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/connect/links","href":"/api-reference/connect-apps-preview/create-a-connect-link"},{"title":"Read a Connect link","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/connect/links/{linkId}","href":"/api-reference/connect-apps-preview/read-a-connect-link"},{"title":"Close a Connect link","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/connect/links/{linkId}","href":"/api-reference/connect-apps-preview/close-a-connect-link"}]},{"group":"Hosted Connect's own routes","pages":[{"title":"Mount a Connect link token","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/connect-link/mount","href":"/api-reference/connect-apps-preview/mount-a-connect-link-token"},{"title":"List the tiles a Connect session offers","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/connect-link/sessions/{sessionId}/tiles","href":"/api-reference/connect-apps-preview/list-the-tiles-a-connect-session-offers"},{"title":"List a trader's provider connections","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/connect-link/sessions/{sessionId}/providers","href":"/api-reference/connect-apps-preview/list-a-traders-provider-connections"},{"title":"Open white-label paper in Connect","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/connect-link/sessions/{sessionId}/paper","href":"/api-reference/connect-apps-preview/open-white-label-paper-in-connect"},{"title":"Start a provider sign-in window","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/connect-link/sessions/{sessionId}/oauth/{provider}","href":"/api-reference/connect-apps-preview/start-a-provider-sign-in-window"},{"title":"Finish a provider sign-in window","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/connect-link/sessions/{sessionId}/oauth/{provider}/finish","href":"/api-reference/connect-apps-preview/finish-a-provider-sign-in-window"},{"title":"Complete a Connect provider login","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/connect-link/sessions/{sessionId}/complete","href":"/api-reference/connect-apps-preview/complete-a-connect-provider-login"},{"title":"End a hosted Connect session","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/connect-link/sessions/{sessionId}/frame","href":"/api-reference/connect-apps-preview/end-a-hosted-connect-session"}]}]},{"group":"Venues","pages":[{"group":"Venue details","pages":[{"title":"Read a venue","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}","href":"/api-reference/venue-platform-preview/read-a-venue"},{"title":"Retire the venue","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/retire","href":"/api-reference/venue-platform-preview/retire-the-venue"}]},{"group":"Venue conformance","pages":[{"title":"Read your venue certificate","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/conformance","href":"/api-reference/venue-platform-preview/read-your-venue-certificate"},{"title":"List venue conformance tests","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/conformance/runs","href":"/api-reference/venue-platform-preview/list-venue-conformance-tests"},{"title":"Start a venue conformance test","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conformance/runs","href":"/api-reference/venue-platform-preview/start-a-venue-conformance-test"},{"title":"Read a venue conformance test","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/conformance/runs/{runId}","href":"/api-reference/venue-platform-preview/read-a-venue-conformance-test"},{"title":"Finish a venue conformance test","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conformance/runs/{runId}/close","href":"/api-reference/venue-platform-preview/finish-a-venue-conformance-test"}]},{"group":"Branding and reference data","pages":[{"title":"Read the venue brand","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/brand","href":"/api-reference/venue-platform-preview/read-the-venue-brand"},{"title":"Update the venue brand","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/brand","href":"/api-reference/venue-platform-preview/update-the-venue-brand"},{"title":"Upload the venue logo","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/brand/logo","href":"/api-reference/venue-platform-preview/upload-the-venue-logo"},{"title":"Read the venue instrument reference catalog","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/reference/instruments","href":"/api-reference/venue-platform-preview/read-the-venue-instrument-reference-catalog"},{"title":"Read registered contract facts for a new instrument","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/reference/contract","href":"/api-reference/venue-platform-preview/read-registered-contract-facts-for-a-new-instrument"},{"title":"Search the markets a venue can list","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/reference/symbols","href":"/api-reference/venue-platform-preview/search-the-markets-a-venue-can-list"}]},{"group":"Instruments","pages":[{"title":"List instrument candidates","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/instruments","href":"/api-reference/venue-platform-preview/list-instrument-candidates"},{"title":"List active instruments","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/instruments/active","href":"/api-reference/venue-platform-preview/list-active-instruments"},{"title":"Read an instrument candidate","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/instruments/{candidateId}","href":"/api-reference/venue-platform-preview/read-an-instrument-candidate"},{"title":"Save an instrument candidate","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/instruments","href":"/api-reference/venue-platform-preview/save-an-instrument-candidate"},{"title":"Activate an instrument version","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/instruments/active","href":"/api-reference/venue-platform-preview/activate-an-instrument-version"}]},{"group":"Conditions and groups","pages":[{"title":"List account groups","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/conditions/groups","href":"/api-reference/venue-platform-preview/list-account-groups"},{"title":"List condition profiles","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/conditions/profiles","href":"/api-reference/venue-platform-preview/list-condition-profiles"},{"title":"Apply a condition profile","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conditions/active","href":"/api-reference/venue-platform-preview/apply-a-condition-profile"},{"title":"Create or update an account group","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conditions/groups","href":"/api-reference/venue-platform-preview/create-or-update-an-account-group"},{"title":"Delete an account group","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/conditions/groups/{groupId}","href":"/api-reference/venue-platform-preview/delete-an-account-group"},{"title":"Delete an evaluation","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/conditions/evaluations/{groupId}","href":"/api-reference/venue-platform-preview/delete-an-evaluation"},{"title":"Preview a conditions change","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conditions/preview","href":"/api-reference/venue-platform-preview/preview-a-conditions-change"},{"title":"Publish a condition profile","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conditions/profiles","href":"/api-reference/venue-platform-preview/publish-a-condition-profile"},{"title":"Delete a condition profile","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/conditions/profiles/{profileId}","href":"/api-reference/venue-platform-preview/delete-a-condition-profile"},{"title":"Point a group at a route","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/groups/{groupId}/route","href":"/api-reference/venue-platform-preview/point-a-group-at-a-route"},{"title":"Read the tag rules","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/tag-rules","href":"/api-reference/venue-platform-preview/read-the-tag-rules"},{"title":"Set the tag rules","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/tag-rules","href":"/api-reference/venue-platform-preview/set-the-tag-rules"}]},{"group":"Routes","pages":[{"title":"List routes","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/routes","href":"/api-reference/venue-platform-preview/list-routes"},{"title":"Create or update a route","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/routes","href":"/api-reference/venue-platform-preview/create-or-update-a-route"}]},{"group":"Providers and connections","pages":[{"title":"List provider connections","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/connections","href":"/api-reference/venue-platform-preview/list-provider-connections"},{"title":"List discovered provider accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/connections/{connectionId}/accounts","href":"/api-reference/venue-platform-preview/list-discovered-provider-accounts"},{"title":"Read provider validation status","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/connections/{connectionId}/validations/{jobId}","href":"/api-reference/venue-platform-preview/read-provider-validation-status"},{"title":"List provider versions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/providers","href":"/api-reference/venue-platform-preview/list-provider-versions"},{"title":"Create a provider connection draft","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/connections","href":"/api-reference/venue-platform-preview/create-a-provider-connection-draft"},{"title":"Queue read-only provider validation","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/connections/{connectionId}/validate","href":"/api-reference/venue-platform-preview/queue-read-only-provider-validation"},{"title":"Promote a provider connection to validated","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/connections/{connectionId}/promote","href":"/api-reference/venue-platform-preview/promote-a-provider-connection-to-validated"},{"title":"Register a public provider version","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/providers","href":"/api-reference/venue-platform-preview/register-a-public-provider-version"},{"title":"Link a provider version to its company and integration","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/providers/{providerId}/link","href":"/api-reference/venue-platform-preview/link-a-provider-version-to-its-company-and-integration"},{"title":"Retire a provider version","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/providers/{providerId}/retire","href":"/api-reference/venue-platform-preview/retire-a-provider-version"},{"title":"Show or hide a plugged-in provider to this venue's traders","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/connections/{connectionId}/expose","href":"/api-reference/venue-platform-preview/show-or-hide-a-plugged-in-provider-to-this-venues-traders"},{"title":"List a connection's provider markets","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/connections/{connectionId}/markets","href":"/api-reference/venue-platform-preview/list-a-connections-provider-markets"},{"title":"Add a connection's provider markets","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/connections/{connectionId}/markets","href":"/api-reference/venue-platform-preview/add-a-connections-provider-markets"},{"title":"Read a connection's provider markets now","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/connections/{connectionId}/markets/read","href":"/api-reference/venue-platform-preview/read-a-connections-provider-markets-now"},{"title":"List the platform's markets","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/platform-markets","href":"/api-reference/venue-platform-preview/list-the-platforms-markets"},{"title":"Add the platform's markets","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/platform-markets","href":"/api-reference/venue-platform-preview/add-the-platforms-markets"},{"title":"Read the trdrs-managed provider catalog","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/provider-catalog/directory","href":"/api-reference/venue-platform-preview/read-the-trdrs-managed-provider-catalog"},{"title":"Read your organization's provider listings","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/provider-catalog/mine","href":"/api-reference/venue-platform-preview/read-your-organizations-provider-listings"},{"title":"Create a provider listing","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/provider-catalog/profiles","href":"/api-reference/venue-platform-preview/create-a-provider-listing"},{"title":"Update a provider listing","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/provider-catalog/profiles/{companyId}","href":"/api-reference/venue-platform-preview/update-a-provider-listing"},{"title":"Upload a listing's logo","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/provider-catalog/profiles/{companyId}/logo","href":"/api-reference/venue-platform-preview/upload-a-listings-logo"},{"title":"Record a provider release","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/provider-catalog/profiles/{companyId}/releases","href":"/api-reference/venue-platform-preview/record-a-provider-release"},{"title":"Submit a release for production review","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/provider-catalog/profiles/{companyId}/publication","href":"/api-reference/venue-platform-preview/submit-a-release-for-production-review"},{"title":"Request dedicated provider setup","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/provider-catalog/releases/{releaseId}/install","href":"/api-reference/venue-platform-preview/request-dedicated-provider-setup"}]},{"group":"Risk policies","pages":[{"title":"List the venue's risk policies","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/risk-policies","href":"/api-reference/venue-platform-preview/list-the-venues-risk-policies"},{"title":"Store a risk policy version","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/risk-policies","href":"/api-reference/venue-platform-preview/store-a-risk-policy-version"},{"title":"Read one risk policy","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/risk-policies/{policyId}","href":"/api-reference/venue-platform-preview/read-one-risk-policy"},{"title":"Publish a risk policy version","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/risk-policies/{policyId}/publications","href":"/api-reference/venue-platform-preview/publish-a-risk-policy-version"},{"title":"Name a risk policy and set its limits","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/risk-policies/{policyId}/setting","href":"/api-reference/venue-platform-preview/name-a-risk-policy-and-set-its-limits"},{"title":"Preview a financing sheet","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/risk-policies/{policyId}/financing/preview","href":"/api-reference/venue-platform-preview/preview-a-financing-sheet"},{"title":"Apply a financing sheet","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/risk-policies/{policyId}/financing/apply","href":"/api-reference/venue-platform-preview/apply-a-financing-sheet"}]},{"group":"Stages","pages":[{"title":"Read an account's stage eligibility","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/stages/{stageId}/eligibility","href":"/api-reference/venue-platform-preview/read-an-accounts-stage-eligibility"},{"title":"List stage policies","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/stages/policies","href":"/api-reference/venue-platform-preview/list-stage-policies"},{"title":"Advance an account past a stage","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/stages/{stageId}/advance","href":"/api-reference/venue-platform-preview/advance-an-account-past-a-stage"},{"title":"Put a stage policy in force","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/stages/active","href":"/api-reference/venue-platform-preview/put-a-stage-policy-in-force"},{"title":"Publish a stage policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/stages/policies","href":"/api-reference/venue-platform-preview/publish-a-stage-policy"}]},{"group":"Retired account controls","pages":[{"title":"Retired account risk controls","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/risk-controls","href":"/api-reference/venue-platform-preview/retired-account-risk-controls"},{"title":"Retired account risk controls write","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/risk-controls","href":"/api-reference/venue-platform-preview/retired-account-risk-controls-write"}]},{"group":"Venue accounts","pages":[{"title":"List a venue's accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts","href":"/api-reference/venue-platform-preview/list-a-venues-accounts"},{"title":"List existing accounts with original rules","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/existing-accounts","href":"/api-reference/venue-platform-preview/list-existing-accounts-with-original-rules"},{"title":"Issue an account into a group","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts","href":"/api-reference/venue-platform-preview/issue-an-account-into-a-group"},{"title":"Bind a discovered external account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/bind","href":"/api-reference/venue-platform-preview/bind-a-discovered-external-account"},{"title":"Credit, debit or adjust an account's balance","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/balance","href":"/api-reference/venue-platform-preview/credit-debit-or-adjust-an-accounts-balance"},{"title":"Quote an account payout","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/payout","href":"/api-reference/venue-platform-preview/quote-an-account-payout"},{"title":"Record an account payout","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/payout","href":"/api-reference/venue-platform-preview/record-an-account-payout"},{"title":"Reset an account to its starting balance","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/reset","href":"/api-reference/venue-platform-preview/reset-an-account-to-its-starting-balance"},{"title":"Close a trader's position","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/close-position","href":"/api-reference/venue-platform-preview/close-a-traders-position"},{"title":"Halt trading on an account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/halt","href":"/api-reference/venue-platform-preview/halt-trading-on-an-account"},{"title":"Resume trading on an account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/resume","href":"/api-reference/venue-platform-preview/resume-trading-on-an-account"},{"title":"Read an account's analytics","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/analytics","href":"/api-reference/venue-platform-preview/read-an-accounts-analytics"},{"title":"Revoke an account grant","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/accounts/{accountId}/grants/{grantId}","href":"/api-reference/venue-platform-preview/revoke-an-account-grant"},{"title":"Read account invitation status","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/grants/{grantId}","href":"/api-reference/venue-platform-preview/read-account-invitation-status"},{"title":"Read an account's open liquidation","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/incident","href":"/api-reference/venue-platform-preview/read-an-accounts-open-liquidation"},{"title":"Read what one account may trade","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/instruments","href":"/api-reference/venue-platform-preview/read-what-one-account-may-trade"},{"title":"Read a customer account's books","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/ledger","href":"/api-reference/venue-platform-preview/read-a-customer-accounts-books"},{"title":"Read one account's effective conditions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/conditions/accounts/{accountId}/effective","href":"/api-reference/venue-platform-preview/read-one-accounts-effective-conditions"},{"title":"Invite an account recipient","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/grants","href":"/api-reference/venue-platform-preview/invite-an-account-recipient"},{"title":"Move an account between groups","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conditions/accounts/{accountId}/group","href":"/api-reference/venue-platform-preview/move-an-account-between-groups"},{"title":"Set per-account safety limits","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conditions/accounts/{accountId}/risk","href":"/api-reference/venue-platform-preview/set-per-account-safety-limits"},{"title":"Read recorded account operations","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/activity","href":"/api-reference/venue-platform-preview/read-recorded-account-operations"},{"title":"Read a user’s activity across their accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/user-activity","href":"/api-reference/venue-platform-preview/read-a-user’s-activity-across-their-accounts"},{"title":"Read the wallets of an account's trader","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/wallets","href":"/api-reference/venue-platform-preview/read-the-wallets-of-an-accounts-trader"}]},{"group":"Sales and payout requests","pages":[{"title":"Read the catalog","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/catalog","href":"/api-reference/venue-platform-preview/read-the-catalog"},{"title":"Read the legal text (deprecated)","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/legal","href":"/api-reference/venue-platform-preview/read-the-legal-text-deprecated"},{"title":"Record an order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/orders","href":"/api-reference/venue-platform-preview/record-an-order"},{"title":"List orders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/orders","href":"/api-reference/venue-platform-preview/list-orders"},{"title":"Read an order","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/orders/{orderId}","href":"/api-reference/venue-platform-preview/read-an-order"},{"title":"Request a payout","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/payout-requests","href":"/api-reference/venue-platform-preview/request-a-payout"},{"title":"List an account's payout requests","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/payout-requests","href":"/api-reference/venue-platform-preview/list-an-accounts-payout-requests"},{"title":"List payout requests","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/payout-requests","href":"/api-reference/venue-platform-preview/list-payout-requests"},{"title":"Read the payouts pause","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/payouts-pause","href":"/api-reference/venue-platform-preview/read-the-payouts-pause"},{"title":"Read where fees are paid","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/company-wallet/fee-addresses","href":"/api-reference/venue-platform-preview/read-where-fees-are-paid"}]},{"group":"Venue traders","pages":[{"title":"Send a trader to the trading platform","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/handoffs","href":"/api-reference/venue-platform-preview/send-a-trader-to-the-trading-platform"},{"title":"Suspend a trader","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/traders/{trader}/suspension","href":"/api-reference/venue-platform-preview/suspend-a-trader"},{"title":"Lift a trader's suspension","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/traders/{trader}/suspension","href":"/api-reference/venue-platform-preview/lift-a-traders-suspension"}]},{"group":"Introducing brokers","pages":[{"title":"List introducing brokers","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/introducing-brokers","href":"/api-reference/venue-platform-preview/list-introducing-brokers"},{"title":"Make an introducing broker","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/introducing-brokers","href":"/api-reference/venue-platform-preview/make-an-introducing-broker"},{"title":"Read the introducing broker tree","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/introducing-brokers/tree","href":"/api-reference/venue-platform-preview/read-the-introducing-broker-tree"},{"title":"Read an introducing broker","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/introducing-brokers/{introducingBrokerId}","href":"/api-reference/venue-platform-preview/read-an-introducing-broker"},{"title":"Change an introducing broker","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/introducing-brokers/{introducingBrokerId}","href":"/api-reference/venue-platform-preview/change-an-introducing-broker"},{"title":"Retire an introducing broker","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/introducing-brokers/{introducingBrokerId}/retire","href":"/api-reference/venue-platform-preview/retire-an-introducing-broker"},{"title":"Read an account's introducing broker","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/introducing-broker","href":"/api-reference/venue-platform-preview/read-an-accounts-introducing-broker"},{"title":"Move an account to another introducing broker","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/introducing-broker","href":"/api-reference/venue-platform-preview/move-an-account-to-another-introducing-broker"},{"title":"Read the rebate cap","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/rebates/cap","href":"/api-reference/venue-platform-preview/read-the-rebate-cap"},{"title":"Set the rebate cap","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/rebates/cap","href":"/api-reference/venue-platform-preview/set-the-rebate-cap"},{"title":"Read the rebate report","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/rebates/report","href":"/api-reference/venue-platform-preview/read-the-rebate-report"},{"title":"Download the rebate report","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/rebates/report.csv","href":"/api-reference/venue-platform-preview/download-the-rebate-report"}]},{"group":"Reconciliation","pages":[{"title":"Read every account's statement","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/reconciliation/accounts","href":"/api-reference/venue-platform-preview/read-every-accounts-statement"},{"title":"Read an account's statement","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/reconciliation/accounts/{accountId}","href":"/api-reference/venue-platform-preview/read-an-accounts-statement"},{"title":"Compare your figures with the book","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/reconciliation/compare","href":"/api-reference/venue-platform-preview/compare-your-figures-with-the-book"},{"title":"Read how often your providers rejected orders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/reconciliation/rejections","href":"/api-reference/venue-platform-preview/read-how-often-your-providers-rejected-orders"},{"title":"Read the money in and out of your accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/money-flow","href":"/api-reference/venue-platform-preview/read-the-money-in-and-out-of-your-accounts"},{"title":"Read what the venue earned in a month","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/earnings","href":"/api-reference/venue-platform-preview/read-what-the-venue-earned-in-a-month"}]},{"group":"Money moves","pages":[{"title":"Read the venue's money moves","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/money-moves","href":"/api-reference/venue-platform-preview/read-the-venues-money-moves"},{"title":"Read one money move","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/money-moves/{moveId}","href":"/api-reference/venue-platform-preview/read-one-money-move"},{"title":"Read the venue's money settings","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/money-settings","href":"/api-reference/venue-platform-preview/read-the-venues-money-settings"},{"title":"Read which platform runs the company wallet","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/company-wallet/platform","href":"/api-reference/venue-platform-preview/read-which-platform-runs-the-company-wallet"},{"title":"List what the company wallet can swap","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/company-swaps/pairs","href":"/api-reference/venue-platform-preview/list-what-the-company-wallet-can-swap"},{"title":"List the company wallet's swaps","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/company-swaps","href":"/api-reference/venue-platform-preview/list-the-company-wallets-swaps"},{"title":"Read one swap","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/company-swaps/{swapId}","href":"/api-reference/venue-platform-preview/read-one-swap"}]},{"group":"Trade desk","pages":[{"title":"Read your markets' prices","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/markets","href":"/api-reference/venue-platform-preview/read-your-markets-prices"},{"title":"Read one market's bars","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/markets/{instrumentId}/bars","href":"/api-reference/venue-platform-preview/read-one-markets-bars"},{"title":"Stream your markets' prices","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/stream","href":"/api-reference/venue-platform-preview/stream-your-markets-prices"},{"title":"Read your desk accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/accounts","href":"/api-reference/venue-platform-preview/read-your-desk-accounts"},{"title":"Mark a desk account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts","href":"/api-reference/venue-platform-preview/mark-a-desk-account"},{"title":"Release a desk account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/release","href":"/api-reference/venue-platform-preview/release-a-desk-account"},{"title":"Read a desk account's limits","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/accounts/{accountId}/limits","href":"/api-reference/venue-platform-preview/read-a-desk-accounts-limits"},{"title":"Set a desk account's limits","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/desk/accounts/{accountId}/limits","href":"/api-reference/venue-platform-preview/set-a-desk-accounts-limits"},{"title":"Read a desk account's orders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/accounts/{accountId}/orders","href":"/api-reference/venue-platform-preview/read-a-desk-accounts-orders"},{"title":"Place a desk order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/orders","href":"/api-reference/venue-platform-preview/place-a-desk-order"},{"title":"Cancel a desk order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/orders/{orderId}/cancel","href":"/api-reference/venue-platform-preview/cancel-a-desk-order"},{"title":"Settle a desk order whose outcome is unknown","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/orders/{orderId}/settle","href":"/api-reference/venue-platform-preview/settle-a-desk-order-whose-outcome-is-unknown"},{"title":"Read a desk account's parent orders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/accounts/{accountId}/parent-orders","href":"/api-reference/venue-platform-preview/read-a-desk-accounts-parent-orders"},{"title":"Place a desk parent order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/parent-orders","href":"/api-reference/venue-platform-preview/place-a-desk-parent-order"},{"title":"Read a desk parent order","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/accounts/{accountId}/parent-orders/{parentOrderId}","href":"/api-reference/venue-platform-preview/read-a-desk-parent-order"},{"title":"Cancel a desk parent order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/parent-orders/{parentOrderId}/cancel","href":"/api-reference/venue-platform-preview/cancel-a-desk-parent-order"},{"title":"Size a desk order by money","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/order-size","href":"/api-reference/venue-platform-preview/size-a-desk-order-by-money"},{"title":"Preview a desk order's margin","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/order-preview","href":"/api-reference/venue-platform-preview/preview-a-desk-orders-margin"},{"title":"Read a desk account's symbol settings","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/accounts/{accountId}/symbol-settings","href":"/api-reference/venue-platform-preview/read-a-desk-accounts-symbol-settings"},{"title":"Change a desk account's symbol settings","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/desk/accounts/{accountId}/symbol-settings","href":"/api-reference/venue-platform-preview/change-a-desk-accounts-symbol-settings"},{"title":"Resume your desk","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/resume","href":"/api-reference/venue-platform-preview/resume-your-desk"}]},{"group":"Quote requests","pages":[{"title":"List quote requests","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/quote-requests","href":"/api-reference/venue-platform-preview/list-quote-requests"},{"title":"Read a quote request","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/quote-requests/{requestId}","href":"/api-reference/venue-platform-preview/read-a-quote-request"},{"title":"Ask for quotes from the desk","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/quote-requests","href":"/api-reference/venue-platform-preview/ask-for-quotes-from-the-desk"},{"title":"Accept quotes from the desk","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/quote-requests/{requestId}/accept","href":"/api-reference/venue-platform-preview/accept-quotes-from-the-desk"},{"title":"Read your quoting rules","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/quoting-rules","href":"/api-reference/venue-platform-preview/read-your-quoting-rules"},{"title":"Set your quoting rules","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/quoting-rules","href":"/api-reference/venue-platform-preview/set-your-quoting-rules"},{"title":"Read a group's quotes first setting","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/groups/{groupId}/quotes-first","href":"/api-reference/venue-platform-preview/read-a-groups-quotes-first-setting"},{"title":"Set a group's quotes first setting","description":"Sets the notional, in US dollars at the book's price, above which a market order the group fills on your book asks every quoter for the market first. A quote better than the book's price fills that part of the order at the quotes, blended across quoters, and the rest fills on the book. With no quote in time, none better, or every quoter pulling out, the order fills on the book as it would have. A market quoted in anything but US dollars, USDC or USDT, and every order through an external route, fills as always. Send null to turn it off, and the revision in force as `expectedRevision`, 0 for none. Required scope: `hedge:manage`. Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/groups/{groupId}/quotes-first","href":"/api-reference/venue-platform-preview/set-a-groups-quotes-first-setting"}]},{"group":"Hedging","pages":[{"title":"Read venue hedge state","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedges","href":"/api-reference/venue-platform-preview/read-venue-hedge-state"},{"title":"Publish a hedge policy","description":"Publishes a policy for one group. A `group` policy, the default, copies a share of the group's net customer exposure into one provider account the venue owns, its destination, which must be an account bound for hedging and can never be granted to a trader. An `account` policy hedges each customer account of the group into its own hedge account at the policy's hedge market, after every fill, at the account's copy ratio. Publishing doesn't turn the policy on: activate it separately. Required scope: `hedge:manage`. Preview: served on the sandbox to every venue, and production availability is arranged when a venue qualifies. Trading API keys and pre-registration keys do not authorize these routes.","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/policies","href":"/api-reference/venue-platform-preview/publish-a-hedge-policy"},{"title":"Activate, pause or stop a hedge policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/activation","href":"/api-reference/venue-platform-preview/activate-pause-or-stop-a-hedge-policy"},{"title":"Preview or persist the next hedge target","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/calculate","href":"/api-reference/venue-platform-preview/preview-or-persist-the-next-hedge-target"},{"title":"Dispatch one prepared hedge intent","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/intents/{intentId}/dispatch","href":"/api-reference/venue-platform-preview/dispatch-one-prepared-hedge-intent"},{"title":"Reconcile an uncertain hedge intent","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/intents/{intentId}/reconcile","href":"/api-reference/venue-platform-preview/reconcile-an-uncertain-hedge-intent"},{"title":"Stop every hedge policy for this venue","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/emergency-stop","href":"/api-reference/venue-platform-preview/stop-every-hedge-policy-for-this-venue"},{"title":"Flatten a hedge destination","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/flatten","href":"/api-reference/venue-platform-preview/flatten-a-hedge-destination"},{"title":"Bind a customer account to its hedge account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/accounts","href":"/api-reference/venue-platform-preview/bind-a-customer-account-to-its-hedge-account"},{"title":"Reconcile a customer account's hedge","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/accounts/{accountId}/reconcile","href":"/api-reference/venue-platform-preview/reconcile-a-customer-accounts-hedge"},{"title":"List hedging policies","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedging-policies","href":"/api-reference/venue-platform-preview/list-hedging-policies"},{"title":"Make a hedging policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies","href":"/api-reference/venue-platform-preview/make-a-hedging-policy"},{"title":"Change a hedging policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}","href":"/api-reference/venue-platform-preview/change-a-hedging-policy"},{"title":"Delete a hedging policy","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}","href":"/api-reference/venue-platform-preview/delete-a-hedging-policy"},{"title":"Pause, stop or resume a hedging policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/state","href":"/api-reference/venue-platform-preview/pause-stop-or-resume-a-hedging-policy"},{"title":"Resume the new trades a failed net hedge paused","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/resume-trading","href":"/api-reference/venue-platform-preview/resume-the-new-trades-a-failed-net-hedge-paused"},{"title":"Read a hedging policy's parent orders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/parent-orders","href":"/api-reference/venue-platform-preview/read-a-hedging-policys-parent-orders"},{"title":"Read a hedging policy's script","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script","href":"/api-reference/venue-platform-preview/read-a-hedging-policys-script"},{"title":"Save a hedging policy's script","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script","href":"/api-reference/venue-platform-preview/save-a-hedging-policys-script"},{"title":"List a hedging policy's script versions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script/versions","href":"/api-reference/venue-platform-preview/list-a-hedging-policys-script-versions"},{"title":"Read one version of a hedging policy's script","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script/versions/{version}","href":"/api-reference/venue-platform-preview/read-one-version-of-a-hedging-policys-script"},{"title":"Set a hedging policy's script mode","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script/mode","href":"/api-reference/venue-platform-preview/set-a-hedging-policys-script-mode"},{"title":"Run an earlier version of a hedging policy's script","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script/version","href":"/api-reference/venue-platform-preview/run-an-earlier-version-of-a-hedging-policys-script"},{"title":"Read a hedging policy's script runs","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script/runs","href":"/api-reference/venue-platform-preview/read-a-hedging-policys-script-runs"},{"title":"Try a hedging script","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script/try","href":"/api-reference/venue-platform-preview/try-a-hedging-script"},{"title":"Pick a group's hedging policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/groups/{groupId}/hedging-policy","href":"/api-reference/venue-platform-preview/pick-a-groups-hedging-policy"},{"title":"Read your router's price","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/router","href":"/api-reference/venue-platform-preview/read-your-routers-price"},{"title":"Read the router's valuation beside the listings'","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/router/comparison","href":"/api-reference/venue-platform-preview/read-the-routers-valuation-beside-the-listings"},{"title":"Read a group's router setting","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/groups/{groupId}/router","href":"/api-reference/venue-platform-preview/read-a-groups-router-setting"},{"title":"Set a group's router setting","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/groups/{groupId}/router","href":"/api-reference/venue-platform-preview/set-a-groups-router-setting"},{"title":"Set an account's tags","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/tags","href":"/api-reference/venue-platform-preview/set-an-accounts-tags"},{"title":"Read where an account stands against results rules","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/hedging-results","href":"/api-reference/venue-platform-preview/read-where-an-account-stands-against-results-rules"},{"title":"Unbind a hedge account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/unbind","href":"/api-reference/venue-platform-preview/unbind-a-hedge-account"},{"title":"Read risk across the venue's accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/risk","href":"/api-reference/venue-platform-preview/read-risk-across-the-venues-accounts"}]},{"group":"Usage and webhooks","pages":[{"title":"Read the venue's metered usage for a month","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/usage","href":"/api-reference/venue-platform-preview/read-the-venues-metered-usage-for-a-month"},{"title":"Read the accounts behind the venue's usage","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/usage/accounts","href":"/api-reference/venue-platform-preview/read-the-accounts-behind-the-venues-usage"},{"title":"Read the receipt of one balance operation","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/balance-ops/{referenceId}","href":"/api-reference/venue-platform-preview/read-the-receipt-of-one-balance-operation"},{"title":"List the venue's webhooks","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/webhooks","href":"/api-reference/venue-platform-preview/list-the-venues-webhooks"},{"title":"Register a webhook","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/webhooks","href":"/api-reference/venue-platform-preview/register-a-webhook"},{"title":"Remove a webhook","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/webhooks/{webhookId}","href":"/api-reference/venue-platform-preview/remove-a-webhook"},{"title":"Send a signed test ping to a webhook","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/webhooks/{webhookId}/test","href":"/api-reference/venue-platform-preview/send-a-signed-test-ping-to-a-webhook"},{"title":"Read a webhook's delivery log","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/webhooks/{webhookId}/deliveries","href":"/api-reference/venue-platform-preview/read-a-webhooks-delivery-log"}]},{"group":"Pre-registration","pages":[{"title":"Pre-register a trader’s account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/pre-registration/registrations","href":"/api-reference/connect/pre-register-a-trader’s-account"},{"title":"List pre-registered accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/pre-registration/registrations","href":"/api-reference/connect/list-pre-registered-accounts"},{"title":"Cancel a pre-registration","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/pre-registration/registrations","href":"/api-reference/connect/cancel-a-pre-registration"}]},{"group":"Pre-registration conformance (sandbox)","pages":[{"title":"Start a sandbox conformance run","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/pre-registration/conformance/runs","href":"/api-reference/connect/start-a-sandbox-conformance-run"},{"title":"Read conformance run results","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/pre-registration/conformance/runs/{id}","href":"/api-reference/connect/read-conformance-run-results"},{"title":"Finish a sandbox conformance run","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/pre-registration/conformance/runs/{id}/close","href":"/api-reference/connect/finish-a-sandbox-conformance-run"}]}]}]}]},{"tab":"SDKs and tools","dropdowns":[{"dropdown":"Overview","icon":"flag-checkered","description":"Choose a tool for your integration","pages":[{"title":"SDKs and tools","sidebarTitle":"Overview","href":"/sdks"}]},{"dropdown":"Connect","icon":"link","description":"Embed hosted Connect with the Connect SDK","pages":[{"title":"Connect SDK","sidebarTitle":"Connect SDK","href":"/sdks/connect"}]},{"dropdown":"TypeScript","icon":"cube","description":"Read about the TypeScript SDK and its availability","pages":[{"title":"TypeScript SDK","sidebarTitle":"TypeScript SDK (unavailable)","href":"/sdks/typescript"}]},{"dropdown":"Charting","icon":"chart-line","description":"Build charts with Quick Charts","pages":[{"title":"Charting","href":"/chart-integration"}]},{"dropdown":"CLI","icon":"terminal","description":"Read about the CLI and its availability","pages":[{"title":"CLI","sidebarTitle":"CLI (unavailable)","href":"/cli"}]},{"dropdown":"AI","icon":"robot","description":"Build and check an integration with a coding agent","groups":[{"group":"Start here","pages":[{"title":"Build with AI","href":"/ai"}]},{"group":"Prompts","pages":[{"title":"Agent prompts","href":"/sdks/agent-prompts"}]}]}]}]},"basePath":"","title":"Read venue hedge state - trdrs Engine API","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","CodeSnippet-BBA8eWiP.js","getApiPlaygroundDisplay-DMK5GRGS.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","SectionHeading-AR_EzDYe.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js","Markdown-CX8Sr5UZ.js","AssistantPageLink-B3VcLrB0.js","dist-WDJo6xkj.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}