Understand the reduce-only market close, the difference between Flatten and pause or continue, and how to verify the exchange has closed the position.
Close position requests a reduce-only market close of up to the current Futures position. ANSIO needs a fresh position reading before it can submit that request.
Stops this bot and confirms cancellation of its quotes before requesting the close. Resuming requires your approval.
Flatten & continue
Keeps quoting. The bot may open a new position after the close.
Manual orders are not cancelled by this flow.
The execution price can differ from the mark price. A market-close request is an instruction to the exchange, not confirmation that the position is already flat.
1
Open Close position
Read the pair and position size in the confirmation.
2
Select pause or continue
Choose whether the bot should remain stopped or keep quoting after the close.
3
Confirm the close
Use Close position only after reviewing that account, amount and behavior.
4
Read the exchange result
Wait for a fresh position update and look at any remaining size. If the response is uncertain, establish the current position before submitting another request.
If no fresh position is available, ANSIO refuses the close. If the fresh size is zero, the account is already flat.
A manual Stop or Flatten prevents Autopilot from silently restarting the bot. A new explicit approval is required. Flatten & continue is the deliberate choice to keep quoting within this close flow.Related: Autopilot modes · Connection and data issues
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"ANSIO","description":"ANSIO documentation for Spot and Futures bots, Autopilot, monitoring, team access and Telegram.","colors":{"primary":"#6344D8","light":"#BAACFF","dark":"#6344D8"},"favicon":"https://ansio.trade/assets/favicon.svg","appearance":{"default":"system","strict":false},"navbar":{"links":[{"href":"https://ansio.trade","label":"ANSIO"},{"href":"mailto:ops@ansio.trade","label":"Contact"}],"primary":{"type":"button","label":"Open app","href":"https://app.ansio.trade"}},"footer":{"links":[{"header":"ANSIO","items":[{"label":"Website","href":"https://ansio.trade"},{"label":"Open app","href":"https://app.ansio.trade"}]},{"header":"Help \u0026 legal","items":[{"label":"Support","href":"/support"},{"label":"Terms","href":"/terms"},{"label":"Privacy","href":"/privacy"}]}]},"search":{"prompt":"Search settings, bots and errors"},"fonts":{"family":"Inter"},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ansio","hasAudioNarration":false,"actualSubdomain":"ansio","customDomains":["docs.ansio.trade"],"gitSource":{"type":"artifacts","owner":"prod","repo":"6ae0ffdaf4ea53ea3ee5c532","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae101bcbdb3088a98e2618b"},"chroma":{"latestBuiltDeploymentHistoryId":"6ae5d566511388ce7eb7088e","collectionId":"f604e1ca-63db-438c-9d54-f6691aa1dfc9","liveDeploymentHistoryId":"6ae5d566511388ce7eb7088e","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae5e0958a5fe9cd89f9ab46","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Spot bots","count":9},{"language":"default","tag":"Futures bots","count":5},{"language":"default","tag":"Autopilot","count":4},{"language":"default","tag":"Monitoring \u0026 access","count":4},{"language":"default","tag":"Troubleshooting \u0026 security","count":4},{"language":"default","tag":"Alerts","count":3},{"language":"default","tag":"Help \u0026 legal","count":3},{"language":"default","tag":"Documentation","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"futures/flatten","slug":"/futures/flatten","pageMetadata":{"title":"Close a Futures position","sidebarTitle":"Close position","description":"Understand the reduce-only market close, the difference between Flatten and pause or continue, and how to verify the exchange has closed the position.","href":"/futures/flatten"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Understand the reduce-only market close, the difference between Flatten and pause or continue, and how to verify the exchange has closed the position.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Step,Steps,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Close position`}),` requests a reduce-only market close of up to the current Futures position. ANSIO needs a fresh position reading before it can submit that request.`]}),`\n`,_jsx(Heading,{level:`2`,id:`choose-what-happens-afterward`,children:`Choose what happens afterward`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`What happens`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Flatten \u0026 pause`}),_jsx(_components.td,{children:`Stops this bot and confirms cancellation of its quotes before requesting the close. Resuming requires your approval.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Flatten \u0026 continue`}),_jsx(_components.td,{children:`Keeps quoting. The bot may open a new position after the close.`})]})]})]}),`\n`,_jsx(_components.p,{children:`Manual orders are not cancelled by this flow.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The execution price can differ from the mark price. A market-close request is an instruction to the exchange, not confirmation that the position is already flat.`})}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open Close position`,children:`Read the pair and position size in the confirmation.`}),_jsx(Step,{title:`Select pause or continue`,children:`Choose whether the bot should remain stopped or keep quoting after the close.`}),_jsxs(Step,{title:`Confirm the close`,children:[`Use `,_jsx(_components.strong,{children:`Close position`}),` only after reviewing that account, amount and behavior.`]}),_jsx(Step,{title:`Read the exchange result`,children:`Wait for a fresh position update and look at any remaining size. If the response is uncertain, establish the current position before submitting another request.`})]}),`\n`,_jsx(_components.p,{children:`If no fresh position is available, ANSIO refuses the close. If the fresh size is zero, the account is already flat.`}),`\n`,_jsx(Heading,{level:`2`,id:`autopilot-after-a-manual-close`,children:`Autopilot after a manual close`}),`\n`,_jsxs(_components.p,{children:[`A manual Stop or Flatten prevents Autopilot from silently restarting the bot. A new explicit approval is required. `,_jsx(_components.strong,{children:`Flatten \u0026 continue`}),` is the deliberate choice to keep quoting within this close flow.`]}),`\n`,_jsxs(_components.p,{children:[`Related: `,_jsx(_components.a,{href:`/autopilot/modes`,children:`Autopilot modes`}),` · `,_jsx(_components.a,{href:`/troubleshooting/connections`,children:`Connection and data issues`})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Close a Futures position","sidebarTitle":"Close position","description":"Understand the reduce-only market close, the difference between Flatten and pause or continue, and how to verify the exchange has closed the position.","href":"/futures/flatten"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Choose what happens afterward","slug":"choose-what-happens-afterward","depth":2,"children":[]},{"title":"Autopilot after a manual close","slug":"autopilot-after-a-manual-close","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ansio","siteName":"ANSIO","title":"Close a Futures position - ANSIO","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-31T11:47:53.557Z","originalFileLocation":"futures/flatten.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Understand the reduce-only market close, the difference between Flatten and pause or continue, and how to verify the exchange has closed the position.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ANSIO\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/svg+xml\" sizes=\"180x180\" href=\"https://ansio.trade/assets/favicon.svg\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://ansio.trade/assets/favicon.svg\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://ansio.trade/assets/favicon.svg\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://ansio.trade/assets/favicon.svg\">\u003cmeta data-mint-head property=\"og:title\" content=\"Close a Futures position - ANSIO\">\u003cmeta data-mint-head property=\"og:description\" content=\"Understand the reduce-only market close, the difference between Flatten and pause or continue, and how to verify the exchange has closed the position.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ANSIO\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ansio.trade/futures/flatten\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ansio.mintlify.app/_mintlify/api/og/v2?division=Futures+bots\u0026amp;title=Close+a+Futures+position\u0026amp;description=Understand+the+reduce-only+market+close%2C+the+difference+between+Flatten+and+pause+or+continue%2C+and+how+to+verify+the+exchange+has+closed+the+position.\u0026amp;theme=fc61ea7ff3465b141201d46d\u0026amp;signature=8101c7c8f9c8640b900761761c51e1792972e68f1b2dede04e26a34dc414ffec\">\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=\"Close a Futures position - ANSIO\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Understand the reduce-only market close, the difference between Flatten and pause or continue, and how to verify the exchange has closed the position.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ansio.mintlify.app/_mintlify/api/og/v2?division=Futures+bots\u0026amp;title=Close+a+Futures+position\u0026amp;description=Understand+the+reduce-only+market+close%2C+the+difference+between+Flatten+and+pause+or+continue%2C+and+how+to+verify+the+exchange+has+closed+the+position.\u0026amp;theme=fc61ea7ff3465b141201d46d\u0026amp;signature=8101c7c8f9c8640b900761761c51e1792972e68f1b2dede04e26a34dc414ffec\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/ansio/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ANSIO\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6344D8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ansio.trade/futures/flatten\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/futures/flatten.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ansio.trade/#organization\",\"name\":\"ANSIO\",\"url\":\"https://docs.ansio.trade\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ansio.trade#website\",\"name\":\"ANSIO\",\"url\":\"https://docs.ansio.trade\",\"publisher\":{\"@id\":\"https://docs.ansio.trade/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ansio.trade/futures/flatten#webpage\",\"url\":\"https://docs.ansio.trade/futures/flatten\",\"name\":\"Close a Futures position\",\"description\":\"Understand the reduce-only market close, the difference between Flatten and pause or continue, and how to verify the exchange has closed the position.\",\"dateModified\":\"2026-10-31T11:47:53.557Z\",\"isPartOf\":{\"@id\":\"https://docs.ansio.trade#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ansio.trade/futures/flatten#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ansio.trade/futures/flatten#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Futures bots\",\"item\":\"https://docs.ansio.trade/futures/quoting\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Close a Futures position\",\"item\":\"https://docs.ansio.trade/futures/flatten\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ansio.trade/futures/flatten#article\",\"headline\":\"Close a Futures position\",\"name\":\"Close a Futures position\",\"description\":\"Understand the reduce-only market close, the difference between Flatten and pause or continue, and how to verify the exchange has closed the position.\",\"url\":\"https://docs.ansio.trade/futures/flatten\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ansio.trade/futures/flatten#webpage\"},\"dateModified\":\"2026-10-31T11:47:53.557Z\",\"publisher\":{\"@id\":\"https://docs.ansio.trade/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ansio.trade#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ANSIO\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ANSIO","nav":{"global":null,"groups":[{"group":"Documentation","pages":[{"title":"ANSIO documentation","sidebarTitle":"Overview","href":"/overview"}]},{"group":"Spot bots","pages":[{"title":"Configure the Spot order ladder","sidebarTitle":"Order ladder","href":"/spot/market-making"},{"title":"Add liquidity with Depth Support","sidebarTitle":"Depth Support","href":"/spot/depth-support"},{"title":"Choose a price source","sidebarTitle":"Price source","href":"/spot/price-source"},{"title":"Manage Spot inventory and risk limits","sidebarTitle":"Inventory and risk","href":"/spot/inventory-risk"},{"title":"Use Spread, Equaller and Cashout","sidebarTitle":"Other Spot bots","href":"/spot/other-bots"},{"title":"Spot MM errors","href":"/spot/mm-errors"},{"title":"Spread errors","href":"/spot/spread-errors"},{"title":"Equaller errors","href":"/spot/equaller-errors"},{"title":"Cashout errors and waiting states","href":"/spot/cashout-errors"}]},{"group":"Futures bots","pages":[{"title":"Configure Futures quotes","sidebarTitle":"Order ladder","href":"/futures/quoting"},{"title":"Set Futures position and margin limits","sidebarTitle":"Position and margin","href":"/futures/position-margin"},{"title":"Use Futures Profit Exit","sidebarTitle":"Profit Exit","description":"See how Profit Exit changes reducing Futures quotes, which costs it includes, when the rule applies and why a position may take longer to close.","href":"/futures/profit-exit"},{"title":"Close a Futures position","sidebarTitle":"Close position","href":"/futures/flatten"},{"title":"Futures errors and blocked quotes","description":"Read Futures margin and position waits, stale data, blocked quotes, liquidation warnings and validation errors without confusing them with a flat account.","href":"/futures/errors"}]},{"group":"Autopilot","pages":[{"title":"Choose Autopilot modes and permissions","sidebarTitle":"Modes and permissions","href":"/autopilot/modes"},{"title":"Ask Autopilot questions and give it tasks","sidebarTitle":"Questions and tasks","href":"/autopilot/tasks"},{"title":"Follow tasks, schedules and changes","sidebarTitle":"Queue and records","href":"/autopilot/records"},{"title":"Autopilot errors and pending tasks","href":"/autopilot/errors"}]},{"group":"Alerts","icon":"bell","pages":[{"title":"Use the Alerts tab","href":"/alerts/overview"},{"title":"Alert timing and delivery","href":"/alerts/delivery"},{"title":"Alert rules and first-alert waits","href":"/alerts/rules"}]},{"group":"Monitoring \u0026 access","pages":[{"title":"Read balances and trading PnL","sidebarTitle":"Balances and PnL","href":"/monitoring/balances-pnl"},{"title":"Read depth, spread and uptime","sidebarTitle":"Depth and uptime","href":"/monitoring/depth-uptime"},{"title":"Manage client and team access","sidebarTitle":"Clients and roles","href":"/workspace/clients-roles"},{"title":"Use Telegram controls and alerts","sidebarTitle":"Telegram","href":"/telegram/controls"}]},{"group":"Troubleshooting \u0026 security","pages":[{"title":"Find a bot error","sidebarTitle":"Bot errors","href":"/troubleshooting/orders"},{"title":"Handle stale data and exchange errors","sidebarTitle":"Connections and data","href":"/troubleshooting/connections"},{"title":"Control exchange API access","sidebarTitle":"API access","href":"/security/api-access"},{"title":"Save and restore bot settings","sidebarTitle":"Safe Settings","href":"/security/saved-settings"}]},{"group":"Help \u0026 legal","pages":[{"title":"Support","href":"/support"},{"title":"Terms of Service","href":"/terms"},{"title":"Privacy Policy","href":"/privacy"}]}]},"basePath":"","title":"Close a Futures position - ANSIO","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":[],"chunks":[]}