The hourly payment between longs and shorts: what you pay, how the rate is built from the order book and the index, and when it settles.
Funding is the periodic payment between longs and shorts that keeps a perpetual close to its index. When the rate is positive, longs pay shorts; when negative, shorts pay longs. It settles every hour by default, and only positions open at the settlement block pay or receive. Funding is paid between traders; the venue charges no fee on it.
What you pay
payment=position size×mark price×funding rateThe rate is quoted on an 8-hour basis, and each settlement charges its share of it. On an hourly market, a quoted 0.01% costs 0.00125% per hour, or 0.03% a day.
Quoted rate (8 h)
Position
Per hour
Per day
0.01%
$10,000 long
$0.125 paid
$3 paid
−0.02%
$10,000 long
$0.25 received
$6 received
Funding is not prorated. You pay or receive the full amount if you hold a position at the settlement block, and nothing if you close before it.
How the rate is built
Every blockdepth-weighted bid and ask against the index
Every 5 secondsmedian of that window’s blocks
Each settlement periodmean of the samples
Add the interest componentclamped per market, ±0.05% by default
Divide across the period, then clampto the market’s own rate limits
Funding rate
One quote cannot move it — you have to hold real depth away from the index, which anyone can trade against
A single anomalous block cannot carry the sample
A single five-second window cannot carry the period
The interest term is bounded, so it cannot become the rate
Every market publishes its own ceiling
Paid between traders. The venue takes no share apart from rounding dust.
How the rate is built
What each layer closes
1. Premium, every block. The premium measures how far this venue’s book sits from the index. It uses the average price of filling a set order size (the impact notional, set per market) on each side, so one small quote cannot move it:premium=indexmax(0,impact bid−index)−max(0,index−impact ask)It is zero while the index sits between the impact bid and ask. A block is skipped when the book is crossed, when either side has fewer than four levels, or when the index is more than 10 seconds old.2. Average over the period. Each 5-second window keeps the median of its blocks, and the rate uses the mean of those windows: 720 samples in an hour. If fewer than 20% of the samples arrive, that period has no funding.3. Add interest, then cap. A per-market interest rate is added, and the gap between it and the premium is capped (±0.05% by default):F8h=Pˉ+clamp(I−Pˉ,−0.05%,+0.05%)The interest rate is set per market, typically 0.01% per 8 hours. It stands for the cost of borrowing dollars rather than the coin, and comes to about 11% a year paid by longs to shorts. With no premium, the rate equals the interest rate. The result is divided across the period (÷ 8 for hourly), then held within the market’s minimum and maximum rate.Example. The impact bid is $10,100 and the index is $10,000, so the book sits above the index.
Premium = (10,100 − 10,000) ÷ 10,000 = 1%.
Interest minus premium = 0.01% − 1% = −0.99%, capped to −0.05%.
8-hour rate = 1% − 0.05% = 0.95%.
On an hourly market, each settlement charges 0.95% ÷ 8 = 0.11875%: longs pay shorts.
Each market sets its own interval (30 minutes, 1, 2, 4, 8, or 24 hours), interest rate, impact notional, and caps. See Markets.
Settlement
Funding settles on the first block of each period, for every position in the market at once, using the mark price at that block. It is final and never rolled back. Payments go between traders; only rounding dust goes to the fee collector.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Intention","colors":{"primary":"#598DA8","light":"#88B9D3","dark":"#2C6989"},"logo":{"light":"https://mintcdn.com/intentionlabs/SkgX4rWKLCfpuRVa/logo/logo_light.svg?fit=max\u0026auto=format\u0026n=SkgX4rWKLCfpuRVa\u0026q=85\u0026s=87bccef7135b26e30af3abe17f5f916f","dark":"https://mintcdn.com/intentionlabs/SkgX4rWKLCfpuRVa/logo/logo_dark.svg?fit=max\u0026auto=format\u0026n=SkgX4rWKLCfpuRVa\u0026q=85\u0026s=97ac15310a3833758b3bfc16debf1f32"},"favicon":"https://mintcdn.com/intentionlabs/MI0RSM1mbw0_QulI/favicon.svg?fit=max\u0026auto=format\u0026n=MI0RSM1mbw0_QulI\u0026q=85\u0026s=384d900bb1f8e4912260bfb656379fd6","background":{"decoration":"gradient","color":{"light":"#FDFDF8","dark":"#0E0E0B"}},"navbar":{"links":[]},"footer":{"socials":{"x":"https://x.com/intention","github":"https://github.com/intentionxyz"},"links":[{"header":"Protocol","items":[{"label":"Architecture","href":"/protocol/architecture/overview"},{"label":"The network today","href":"/protocol/architecture/network-status"},{"label":"Our thesis","href":"/protocol/ai-trading"}]},{"header":"Trading","items":[{"label":"Markets","href":"/trading/markets"},{"label":"Fees","href":"/trading/fees"},{"label":"Liquidations","href":"/trading/liquidations"},{"label":"Risk disclosures","href":"/protocol/security/risks"}]},{"header":"Developers","items":[{"label":"Developer docs","href":"https://dev.intention.xyz/"},{"label":"API reference","href":"https://openapi.intention-testnet.xyz/"},{"label":"GitHub","href":"https://github.com/intentionxyz"},{"label":"Run a node","href":"/developers/run-a-node"}]},{"header":"Help and company","items":[{"label":"Help Center","href":"/help/faq"},{"label":"Contact support","href":"/help/contact"},{"label":"Brand assets","href":"https://www.intention.xyz/brand"},{"label":"Terms and privacy","href":"/about/legal"}]}]},"fonts":{"heading":{"family":"Cash Sans Mix","weight":600,"source":"fonts/CashSans-Mix-SemiBold.woff2","format":"woff2"},"body":{"family":"Cash Sans","weight":450,"source":"fonts/CashSans-Sans-450.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"intentionlabs","hasAudioNarration":false,"actualSubdomain":"intentionlabs","customDomains":["docs.intention.xyz"],"gitSource":{"type":"github","owner":"intentionchain","repo":"docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af6df3cea2e3b727f3c2e45","clientVersion":"0.0.4424","searchFilterCounts":[{"language":"default","tag":"Help Center","count":29},{"language":"default","tag":"Trading","count":21},{"language":"default","tag":"Protocol","count":12},{"language":"default","tag":"Architecture","count":7},{"language":"default","tag":"Trading questions","count":6},{"language":"default","tag":"Start here","count":6},{"language":"default","tag":"Account and security","count":5},{"language":"default","tag":"Placing orders","count":5},{"language":"default","tag":"Overview","count":4},{"language":"default","tag":"Deposits and withdrawals","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"header.is-center~div[class*=\"scroll-mt\"]{max-width:80rem}header div:has(>#localization-select-trigger){position:absolute;right:3.25rem;top:50%;transform:translateY(-50%);z-index:10}.katex{overflow:visible!important}.katex-display{overflow-x:auto;overflow-y:hidden;padding:8px 0}:root{--dg-bg: #FDFDF8;--dg-text: #23262A;--dg-muted: #6E747B;--dg-faint: #8D939A;--dg-line: rgba(100,90,74,0.42);--dg-panel: rgba(100,90,74,0.045);--dg-panel-line: rgba(100,90,74,0.20);--dg-neutral-fill: rgba(100,90,74,0.055);--dg-neutral-line: rgba(100,90,74,0.32);--dg-neutral-ink: #23262A;--dg-blue-fill: rgba(89,141,168,0.10);--dg-blue-line: rgba(89,141,168,0.62);--dg-blue-ink: #3D6E8B;--dg-sky-fill: rgba(136,185,211,0.13);--dg-sky-line: rgba(136,185,211,0.72);--dg-sky-ink: #4C89AC;--dg-green-fill: rgba(173,196,136,0.15);--dg-green-line: rgba(173,196,136,0.75);--dg-green-ink: #6C8542;--dg-orange-fill: rgba(222,134,104,0.12);--dg-orange-line: rgba(222,134,104,0.68);--dg-orange-ink: #B65A38;--dg-yellow-fill: rgba(205,193,128,0.16);--dg-yellow-line: rgba(205,193,128,0.78);--dg-yellow-ink: #8A7C3C;--dg-brown-fill: rgba(100,90,74,0.09);--dg-brown-line: rgba(100,90,74,0.45);--dg-brown-ink: #5A5143}html.dark{--dg-bg: #0E0E0B;--dg-text: #EDEDE7;--dg-muted: #9DA29A;--dg-faint: #7C817A;--dg-line: rgba(205,193,128,0.34);--dg-panel: rgba(205,193,128,0.045);--dg-panel-line: rgba(205,193,128,0.16);--dg-neutral-fill: rgba(205,193,128,0.05);--dg-neutral-line: rgba(205,193,128,0.26);--dg-neutral-ink: #EDEDE7;--dg-blue-fill: rgba(136,185,211,0.13);--dg-blue-line: rgba(136,185,211,0.60);--dg-blue-ink: #9EC8DE;--dg-sky-fill: rgba(136,185,211,0.16);--dg-sky-line: rgba(136,185,211,0.72);--dg-sky-ink: #A9D0E2;--dg-green-fill: rgba(173,196,136,0.13);--dg-green-line: rgba(173,196,136,0.62);--dg-green-ink: #C0D49E;--dg-orange-fill: rgba(222,134,104,0.13);--dg-orange-line: rgba(222,134,104,0.62);--dg-orange-ink: #E8A48C;--dg-yellow-fill: rgba(205,193,128,0.14);--dg-yellow-line: rgba(205,193,128,0.66);--dg-yellow-ink: #DCD29A;--dg-brown-fill: rgba(205,193,128,0.07);--dg-brown-line: rgba(205,193,128,0.30);--dg-brown-ink: #B6B0A2}.dg{margin:1.5rem 0;overflow-x:auto;overscroll-behavior-x:contain}.dg-c{position:relative;width:100%;min-width:520px;container-type:inline-size;--u: 0.13889cqw;color:var(--dg-text)}.dg-w{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none;stroke:var(--dg-line);stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round}.dg-w .dg-soft{stroke-width:0.9}.dg-w .dg-dash{stroke-dasharray:5 4}.dg-w .dg-head{fill:var(--dg-line);stroke:none}.dg-w .dg-rule{stroke-width:0.7;opacity:0.5}.dg-b{position:absolute;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(2 * var(--u));padding:calc(9.0 * var(--u)) calc(12.0 * var(--u));border:calc(0.9 * var(--u)) solid var(--dg-neutral-line);border-radius:calc(6.0 * var(--u));background:var(--dg-neutral-fill);text-align:center;line-height:1.34}.dg-b.dg-left{align-items:flex-start;text-align:left}.dg-b.dg-tight{padding:calc(2 * var(--u)) calc(9 * var(--u))}.dg-b.dg-dashed{border-style:dashed}.dg-b.dg-solid{background:var(--dg-bg)}.dg-b.dg-plain{border:0;background:none;padding:0}.dg-b.dg-round{border-radius:999px}.dg-band{position:absolute;box-sizing:border-box;border:calc(0.8 * var(--u)) solid var(--dg-panel-line);border-radius:calc(8.0 * var(--u));background:var(--dg-panel)}.dg-band>.dg-cap{position:absolute;top:calc(-6.5 * var(--u));left:calc(11 * var(--u));padding:0 calc(5 * var(--u));background:var(--dg-bg);color:var(--dg-muted);font-size:calc(10.5 * var(--u));letter-spacing:0.03em;white-space:nowrap}.dg-c .dg-t{font-size:calc(13.0 * var(--u));font-weight:500}.dg-c .dg-s{font-size:calc(11.0 * var(--u));color:var(--dg-muted)}.dg-c .dg-n{font-size:calc(10.0 * var(--u));color:var(--dg-faint)}.dg-c .dg-m{font-size:calc(11.5 * var(--u))}.dg-lbl{position:absolute;box-sizing:border-box;transform:translate(-50%, -50%);padding:0 calc(4 * var(--u));background:var(--dg-bg);color:var(--dg-muted);font-size:calc(10.0 * var(--u));line-height:1.34;white-space:nowrap;text-align:center}.dg-free{position:absolute;box-sizing:border-box;line-height:1.34}.dg-free.dg-right{text-align:right}.dg-free.dg-mid{text-align:center}.dg-bar{position:absolute;box-sizing:border-box;display:flex;align-items:center;gap:calc(8 * var(--u))}.dg-bar>.dg-bar-lead{flex:0 0 auto;color:var(--dg-muted);font-size:calc(11.5 * var(--u));text-align:right}.dg-bar>.dg-bar-track{flex:1 1 auto;position:relative;height:100%}.dg-bar>.dg-bar-track>.dg-bar-fill{position:absolute;top:0;bottom:0;border-radius:calc(2.5 * var(--u));background:var(--dg-neutral-line);opacity:0.74}.dg-bar>.dg-bar-track>.dg-bar-val{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding-left:calc(8 * var(--u));color:var(--dg-muted);font-size:calc(10.0 * var(--u));white-space:nowrap}.dg-bar>.dg-bar-trail{flex:0 0 auto;color:var(--dg-faint);font-size:calc(10.0 * var(--u))}.dg-c .dg--blue{background:var(--dg-blue-fill);border-color:var(--dg-blue-line)}.dg-c .dg-w .dg--blue{stroke:var(--dg-blue-line)}.dg-c .dg-w .dg-head.dg--blue{fill:var(--dg-blue-line);stroke:none}.dg-c .dg-ink--blue{color:var(--dg-blue-ink)}.dg-c .dg--sky{background:var(--dg-sky-fill);border-color:var(--dg-sky-line)}.dg-c .dg-w .dg--sky{stroke:var(--dg-sky-line)}.dg-c .dg-w .dg-head.dg--sky{fill:var(--dg-sky-line);stroke:none}.dg-c .dg-ink--sky{color:var(--dg-sky-ink)}.dg-c .dg--green{background:var(--dg-green-fill);border-color:var(--dg-green-line)}.dg-c .dg-w .dg--green{stroke:var(--dg-green-line)}.dg-c .dg-w .dg-head.dg--green{fill:var(--dg-green-line);stroke:none}.dg-c .dg-ink--green{color:var(--dg-green-ink)}.dg-c .dg--orange{background:var(--dg-orange-fill);border-color:var(--dg-orange-line)}.dg-c .dg-w .dg--orange{stroke:var(--dg-orange-line)}.dg-c .dg-w .dg-head.dg--orange{fill:var(--dg-orange-line);stroke:none}.dg-c .dg-ink--orange{color:var(--dg-orange-ink)}.dg-c .dg--yellow{background:var(--dg-yellow-fill);border-color:var(--dg-yellow-line)}.dg-c .dg-w .dg--yellow{stroke:var(--dg-yellow-line)}.dg-c .dg-w .dg-head.dg--yellow{fill:var(--dg-yellow-line);stroke:none}.dg-c .dg-ink--yellow{color:var(--dg-yellow-ink)}.dg-c .dg--brown{background:var(--dg-brown-fill);border-color:var(--dg-brown-line)}.dg-c .dg-w .dg--brown{stroke:var(--dg-brown-line)}.dg-c .dg-w .dg-head.dg--brown{fill:var(--dg-brown-line);stroke:none}.dg-c .dg-ink--brown{color:var(--dg-brown-ink)}html.dark .dg-bar>.dg-bar-track>.dg-bar-fill{opacity:1}.dg-c .dg-bar .dg-bar-fill.dg--neutral{background:var(--dg-neutral-line)}.dg-c .dg-bar .dg-bar-fill.dg--blue{background:var(--dg-blue-line)}.dg-c .dg-bar .dg-bar-fill.dg--sky{background:var(--dg-sky-line)}.dg-c .dg-bar .dg-bar-fill.dg--green{background:var(--dg-green-line)}.dg-c .dg-bar .dg-bar-fill.dg--orange{background:var(--dg-orange-line)}.dg-c .dg-bar .dg-bar-fill.dg--yellow{background:var(--dg-yellow-line)}.dg-c .dg-bar .dg-bar-fill.dg--brown{background:var(--dg-brown-line)}td[data-numeric]{font-variant-numeric:normal!important;font-feature-settings:normal!important}@font-face{font-family:\"Season\";src:url(\"/fonts/SeasonCollectionVF-TRIAL.woff2\") format(\"woff2\");font-weight:300 900;font-style:normal;font-display:swap}#content-area .prose{font-family:\"Season\", \"Cash Sans\", sans-serif;font-variation-settings:\"SERF\" 0;font-weight:500}#content-area .prose :is(p,li,td,dd,dt,blockquote,a,span,div){font-weight:500}#content-area .prose :is(strong,b,th){font-weight:650}#content-area .prose :is(h1,h2,h3,h4,h5,h6){font-family:\"Cash Sans Mix\", \"Cash Sans\", sans-serif;font-variation-settings:normal}#content-area .prose :is(.dg,code,pre,kbd){font-variation-settings:normal}#content-area .prose .dg,#content-area .prose .dg :is(span,div){font-family:\"Cash Sans\", sans-serif;font-weight:450}#content-area .prose .dg .dg-t{font-weight:500}#content-area .prose :is(h1,h2,h3,h4,h5,h6) :is(span,a,div,code){font-family:inherit;font-weight:inherit;font-variation-settings:inherit}:is(#navbar,#sidebar,#table-of-contents){font-family:\"Season\", \"Cash Sans\", sans-serif;font-variation-settings:\"SERF\" 0}:is(#navbar,#sidebar,#table-of-contents) :is(a,span,div,p,li,button){font-weight:500}#sidebar .sidebar-title,#sidebar .sidebar-title *{font-weight:650}"}]}
{"page":{"pagePath":"trading/funding","slug":"/trading/funding","pageMetadata":{"title":"Funding","description":"The hourly payment between longs and shorts: what you pay, how the rate is built from the order book and the index, and when it settles.","href":"/trading/funding"},"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: \"The hourly payment between longs and shorts: what you pay, how the rate is built from the order book and the index, and when it settles.\"\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`,annotation:`annotation`,li:`li`,math:`math`,mfrac:`mfrac`,mi:`mi`,mn:`mn`,mo:`mo`,mover:`mover`,mrow:`mrow`,msub:`msub`,mtext:`mtext`,ol:`ol`,p:`p`,semantics:`semantics`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Funding is the periodic payment between longs and shorts that keeps a perpetual close to its index. When the rate is positive, longs pay shorts; when negative, shorts pay longs. It settles every hour by default, and only positions open at the settlement block pay or receive. Funding is paid between traders; the venue charges no fee on it.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-pay`,children:`What you pay`}),`\n`,_jsx(_components.span,{className:`katex-display`,children:_jsxs(_components.span,{className:`katex`,children:[_jsx(_components.span,{className:`katex-mathml`,children:_jsx(_components.math,{xmlns:`http://www.w3.org/1998/Math/MathML`,display:`block`,children:_jsxs(_components.semantics,{children:[_jsxs(_components.mrow,{children:[_jsx(_components.mtext,{children:`payment`}),_jsx(_components.mo,{children:`=`}),_jsx(_components.mtext,{children:`position\\xA0size`}),_jsx(_components.mo,{children:`×`}),_jsx(_components.mtext,{children:`mark\\xA0price`}),_jsx(_components.mo,{children:`×`}),_jsx(_components.mtext,{children:`funding\\xA0rate`})]}),_jsx(_components.annotation,{encoding:`application/x-tex`,children:`\\\\text{payment} = \\\\text{position size} \\\\times \\\\text{mark price} \\\\times \\\\text{funding rate}`})]})})}),_jsxs(_components.span,{className:`katex-html`,\"aria-hidden\":`true`,children:[_jsxs(_components.span,{className:`base`,children:[_jsx(_components.span,{className:`strut`,style:{height:`0.8095em`,verticalAlign:`-0.1944em`}}),_jsx(_components.span,{className:`mord text`,children:_jsx(_components.span,{className:`mord`,children:`payment`})}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2778em`}}),_jsx(_components.span,{className:`mrel`,children:`=`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2778em`}})]}),_jsxs(_components.span,{className:`base`,children:[_jsx(_components.span,{className:`strut`,style:{height:`0.8623em`,verticalAlign:`-0.1944em`}}),_jsx(_components.span,{className:`mord text`,children:_jsx(_components.span,{className:`mord`,children:`position\\xA0size`})}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}}),_jsx(_components.span,{className:`mbin`,children:`×`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}})]}),_jsxs(_components.span,{className:`base`,children:[_jsx(_components.span,{className:`strut`,style:{height:`0.8889em`,verticalAlign:`-0.1944em`}}),_jsx(_components.span,{className:`mord text`,children:_jsx(_components.span,{className:`mord`,children:`mark\\xA0price`})}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}}),_jsx(_components.span,{className:`mbin`,children:`×`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}})]}),_jsxs(_components.span,{className:`base`,children:[_jsx(_components.span,{className:`strut`,style:{height:`0.8889em`,verticalAlign:`-0.1944em`}}),_jsx(_components.span,{className:`mord text`,children:_jsx(_components.span,{className:`mord`,children:`funding\\xA0rate`})})]})]})]})}),`\n`,_jsxs(_components.p,{children:[`The rate is quoted on an `,_jsx(_components.strong,{children:`8-hour basis`}),`, and each settlement charges its share of it. On an hourly market, a quoted 0.01% costs `,_jsx(_components.strong,{children:`0.00125% per hour`}),`, or 0.03% a day.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Quoted rate (8 h)`}),_jsx(_components.th,{children:`Position`}),_jsx(_components.th,{children:`Per hour`}),_jsx(_components.th,{children:`Per day`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`0.01%`}),_jsx(_components.td,{children:`$10,000 long`}),_jsx(_components.td,{children:`$0.125 paid`}),_jsx(_components.td,{children:`$3 paid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`−0.02%`}),_jsx(_components.td,{children:`$10,000 long`}),_jsx(_components.td,{children:`$0.25 received`}),_jsx(_components.td,{children:`$6 received`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Funding is not prorated. You pay or receive the full amount if you hold a position `,_jsx(_components.strong,{children:`at the settlement block`}),`, and nothing if you close before it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-the-rate-is-built`,children:`How the rate is built`}),`\n`,_jsx(`div`,{className:`dg`,\"data-dg\":`funding-rate-build`,children:_jsxs(`div`,{className:`dg-c`,style:{aspectRatio:`720 / 492`},children:[_jsxs(`svg`,{className:`dg-w`,viewBox:`0 0 720 492`,\"aria-hidden\":`true`,children:[_jsx(`path`,{className:`dg-wire`,d:`M 200.00 86.00 L 200.00 97.60`}),_jsx(`path`,{className:`dg-head`,d:`M 200.00 104.00 L 195.60 97.60 L 204.40 97.60 Z`}),_jsx(`path`,{className:`dg-wire`,d:`M 200.00 164.00 L 200.00 175.60`}),_jsx(`path`,{className:`dg-head`,d:`M 200.00 182.00 L 195.60 175.60 L 204.40 175.60 Z`}),_jsx(`path`,{className:`dg-wire`,d:`M 200.00 242.00 L 200.00 253.60`}),_jsx(`path`,{className:`dg-head`,d:`M 200.00 260.00 L 195.60 253.60 L 204.40 253.60 Z`}),_jsx(`path`,{className:`dg-wire`,d:`M 200.00 320.00 L 200.00 331.60`}),_jsx(`path`,{className:`dg-head`,d:`M 200.00 338.00 L 195.60 331.60 L 204.40 331.60 Z`}),_jsx(`path`,{className:`dg-wire`,d:`M 200.00 398.00 L 200.00 409.60`}),_jsx(`path`,{className:`dg-head`,d:`M 200.00 416.00 L 195.60 409.60 L 204.40 409.60 Z`})]}),_jsxs(`div`,{className:`dg-b dg--sky`,style:{left:`0.0000%`,top:`6.0976%`,width:`55.5556%`,height:`10.5691%`},children:[_jsx(`span`,{className:`dg-t`,children:`Every block`}),_jsx(`span`,{className:`dg-s`,children:`depth-weighted bid and ask against the index`})]}),_jsxs(`div`,{className:`dg-b dg--sky`,style:{left:`0.0000%`,top:`21.9512%`,width:`55.5556%`,height:`10.5691%`},children:[_jsx(`span`,{className:`dg-t`,children:`Every 5 seconds`}),_jsx(`span`,{className:`dg-s`,children:`median of that window’s blocks`})]}),_jsxs(`div`,{className:`dg-b dg--sky`,style:{left:`0.0000%`,top:`37.8049%`,width:`55.5556%`,height:`10.5691%`},children:[_jsx(`span`,{className:`dg-t`,children:`Each settlement period`}),_jsx(`span`,{className:`dg-s`,children:`mean of the samples`})]}),_jsxs(`div`,{className:`dg-b dg--sky`,style:{left:`0.0000%`,top:`53.6585%`,width:`55.5556%`,height:`10.5691%`},children:[_jsx(`span`,{className:`dg-t`,children:`Add the interest component`}),_jsx(`span`,{className:`dg-s`,children:`clamped per market, ±0.05% by default`})]}),_jsxs(`div`,{className:`dg-b dg--sky`,style:{left:`0.0000%`,top:`69.5122%`,width:`55.5556%`,height:`10.5691%`},children:[_jsx(`span`,{className:`dg-t`,children:`Divide across the period, then clamp`}),_jsx(`span`,{className:`dg-s`,children:`to the market’s own rate limits`})]}),_jsx(`div`,{className:`dg-b dg--green`,style:{left:`0.0000%`,top:`85.3659%`,width:`55.5556%`,height:`10.5691%`},children:_jsx(`span`,{className:`dg-t`,children:`Funding rate`})}),_jsx(`div`,{className:`dg-b dg-plain dg-left`,style:{left:`59.7222%`,top:`6.0976%`,width:`40.2778%`,height:`10.5691%`},children:_jsx(`span`,{className:`dg-s`,children:`One quote cannot move it — you have to hold real depth away from the index, which anyone can trade against`})}),_jsx(`div`,{className:`dg-b dg-plain dg-left`,style:{left:`59.7222%`,top:`21.9512%`,width:`40.2778%`,height:`10.5691%`},children:_jsx(`span`,{className:`dg-s`,children:`A single anomalous block cannot carry the sample`})}),_jsx(`div`,{className:`dg-b dg-plain dg-left`,style:{left:`59.7222%`,top:`37.8049%`,width:`40.2778%`,height:`10.5691%`},children:_jsx(`span`,{className:`dg-s`,children:`A single five-second window cannot carry the period`})}),_jsx(`div`,{className:`dg-b dg-plain dg-left`,style:{left:`59.7222%`,top:`53.6585%`,width:`40.2778%`,height:`10.5691%`},children:_jsx(`span`,{className:`dg-s`,children:`The interest term is bounded, so it cannot become the rate`})}),_jsx(`div`,{className:`dg-b dg-plain dg-left`,style:{left:`59.7222%`,top:`69.5122%`,width:`40.2778%`,height:`10.5691%`},children:_jsx(`span`,{className:`dg-s`,children:`Every market publishes its own ceiling`})}),_jsx(`div`,{className:`dg-b dg-plain dg-left`,style:{left:`59.7222%`,top:`85.3659%`,width:`40.2778%`,height:`10.5691%`},children:_jsx(`span`,{className:`dg-s`,children:`Paid between traders. The venue takes no share apart from rounding dust.`})}),_jsx(`div`,{className:`dg-free`,style:{left:`0.0000%`,top:`0.0000%`,width:`55.5556%`},children:_jsx(`div`,{className:`dg-n`,children:`How the rate is built`})}),_jsx(`div`,{className:`dg-free`,style:{left:`59.7222%`,top:`0.0000%`,width:`40.2778%`},children:_jsx(`div`,{className:`dg-n`,children:`What each layer closes`})})]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`1. Premium, every block.`}),` The premium measures how far this venue’s book sits from the `,_jsx(_components.a,{href:`/trading/index-price`,children:`index`}),`. It uses the average price of filling a set order size (the impact notional, set per market) on each side, so one small quote cannot move it:`]}),`\n`,_jsx(_components.span,{className:`katex-display`,children:_jsxs(_components.span,{className:`katex`,children:[_jsx(_components.span,{className:`katex-mathml`,children:_jsx(_components.math,{xmlns:`http://www.w3.org/1998/Math/MathML`,display:`block`,children:_jsxs(_components.semantics,{children:[_jsxs(_components.mrow,{children:[_jsx(_components.mtext,{children:`premium`}),_jsx(_components.mo,{children:`=`}),_jsxs(_components.mfrac,{children:[_jsxs(_components.mrow,{children:[_jsx(_components.mi,{children:`max`}),_jsx(_components.mo,{children:``}),_jsx(_components.mo,{stretchy:`false`,children:`(`}),_jsx(_components.mn,{children:`0`}),_jsx(_components.mo,{separator:`true`,children:`,`}),_jsx(_components.mtext,{children:` `}),_jsx(_components.mtext,{children:`impact\\xA0bid`}),_jsx(_components.mo,{children:`−`}),_jsx(_components.mtext,{children:`index`}),_jsx(_components.mo,{stretchy:`false`,children:`)`}),_jsx(_components.mtext,{children:` `}),_jsx(_components.mo,{children:`−`}),_jsx(_components.mtext,{children:` `}),_jsx(_components.mi,{children:`max`}),_jsx(_components.mo,{children:``}),_jsx(_components.mo,{stretchy:`false`,children:`(`}),_jsx(_components.mn,{children:`0`}),_jsx(_components.mo,{separator:`true`,children:`,`}),_jsx(_components.mtext,{children:` `}),_jsx(_components.mtext,{children:`index`}),_jsx(_components.mo,{children:`−`}),_jsx(_components.mtext,{children:`impact\\xA0ask`}),_jsx(_components.mo,{stretchy:`false`,children:`)`})]}),_jsx(_components.mtext,{children:`index`})]})]}),_jsx(_components.annotation,{encoding:`application/x-tex`,children:`\\\\text{premium} = \\\\frac{\\\\max(0,\\\\; \\\\text{impact bid} - \\\\text{index}) \\\\;-\\\\; \\\\max(0,\\\\; \\\\text{index} - \\\\text{impact ask})}{\\\\text{index}}`})]})})}),_jsxs(_components.span,{className:`katex-html`,\"aria-hidden\":`true`,children:[_jsxs(_components.span,{className:`base`,children:[_jsx(_components.span,{className:`strut`,style:{height:`0.8623em`,verticalAlign:`-0.1944em`}}),_jsx(_components.span,{className:`mord text`,children:_jsx(_components.span,{className:`mord`,children:`premium`})}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2778em`}}),_jsx(_components.span,{className:`mrel`,children:`=`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2778em`}})]}),_jsxs(_components.span,{className:`base`,children:[_jsx(_components.span,{className:`strut`,style:{height:`2.113em`,verticalAlign:`-0.686em`}}),_jsxs(_components.span,{className:`mord`,children:[_jsx(_components.span,{className:`mopen nulldelimiter`}),_jsx(_components.span,{className:`mfrac`,children:_jsxs(_components.span,{className:`vlist-t vlist-t2`,children:[_jsxs(_components.span,{className:`vlist-r`,children:[_jsxs(_components.span,{className:`vlist`,style:{height:`1.427em`},children:[_jsxs(_components.span,{style:{top:`-2.314em`},children:[_jsx(_components.span,{className:`pstrut`,style:{height:`3em`}}),_jsx(_components.span,{className:`mord`,children:_jsx(_components.span,{className:`mord text`,children:_jsx(_components.span,{className:`mord`,children:`index`})})})]}),_jsxs(_components.span,{style:{top:`-3.23em`},children:[_jsx(_components.span,{className:`pstrut`,style:{height:`3em`}}),_jsx(_components.span,{className:`frac-line`,style:{borderBottomWidth:`0.04em`}})]}),_jsxs(_components.span,{style:{top:`-3.677em`},children:[_jsx(_components.span,{className:`pstrut`,style:{height:`3em`}}),_jsxs(_components.span,{className:`mord`,children:[_jsx(_components.span,{className:`mop`,children:`max`}),_jsx(_components.span,{className:`mopen`,children:`(`}),_jsx(_components.span,{className:`mord`,children:`0`}),_jsx(_components.span,{className:`mpunct`,children:`,`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2778em`}}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.1667em`}}),_jsx(_components.span,{className:`mord text`,children:_jsx(_components.span,{className:`mord`,children:`impact\\xA0bid`})}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}}),_jsx(_components.span,{className:`mbin`,children:`−`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}}),_jsx(_components.span,{className:`mord text`,children:_jsx(_components.span,{className:`mord`,children:`index`})}),_jsx(_components.span,{className:`mclose`,children:`)`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2778em`}}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}}),_jsx(_components.span,{className:`mbin`,children:`−`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2778em`}}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}}),_jsx(_components.span,{className:`mop`,children:`max`}),_jsx(_components.span,{className:`mopen`,children:`(`}),_jsx(_components.span,{className:`mord`,children:`0`}),_jsx(_components.span,{className:`mpunct`,children:`,`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2778em`}}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.1667em`}}),_jsx(_components.span,{className:`mord text`,children:_jsx(_components.span,{className:`mord`,children:`index`})}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}}),_jsx(_components.span,{className:`mbin`,children:`−`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}}),_jsx(_components.span,{className:`mord text`,children:_jsx(_components.span,{className:`mord`,children:`impact\\xA0ask`})}),_jsx(_components.span,{className:`mclose`,children:`)`})]})]})]}),_jsx(_components.span,{className:`vlist-s`,children:``})]}),_jsx(_components.span,{className:`vlist-r`,children:_jsx(_components.span,{className:`vlist`,style:{height:`0.686em`},children:_jsx(_components.span,{})})})]})}),_jsx(_components.span,{className:`mclose nulldelimiter`})]})]})]})]})}),`\n`,_jsx(_components.p,{children:`It is zero while the index sits between the impact bid and ask. A block is skipped when the book is crossed, when either side has fewer than four levels, or when the index is more than 10 seconds old.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`2. Average over the period.`}),` Each 5-second window keeps the median of its blocks, and the rate uses the mean of those windows: 720 samples in an hour. If fewer than 20% of the samples arrive, that period has no funding.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`3. Add interest, then cap.`}),` A per-market interest rate is added, and the gap between it and the premium is capped (±0.05% by default):`]}),`\n`,_jsx(_components.span,{className:`katex-display`,children:_jsxs(_components.span,{className:`katex`,children:[_jsx(_components.span,{className:`katex-mathml`,children:_jsx(_components.math,{xmlns:`http://www.w3.org/1998/Math/MathML`,display:`block`,children:_jsxs(_components.semantics,{children:[_jsxs(_components.mrow,{children:[_jsxs(_components.msub,{children:[_jsx(_components.mi,{children:`F`}),_jsxs(_components.mrow,{children:[_jsx(_components.mn,{children:`8`}),_jsx(_components.mi,{children:`h`})]})]}),_jsx(_components.mo,{children:`=`}),_jsxs(_components.mover,{accent:`true`,children:[_jsx(_components.mi,{children:`P`}),_jsx(_components.mo,{children:`ˉ`})]}),_jsx(_components.mo,{children:`+`}),_jsx(_components.mi,{mathvariant:`normal`,children:`clamp`}),_jsx(_components.mo,{children:``}),_jsx(_components.mtext,{children:` `}),_jsxs(_components.mrow,{children:[_jsx(_components.mo,{fence:`true`,children:`(`}),_jsx(_components.mi,{children:`I`}),_jsx(_components.mo,{children:`−`}),_jsxs(_components.mover,{accent:`true`,children:[_jsx(_components.mi,{children:`P`}),_jsx(_components.mo,{children:`ˉ`})]}),_jsx(_components.mo,{separator:`true`,children:`,`}),_jsx(_components.mtext,{children:` `}),_jsx(_components.mo,{children:`−`}),_jsx(_components.mn,{children:`0.05`}),_jsx(_components.mi,{mathvariant:`normal`,children:`%`}),_jsx(_components.mo,{separator:`true`,children:`,`}),_jsx(_components.mtext,{children:` `}),_jsx(_components.mo,{children:`+`}),_jsx(_components.mn,{children:`0.05`}),_jsx(_components.mi,{mathvariant:`normal`,children:`%`}),_jsx(_components.mo,{fence:`true`,children:`)`})]})]}),_jsx(_components.annotation,{encoding:`application/x-tex`,children:`F_{8h} = \\\\bar{P} + \\\\operatorname{clamp}\\\\!\\\\left(I - \\\\bar{P},\\\\; -0.05\\\\%,\\\\; +0.05\\\\%\\\\right)`})]})})}),_jsxs(_components.span,{className:`katex-html`,\"aria-hidden\":`true`,children:[_jsxs(_components.span,{className:`base`,children:[_jsx(_components.span,{className:`strut`,style:{height:`0.8333em`,verticalAlign:`-0.15em`}}),_jsxs(_components.span,{className:`mord`,children:[_jsx(_components.span,{className:`mord mathnormal`,style:{marginRight:`0.1389em`},children:`F`}),_jsx(_components.span,{className:`msupsub`,children:_jsxs(_components.span,{className:`vlist-t vlist-t2`,children:[_jsxs(_components.span,{className:`vlist-r`,children:[_jsx(_components.span,{className:`vlist`,style:{height:`0.3361em`},children:_jsxs(_components.span,{style:{top:`-2.55em`,marginLeft:`-0.1389em`,marginRight:`0.05em`},children:[_jsx(_components.span,{className:`pstrut`,style:{height:`2.7em`}}),_jsx(_components.span,{className:`sizing reset-size6 size3 mtight`,children:_jsxs(_components.span,{className:`mord mtight`,children:[_jsx(_components.span,{className:`mord mtight`,children:`8`}),_jsx(_components.span,{className:`mord mathnormal mtight`,children:`h`})]})})]})}),_jsx(_components.span,{className:`vlist-s`,children:``})]}),_jsx(_components.span,{className:`vlist-r`,children:_jsx(_components.span,{className:`vlist`,style:{height:`0.15em`},children:_jsx(_components.span,{})})})]})})]}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2778em`}}),_jsx(_components.span,{className:`mrel`,children:`=`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2778em`}})]}),_jsxs(_components.span,{className:`base`,children:[_jsx(_components.span,{className:`strut`,style:{height:`0.9034em`,verticalAlign:`-0.0833em`}}),_jsx(_components.span,{className:`mord accent`,children:_jsx(_components.span,{className:`vlist-t`,children:_jsx(_components.span,{className:`vlist-r`,children:_jsxs(_components.span,{className:`vlist`,style:{height:`0.8201em`},children:[_jsxs(_components.span,{style:{top:`-3em`},children:[_jsx(_components.span,{className:`pstrut`,style:{height:`3em`}}),_jsx(_components.span,{className:`mord mathnormal`,style:{marginRight:`0.1389em`},children:`P`})]}),_jsxs(_components.span,{style:{top:`-3.2523em`},children:[_jsx(_components.span,{className:`pstrut`,style:{height:`3em`}}),_jsx(_components.span,{className:`accent-body`,style:{left:`-0.1667em`},children:_jsx(_components.span,{className:`mord`,children:`ˉ`})})]})]})})})}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}}),_jsx(_components.span,{className:`mbin`,children:`+`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}})]}),_jsxs(_components.span,{className:`base`,children:[_jsx(_components.span,{className:`strut`,style:{height:`1.2em`,verticalAlign:`-0.35em`}}),_jsx(_components.span,{className:`mop`,children:_jsx(_components.span,{className:`mord mathrm`,children:`clamp`})}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`-0.1667em`}}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.1667em`}}),_jsxs(_components.span,{className:`minner`,children:[_jsx(_components.span,{className:`mopen delimcenter`,style:{top:`0em`},children:_jsx(_components.span,{className:`delimsizing size1`,children:`(`})}),_jsx(_components.span,{className:`mord mathnormal`,style:{marginRight:`0.0785em`},children:`I`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}}),_jsx(_components.span,{className:`mbin`,children:`−`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2222em`}}),_jsx(_components.span,{className:`mord accent`,children:_jsx(_components.span,{className:`vlist-t`,children:_jsx(_components.span,{className:`vlist-r`,children:_jsxs(_components.span,{className:`vlist`,style:{height:`0.8201em`},children:[_jsxs(_components.span,{style:{top:`-3em`},children:[_jsx(_components.span,{className:`pstrut`,style:{height:`3em`}}),_jsx(_components.span,{className:`mord mathnormal`,style:{marginRight:`0.1389em`},children:`P`})]}),_jsxs(_components.span,{style:{top:`-3.2523em`},children:[_jsx(_components.span,{className:`pstrut`,style:{height:`3em`}}),_jsx(_components.span,{className:`accent-body`,style:{left:`-0.1667em`},children:_jsx(_components.span,{className:`mord`,children:`ˉ`})})]})]})})})}),_jsx(_components.span,{className:`mpunct`,children:`,`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2778em`}}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.1667em`}}),_jsx(_components.span,{className:`mord`,children:`−`}),_jsx(_components.span,{className:`mord`,children:`0.05%`}),_jsx(_components.span,{className:`mpunct`,children:`,`}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.2778em`}}),_jsx(_components.span,{className:`mspace`,style:{marginRight:`0.1667em`}}),_jsx(_components.span,{className:`mord`,children:`+`}),_jsx(_components.span,{className:`mord`,children:`0.05%`}),_jsx(_components.span,{className:`mclose delimcenter`,style:{top:`0em`},children:_jsx(_components.span,{className:`delimsizing size1`,children:`)`})})]})]})]})]})}),`\n`,_jsx(_components.p,{children:`The interest rate is set per market, typically 0.01% per 8 hours. It stands for the cost of borrowing dollars rather than the coin, and comes to about 11% a year paid by longs to shorts. With no premium, the rate equals the interest rate. The result is divided across the period (÷ 8 for hourly), then held within the market’s minimum and maximum rate.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example.`}),` The impact bid is $10,100 and the index is $10,000, so the book sits above the index.`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Premium = (10,100 − 10,000) ÷ 10,000 = `,_jsx(_components.strong,{children:`1%`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Interest minus premium = 0.01% − 1% = −0.99%, capped to `,_jsx(_components.strong,{children:`−0.05%`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`8-hour rate = 1% − 0.05% = `,_jsx(_components.strong,{children:`0.95%`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`On an hourly market, each settlement charges 0.95% ÷ 8 = `,_jsx(_components.strong,{children:`0.11875%`}),`: longs pay shorts.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Each market sets its own interval (30 minutes, 1, 2, 4, 8, or 24 hours), interest rate, impact notional, and caps. See `,_jsx(_components.a,{href:`/trading/markets`,children:`Markets`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`settlement`,children:`Settlement`}),`\n`,_jsxs(_components.p,{children:[`Funding settles on the first block of each period, for every position in the market at once, using the `,_jsx(_components.a,{href:`/trading/mark-price`,children:`mark price`}),` at that block. It is final and never rolled back. Payments go between traders; only rounding dust goes to the `,_jsx(_components.a,{href:`/trading/fees`,children:`fee collector`}),`.`]})]})}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":"Funding","description":"The hourly payment between longs and shorts: what you pay, how the rate is built from the order book and the index, and when it settles.","href":"/trading/funding"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you pay","slug":"what-you-pay","depth":2,"children":[]},{"title":"How the rate is built","slug":"how-the-rate-is-built","depth":2,"children":[]},{"title":"Settlement","slug":"settlement","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"intentionlabs","siteName":"Intention","title":"Funding - Intention","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-29T06:44:28.275Z","originalFileLocation":"trading/funding.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=\"The hourly payment between longs and shorts: what you pay, how the rate is built from the order book and the index, and when it settles.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Intention\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/intentionlabs/KpnInHd49L6DXpTI/_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/intentionlabs/KpnInHd49L6DXpTI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/intentionlabs/KpnInHd49L6DXpTI/_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/intentionlabs/KpnInHd49L6DXpTI/_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/intentionlabs/KpnInHd49L6DXpTI/_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/intentionlabs/KpnInHd49L6DXpTI/_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/intentionlabs/KpnInHd49L6DXpTI/_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/intentionlabs/KpnInHd49L6DXpTI/_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/intentionlabs/KpnInHd49L6DXpTI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Funding - Intention\">\u003cmeta data-mint-head property=\"og:description\" content=\"The hourly payment between longs and shorts: what you pay, how the rate is built from the order book and the index, and when it settles.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Intention\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.intention.xyz/trading/funding\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://intentionlabs.mintlify.site/_mintlify/api/og/v2?division=Pricing+and+funding\u0026amp;title=Funding\u0026amp;description=The+hourly+payment+between+longs+and+shorts%3A+what+you+pay%2C+how+the+rate+is+built+from+the+order+book+and+the+index%2C+and+when+it+settles.\u0026amp;theme=f4d280168d7001935d9bd850\u0026amp;signature=263c11fe29557b4040d2a56dc7c07f3ca953f72fc98a8c959bcd938bd8c47c25\">\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=\"Funding - Intention\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The hourly payment between longs and shorts: what you pay, how the rate is built from the order book and the index, and when it settles.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://intentionlabs.mintlify.site/_mintlify/api/og/v2?division=Pricing+and+funding\u0026amp;title=Funding\u0026amp;description=The+hourly+payment+between+longs+and+shorts%3A+what+you+pay%2C+how+the+rate+is+built+from+the+order+book+and+the+index%2C+and+when+it+settles.\u0026amp;theme=f4d280168d7001935d9bd850\u0026amp;signature=263c11fe29557b4040d2a56dc7c07f3ca953f72fc98a8c959bcd938bd8c47c25\">\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/intentionlabs/KpnInHd49L6DXpTI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Intention\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#598DA8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.intention.xyz/trading/funding\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/trading/funding.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.intention.xyz/#organization\",\"name\":\"Intention\",\"url\":\"https://docs.intention.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/intentionlabs/SkgX4rWKLCfpuRVa/logo/logo_light.svg?fit=max\u0026auto=format\u0026n=SkgX4rWKLCfpuRVa\u0026q=85\u0026s=87bccef7135b26e30af3abe17f5f916f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.intention.xyz#website\",\"name\":\"Intention\",\"url\":\"https://docs.intention.xyz\",\"publisher\":{\"@id\":\"https://docs.intention.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.intention.xyz/trading/funding#webpage\",\"url\":\"https://docs.intention.xyz/trading/funding\",\"name\":\"Funding\",\"description\":\"The hourly payment between longs and shorts: what you pay, how the rate is built from the order book and the index, and when it settles.\",\"dateModified\":\"2026-10-29T06:44:28.275Z\",\"isPartOf\":{\"@id\":\"https://docs.intention.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.intention.xyz/trading/funding#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.intention.xyz/trading/funding#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Pricing and funding\",\"item\":\"https://docs.intention.xyz/trading/index-price\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Funding\",\"item\":\"https://docs.intention.xyz/trading/funding\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.intention.xyz/trading/funding#article\",\"headline\":\"Funding\",\"name\":\"Funding\",\"description\":\"The hourly payment between longs and shorts: what you pay, how the rate is built from the order book and the index, and when it settles.\",\"url\":\"https://docs.intention.xyz/trading/funding\",\"mainEntityOfPage\":{\"@id\":\"https://docs.intention.xyz/trading/funding#webpage\"},\"dateModified\":\"2026-10-29T06:44:28.275Z\",\"publisher\":{\"@id\":\"https://docs.intention.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.intention.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Intention\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Intention\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/trading/funding.md","siteName":"Intention","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":""}]},{"tab":"Protocol","pages":[{"title":"Protocol","href":"/protocol/introduction"}]},{"tab":"Trading","groups":[{"group":"Before you trade","pages":[{"title":"Trading overview","href":"/trading/overview"},{"title":"Markets","href":"/trading/markets"},{"title":"Order book","href":"/trading/order-book"},{"title":"Market making","href":"/trading/market-making"}]},{"group":"Placing orders","pages":[{"title":"Order types","href":"/trading/order-types"},{"title":"Take-profit and stop-loss","href":"/trading/tp-sl"},{"title":"Reduce-only","href":"/trading/reduce-only"},{"title":"Market orders and slippage protection","href":"/trading/market-to-limit"},{"title":"Modify orders","href":"/trading/modify-orders"}]},{"group":"Execution strategies","pages":[{"title":"TWAP","hidden":true,"href":"/trading/twap"},{"title":"Scale orders","hidden":true,"href":"/trading/scale-orders"},{"title":"Quick reverse","href":"/trading/quick-reverse"}]},{"group":"Margin and leverage","pages":[{"title":"Margin modes","href":"/trading/margin-modes"},{"title":"Leverage","href":"/trading/leverage"}]},{"group":"Pricing and funding","pages":[{"title":"Index price","href":"/trading/index-price"},{"title":"Mark price","description":"The price used for margin, liquidation, and unrealized P\u0026L: the median of four prices built from the index, this venue's order book, funding, and external perpetuals.","href":"/trading/mark-price"},{"title":"Funding","href":"/trading/funding"}]},{"group":"Risk and liquidation","pages":[{"title":"Liquidations","description":"When a position is liquidated, the four steps that follow, and how auto-deleveraging chooses who closes against a failed position.","href":"/trading/liquidations"},{"title":"Position limits","href":"/trading/oi-limits"},{"title":"Self-trade prevention","href":"/trading/self-trade-prevention"},{"title":"Transaction sequencing","href":"/trading/tx-sequencing"},{"title":"Vaults","hidden":true,"href":"/trading/vaults"}]},{"group":"Fees","pages":[{"title":"Fees","href":"/trading/fees"}]},{"group":"Rewards and campaigns","pages":[{"title":"Referrals","href":"/trading/referrals"},{"title":"Points","hidden":true,"href":"/trading/points"},{"title":"Campaigns","hidden":true,"href":"/trading/campaigns"}]}]},{"tab":"Help Center","pages":[{"title":"Help Center","href":"/help/what-is-intention"}]},{"tab":"Developers","pages":[{"title":"Developers","href":"/developers/overview"}]},{"tab":"About","pages":[{"title":"About","href":"/about/intention-labs"}]}]},"basePath":"","title":"Funding - Intention","deploymentId":"dpl_4yZxV19iA4iQbQLKpiEbDRZbaukJ","buildId":"dpl_4yZxV19iA4iQbQLKpiEbDRZbaukJ","dynamics":[],"chunks":[]}