Work a large order in the Ironflow terminal, over time or at your price, and review how it filled with the API.
EXEC is the terminal screen for moving size without showing the book your whole order. It offers two execution styles on one composer. Both run on your own Hyperliquid account under your trade-only agent key, the same way every other terminal strategy does.
EXEC runs in the terminal at terminal.ironflow.sh/exec. There is no public API endpoint that places orders; the data API and MCP tools are read-only. Use the API to review fills after the fact (see below).
Pick the market, side, total size and the visible slice size.
Pick a style:
ADAPTIVE (default in the terminal) starts behind the mid and steps toward the spread only when a slice sits unfilled.
BALANCED rests at the mid.
PASSIVE rests behind the mid. It earns the spread but may wait a long time.
AGGRESSIVE crosses the spread. It fills fast and pays the spread and the taker fee.
Sign once. One slice rests on the book at a time and reprices when the price drifts away.
Slice sizes and timing are randomized by default (slice size by up to 25%) so a fixed pattern is harder to front-run. Resting slices that fill pay Hyperliquid’s maker fee.
An iceberg can stop before the full size fills: when the time cap is reached, or when the market moves away from your price and slices do not fill. A TWAP always runs to the end of its window, but each slice fills at whatever the market offers at that moment. Neither guarantees an average price.
fills = page.datanotional = sum(float(f.price) * float(f.size) for f in fills)size = sum(float(f.size) for f in fills)print(f"filled {size} at an average of {notional / size:.2f}")
Compare the average against the mid when you started to see what the execution cost you.Automated trading is high-risk and you can lose all of your funds. Nothing here is investment advice. See the Risk Disclosure.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Ironflow","colors":{"primary":"#B24E24","light":"#C45A2D","dark":"#A03D18"},"favicon":"https://mintcdn.com/ironflow/CrJwR04LYaIKFosO/favicon.svg?fit=max\u0026auto=format\u0026n=CrJwR04LYaIKFosO\u0026q=85\u0026s=fee2e1a6dea606cb489f6d9c8018d4c7","logo":{"light":"https://mintcdn.com/ironflow/CrJwR04LYaIKFosO/logo/light.svg?fit=max\u0026auto=format\u0026n=CrJwR04LYaIKFosO\u0026q=85\u0026s=2c50490df26c7762ab71eb17be6ad76e","dark":"https://mintcdn.com/ironflow/CrJwR04LYaIKFosO/logo/dark.svg?fit=max\u0026auto=format\u0026n=CrJwR04LYaIKFosO\u0026q=85\u0026s=1edf4ce6b050aed52ad875ebcb746b22"},"api":{"openapi":"openapi.yaml"},"appearance":{"default":"dark","strict":null},"background":{"decoration":null,"color":{"light":"#F4F2EF","dark":"#0A0A0A"}},"navbar":{"links":[{"label":"Website","href":"https://ironflow.sh"},{"label":"Status","href":"https://status.ironflow.sh"}],"primary":{"type":"button","label":"Get a free key","href":"https://ironflow.sh/key"}},"search":{"prompt":"Search docs..."},"footer":{"socials":{"x":"https://x.com/ironflowsh"},"links":[{"header":"Legal","items":[{"label":"Terms","href":"https://ironflow.sh/terms"},{"label":"API terms","href":"https://ironflow.sh/terms#api"},{"label":"Privacy","href":"https://ironflow.sh/privacy"},{"label":"Risk disclosure","href":"https://ironflow.sh/risk-disclosure"},{"label":"Acknowledgements","href":"https://ironflow.sh/acknowledgements"}]},{"header":"Ironflow","items":[{"label":"Website","href":"https://ironflow.sh"},{"label":"Terminal","href":"https://terminal.ironflow.sh"},{"label":"Status","href":"https://status.ironflow.sh"}]}]},"fonts":{"heading":{"family":"Space Grotesk","weight":600,"format":"woff2","source":"https://ironflow.sh/fonts/space-grotesk-latin-var.woff2"},"body":{"family":"Space Grotesk","weight":400,"format":"woff2","source":"https://ironflow.sh/fonts/space-grotesk-latin-var.woff2"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ironflow","hasAudioNarration":false,"actualSubdomain":"ironflow","customDomains":["docs.ironflow.sh"],"gitSource":{"type":"github","owner":"eternaut1","repo":"ironflow","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae78095149aa82e6211cdc8","collectionId":"0080242a-a730-49d4-8b57-5788c0086545","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae78095149aa82e6211cdc8"},"entitlements":{},"buildId":"6ae78246c01b8679a4afefb4","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":54},{"language":"default","tag":"Documentation","count":19},{"language":"default","tag":"Market Data","count":10},{"language":"default","tag":"Concepts","count":8},{"language":"default","tag":"Analytics","count":5},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Wallet Analytics","count":4},{"language":"default","tag":"Cohorts","count":4},{"language":"default","tag":"System","count":3},{"language":"default","tag":"Getting Started","count":3}]},"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":"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":"guides/execution-twap-iceberg","slug":"/guides/execution-twap-iceberg","pageMetadata":{"title":"TWAP and Iceberg","description":"Work a large order in the Ironflow terminal, over time or at your price, and review how it filled with the API.","href":"/guides/execution-twap-iceberg"},"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: \"Work a large order in the Ironflow terminal, over time or at your price, and review how it filled with the API.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`EXEC is the terminal screen for moving size without showing the book your whole order. It offers two execution styles on one composer. Both run on your own Hyperliquid account under your trade-only agent key, the same way every other terminal strategy does.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`EXEC runs in the terminal at `,_jsx(_components.a,{href:`https://terminal.ironflow.sh/exec`,children:`terminal.ironflow.sh/exec`}),`. There is no public API endpoint that places orders; the data API and MCP tools are read-only. Use the API to review fills after the fact (see below).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`pick-an-execution-style`,children:`Pick an execution style`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsxs(_components.th,{children:[`TWAP (`,_jsx(_components.code,{children:`OVER TIME`}),`)`]}),_jsxs(_components.th,{children:[`Iceberg (`,_jsx(_components.code,{children:`AT MY PRICE`}),`)`]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`What it does`}),_jsx(_components.td,{children:`Hands the order to Hyperliquid’s native TWAP, which fills it in roughly 30-second slices across your window`}),_jsx(_components.td,{children:`Rests one small slice at a time near the mid; the next slice goes up when one fills`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Finishes`}),_jsx(_components.td,{children:`Inside the window you pick`}),_jsx(_components.td,{children:`When the total fills or the time cap (12 hours by default) is reached`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Price`}),_jsx(_components.td,{children:`Takes the market on each slice, with Hyperliquid’s own slippage caps`}),_jsx(_components.td,{children:`Rests at or behind the mid, or crosses it, depending on style`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Minimum`}),_jsx(_components.td,{children:`$100 total`}),_jsx(_components.td,{children:`$10 per slice`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Maximum`}),_jsx(_components.td,{children:`$5,000,000 total`}),_jsx(_components.td,{children:`$5,000,000 total, at most 500 slices`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Ironflow fee`}),_jsx(_components.td,{children:`None: Hyperliquid’s native TWAP carries no builder fee`}),_jsx(_components.td,{children:`The builder fee on each slice`})]})]})]}),`\n`,_jsx(_components.p,{children:`Either one can be cancelled at any time from MANAGE. You keep whatever already filled.`}),`\n`,_jsx(Heading,{level:`2`,id:`twap`,children:`TWAP`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Pick the market, side and total size in USD.`}),`\n`,_jsx(_components.li,{children:`Pick a duration: 15 minutes, 30 minutes, 1 hour or 4 hours.`}),`\n`,_jsxs(_components.li,{children:[`Pick slice timing: `,_jsx(_components.code,{children:`EVEN`}),`, or `,_jsx(_components.code,{children:`RANDOMIZED`}),` so the timing is harder to spot.`]}),`\n`,_jsx(_components.li,{children:`Sign once. Hyperliquid runs the slices; the strategy completes when the window ends.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`The size is converted from USD to the coin at the mid when the TWAP starts. Hyperliquid’s TWAP pays the taker fee and the spread on each slice.`}),`\n`,_jsx(Heading,{level:`2`,id:`iceberg`,children:`Iceberg`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Pick the market, side, total size and the visible slice size.`}),`\n`,_jsxs(_components.li,{children:[`Pick a style:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ADAPTIVE`}),` (default in the terminal) starts behind the mid and steps toward the spread only when a slice sits unfilled.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BALANCED`}),` rests at the mid.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PASSIVE`}),` rests behind the mid. It earns the spread but may wait a long time.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AGGRESSIVE`}),` crosses the spread. It fills fast and pays the spread and the taker fee.`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.li,{children:`Sign once. One slice rests on the book at a time and reprices when the price drifts away.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Slice sizes and timing are randomized by default (slice size by up to 25%) so a fixed pattern is harder to front-run. Resting slices that fill pay Hyperliquid’s maker fee.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`An iceberg can stop before the full size fills: when the time cap is reached, or when the market moves away from your price and slices do not fill. A TWAP always runs to the end of its window, but each slice fills at whatever the market offers at that moment. Neither guarantees an average price.`})}),`\n`,_jsx(Heading,{level:`2`,id:`review-how-it-filled`,children:`Review how it filled`}),`\n`,_jsx(_components.p,{children:`Every slice is an ordinary fill on your address, so the fills endpoint shows the result:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.ironflow.sh/v1/fills?address=0xYourWallet\u0026market=ETH-PERP\u0026from=1789466400000\u0026to=1789470000000\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$IRONFLOW_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`fills `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` page.data`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`notional `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` sum`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`float`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(f.price) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` float`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(f.size) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` f `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fills)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`size `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` sum`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`float`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(f.size) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` f `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` fills)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"filled `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`size`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` at an average of `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`notional `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` size`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:.2f}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Compare the average against the mid when you started to see what the execution cost you.`}),`\n`,_jsxs(_components.p,{children:[`Automated trading is high-risk and you can lose all of your funds. Nothing here is investment advice. See the `,_jsx(_components.a,{href:`https://ironflow.sh/risk-disclosure`,children:`Risk Disclosure`}),`.`]})]})}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":"TWAP and Iceberg","description":"Work a large order in the Ironflow terminal, over time or at your price, and review how it filled with the API.","href":"/guides/execution-twap-iceberg"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Pick an execution style","slug":"pick-an-execution-style","depth":2,"children":[]},{"title":"TWAP","slug":"twap","depth":2,"children":[]},{"title":"Iceberg","slug":"iceberg","depth":2,"children":[]},{"title":"Review how it filled","slug":"review-how-it-filled","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ironflow","siteName":"Ironflow","title":"TWAP and Iceberg - Ironflow","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-15T13:40:56.903Z","originalFileLocation":"guides/execution-twap-iceberg.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=\"Work a large order in the Ironflow terminal, over time or at your price, and review how it filled with the API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ironflow\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ironflow/byzI622w4A47enFn/_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/ironflow/byzI622w4A47enFn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ironflow/byzI622w4A47enFn/_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/ironflow/byzI622w4A47enFn/_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/ironflow/byzI622w4A47enFn/_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/ironflow/byzI622w4A47enFn/_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/ironflow/byzI622w4A47enFn/_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/ironflow/byzI622w4A47enFn/_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/ironflow/byzI622w4A47enFn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"TWAP and Iceberg - Ironflow\">\u003cmeta data-mint-head property=\"og:description\" content=\"Work a large order in the Ironflow terminal, over time or at your price, and review how it filled with the API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ironflow\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ironflow.sh/guides/execution-twap-iceberg\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ironflow.mintlify.app/_mintlify/api/og/v2?division=Terminal\u0026amp;title=TWAP+and+Iceberg\u0026amp;description=Work+a+large+order+in+the+Ironflow+terminal%2C+over+time+or+at+your+price%2C+and+review+how+it+filled+with+the+API.\u0026amp;theme=65db10876e49f8f53e58cbae\u0026amp;signature=1897d76891510cd744094f5f4a16eacc486d5a44ae685e81afe353fcd804d126\">\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=\"TWAP and Iceberg - Ironflow\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Work a large order in the Ironflow terminal, over time or at your price, and review how it filled with the API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ironflow.mintlify.app/_mintlify/api/og/v2?division=Terminal\u0026amp;title=TWAP+and+Iceberg\u0026amp;description=Work+a+large+order+in+the+Ironflow+terminal%2C+over+time+or+at+your+price%2C+and+review+how+it+filled+with+the+API.\u0026amp;theme=65db10876e49f8f53e58cbae\u0026amp;signature=1897d76891510cd744094f5f4a16eacc486d5a44ae685e81afe353fcd804d126\">\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/ironflow/byzI622w4A47enFn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ironflow\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#B24E24\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ironflow.sh/guides/execution-twap-iceberg\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/execution-twap-iceberg.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ironflow.sh/#organization\",\"name\":\"Ironflow\",\"url\":\"https://docs.ironflow.sh\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ironflow/CrJwR04LYaIKFosO/logo/light.svg?fit=max\u0026auto=format\u0026n=CrJwR04LYaIKFosO\u0026q=85\u0026s=2c50490df26c7762ab71eb17be6ad76e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ironflow.sh#website\",\"name\":\"Ironflow\",\"url\":\"https://docs.ironflow.sh\",\"publisher\":{\"@id\":\"https://docs.ironflow.sh/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ironflow.sh/guides/execution-twap-iceberg#webpage\",\"url\":\"https://docs.ironflow.sh/guides/execution-twap-iceberg\",\"name\":\"TWAP and Iceberg\",\"description\":\"Work a large order in the Ironflow terminal, over time or at your price, and review how it filled with the API.\",\"dateModified\":\"2026-09-15T13:40:56.903Z\",\"isPartOf\":{\"@id\":\"https://docs.ironflow.sh#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ironflow.sh/guides/execution-twap-iceberg#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ironflow.sh/guides/execution-twap-iceberg#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ironflow\",\"item\":\"https://docs.ironflow.sh\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"TWAP and Iceberg\",\"item\":\"https://docs.ironflow.sh/guides/execution-twap-iceberg\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ironflow.sh/guides/execution-twap-iceberg#article\",\"headline\":\"TWAP and Iceberg\",\"name\":\"TWAP and Iceberg\",\"description\":\"Work a large order in the Ironflow terminal, over time or at your price, and review how it filled with the API.\",\"url\":\"https://docs.ironflow.sh/guides/execution-twap-iceberg\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ironflow.sh/guides/execution-twap-iceberg#webpage\"},\"dateModified\":\"2026-09-15T13:40:56.903Z\",\"publisher\":{\"@id\":\"https://docs.ironflow.sh/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ironflow.sh#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ironflow\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Ironflow","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Ironflow API: Hyperliquid market data over REST","sidebarTitle":"Introduction","href":"/introduction"},{"title":"Authentication","href":"/authentication"},{"title":"Quickstart: your first Hyperliquid data request","sidebarTitle":"Quickstart","href":"/quickstart"}]},{"group":"Concepts","pages":[{"title":"Pagination","href":"/concepts/pagination"},{"title":"Timestamps","href":"/concepts/timestamps"},{"title":"Sources \u0026 Markets","href":"/concepts/sources-and-markets"},{"title":"HIP-4 Outcome Contracts","href":"/concepts/hip4-outcomes"},{"title":"Rate Limits \u0026 Errors","href":"/concepts/rate-limits"},{"title":"Plans and payment","href":"/concepts/plans-and-payment"},{"title":"Data Methodology","href":"/concepts/data-methodology"},{"title":"Reliability","href":"/concepts/reliability"}]},{"group":"Guides","pages":[{"title":"Whale Alerts","href":"/guides/whale-alerts"},{"title":"Funding Rate Monitor","href":"/guides/funding-rate-monitor"},{"title":"Cohorts","href":"/guides/cohorts"},{"title":"Analytics","href":"/guides/analytics"},{"title":"Hyperliquid MCP server for AI agents","sidebarTitle":"AI Agents","description":"Connect Claude, Cursor or any MCP client to the hosted Ironflow MCP server for Hyperliquid fills, funding, wallets and read-only SQL. No install, no key needed.","href":"/guides/ai-agents"}]},{"group":"Terminal","pages":[{"title":"TWAP and Iceberg","href":"/guides/execution-twap-iceberg"}]},{"group":"SDKs","pages":[{"title":"TypeScript SDK","description":"Official TypeScript/Node.js SDK for the Ironflow API.","href":"/sdks/typescript"},{"title":"Python SDK","href":"/sdks/python"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"TWAP and Iceberg - Ironflow","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}