Groups of 2+ mutually exclusive outcomes settled through the NegRiskAdapter.
When to use
Binary markets cover a single YES/NO question. For a set of mutually
exclusive outcomes — e.g. “Who wins the Premier League?” with Arsenal /
Chelsea / Draw / Other — PredictStreet uses a neg-risk group backed
by the NegRiskAdapter contract. A neg-risk group can have 2 or more
outcomes (a 2-outcome group such as “Brazil / Japan” is still neg-risk),
so never infer the market type from the outcome count — read
negRiskEligible on GET /api/markets or GET /api/markets/{slug}.Neg-risk lets you trade each outcome independently as a separate
binary YES/NO, but guarantees collateral efficiency via
convertPositions: exactly one outcome of the group resolves YES, so
NO tokens on k of the N outcomes (k < N) convert atomically into one
YES token on each remaining outcome plus k-1 USDC (see
convertPositions below).
market.exchangeAddress; when null, ctfExchange from /platform/contracts
market.exchangeAddress; when null, ctfExchangeNegRisk from /platform/contracts
Contract generation
Shares oracle across Gen 1 and Gen 2
Gen 1 uses negRiskAdapter / negRiskOracle; Gen 2 (contractGeneration: 2) uses negRiskAdapterGen2 / negRiskOracleGen2
Token ids (tokenId you sign)
outcomes[0].tokenId (YES) / outcomes[1].tokenId (NO) from the API (on-chain: getPositionId(USDC, getCollectionId(bytes32(0), conditionId, indexSet)), indexSet1 = YES, 2 = NO)
outcomes[0].tokenId (YES) / outcomes[1].tokenId (NO) from the API, or NegRiskAdapter.getTokenIds(negRiskMarketId, negRiskQuestionIndex) → (yesId, noId). These ids use a wrapped collateral token, not USDC, as their collateral, so the binary formula does not produce them.
convertPositions available
❌
✅
Check exchangeAddress and contractGeneration. An EIP-712 order signed for the
binary exchange will fail signature validation on a neg-risk market.
Always sign using the market’s own exchangeAddress as verifyingContract
(when it is null, on generation-1 markets, ctfExchangeNegRisk).
For Generation-2 markets (contractGeneration: 2), redemption and dispute operations
must route through the Gen-2 contracts (negRiskAdapterGen2 and negRiskOracleGen2).
Outcome indexing
Each outcome of a neg-risk group is its own market, with its own
symbol and its own YES/NO token pair. The siblings share
negRiskMarketId. negRiskQuestionIndex (0..N-1) gives a
sibling’s position in the group, and groupItemTitle gives its name.A 4-outcome group (Arsenal / Chelsea / Draw / Other) is four sibling
markets with negRiskQuestionIndex0..3. To trade one outcome,
send that sibling’s symbol as marketId, with outcome: "0" for YES
or outcome: "1" for NO, and sign under the neg-risk exchange domain.
negRiskQuestionIndex is not the order outcome: outcome: "2" is
rejected.
convertPositions
The neg-risk invariant: in an N-outcome group, one NO token on each
of k outcomes is equivalent to one YES token on each of the other
N-k outcomes plus k-1 USDC. convertPositions performs that swap
atomically: it burns the NO tokens selected by indexSet and returns
the complementary YES tokens plus the USDC.It uses a dual-signature flow (vault owner + backend). First request
the backend co-signature:
POST /api/vault/convert-signatureContent-Type: application/jsonX-Api-Key: ps_live_<keyId>_<secret> # needs `positions:write` or `vault:write` scope{ "marketId": "<symbol of any sibling in the group>", "indexSet": "14", "amount": "1000000"}
marketId is a sibling market’s symbol; the server resolves it to
the group’s on-chain negRiskMarketId. A binary market is rejected.
indexSet is a decimal bitmask over negRiskQuestionIndex — bit i
burns the NO token of outcome i (0b1110 = "14" burns NO on
outcomes 1, 2 and 3). An empty set is rejected, and so is one that
covers every outcome (invalid_index_set — burning the full set is a
merge, not a convert).
amount is in base units (6 decimals), burned per outcome in the set.
Any other body field is rejected with 400 invalid_request.
The response carries signedOpId, digest, backendSig, salt,
deadline, the bytes32 on-chain marketId, the echoed indexSet and
amount, your vaultAddress, and the tokenIds the convert will
burn. Then:
Owner signature. With the vault owner’s EOA key, sign the
ConvertPositions(bytes32 marketId,uint256 indexSet,uint256 amount,uint256 salt,uint256 deadline)
typed data built from the response values, under the vault domain
(name: "PredictStreetVault", version: "1", the chain id,
verifyingContract: vaultAddress). The returned digest is the
EIP-712 hash of exactly that typed data, so you can also sign
digest directly (raw, without a personal_sign prefix).
Submit before deadline. Either post
{ signedOpId, ownerSig, backendSig } to
POST /api/me/positions/op-submit — the platform submits it and pays
the gas; poll GET /api/me/positions/op-submit/{jobId} — or call
vault.convertPositions(marketId, indexSet, amount, salt, deadline, ownerSig, backendSig)
on-chain yourself with the values from the response.
How a convert moves cost basis and P&L on GET /api/me/positions is
described under Neg-risk converts.
Resolution
Each outcome has its own conditionId (outcomes[].conditionId).
When the group resolves to a single winner, reportPayouts is called
once per outcome: [1, 0] (YES pays) on the winner’s condition and
[0, 1] (NO pays) on every other outcome’s condition.The group settles through the neg-risk oracle with the same propose → challenge →
finalize lifecycle, bond and challenge window as a binary market, keyed
by negRiskMarketId:
Generation 1: Settles via negRiskOracle and negRiskAdapter.
Generation 2: Settles via negRiskOracleGen2 and negRiskAdapterGen2.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ADI Predictstreet","description":"Institutional-grade prediction market API — trading, settlement, and on-chain custody.","colors":{"primary":"#013CFF","light":"#3F67ED","dark":"#0028AE"},"logo":{"light":"https://mintcdn.com/ideasoft/m6stBITx7YzlhMtC/logo/light.svg?fit=max\u0026auto=format\u0026n=m6stBITx7YzlhMtC\u0026q=85\u0026s=67eed2cbc5343eb0cb47d0945877af3f","dark":"https://mintcdn.com/ideasoft/m6stBITx7YzlhMtC/logo/dark.svg?fit=max\u0026auto=format\u0026n=m6stBITx7YzlhMtC\u0026q=85\u0026s=c44812a23eae343855d6ec50450195a8"},"favicon":"https://mintcdn.com/ideasoft/m6stBITx7YzlhMtC/favicon.svg?fit=max\u0026auto=format\u0026n=m6stBITx7YzlhMtC\u0026q=85\u0026s=12febd8f21b779fb61083b446cab4a6f","api":{"playground":{"proxy":true}},"navbar":{"links":[{"href":"https://adipredictstreet.com/","label":"Web app"}]},"footer":{"socials":{"x":"https://x.com/predictstreet","github":"https://github.com/predictstreet"}},"styling":{"eyebrows":"section","latex":true},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ideasoft","hasAudioNarration":false,"actualSubdomain":"ideasoft","customDomains":["docs.adipredictstreet.com"],"gitSource":{"type":"github","owner":"predictstreetproduction","repo":"predictstreet-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10d7d79ffae5051c40dd68"},"entitlements":{},"buildId":"6b12b1adba1b60174d3523fe","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"API Reference","count":118},{"language":"default","tag":"Endpoints","count":111},{"language":"default","tag":"Documentation","count":65},{"language":"default","tag":"Portfolio","count":26},{"language":"default","tag":"Markets","count":21},{"language":"default","tag":"Withdrawals","count":15},{"language":"default","tag":"Orders","count":11},{"language":"default","tag":"WebSocket","count":10},{"language":"default","tag":"On-chain Contracts","count":8},{"language":"default","tag":"Public Profile","count":8}]},"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":"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},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":":root{--adi-pearl-white: #FFFDFA;--adi-electric-orange: #FF710A;--adi-burgundy: #3E000D;--adi-bright-blue: #013CFF;--adi-sandy-white: #FFF9E1;--adi-pearl-white-mid: #EAEAEA;--adi-pearl-white-dark: #BEBEBE;--adi-electric-orange-light: #FD964B;--adi-electric-orange-dark: #B74D00;--adi-burgundy-light: #632431;--adi-burgundy-dark: #2B0009;--adi-bright-blue-light: #3F67ED;--adi-bright-blue-dark: #0028AE;--adi-sandy-white-light: #FFFBEC;--adi-sandy-white-dark: #E1D9B6}a,.link{color:var(--adi-bright-blue)}a:hover,.link:hover{color:var(--adi-bright-blue-dark)}.dark a,.dark .link{color:var(--adi-bright-blue-light)}.dark a:hover,.dark .link:hover{color:var(--adi-electric-orange-light)}::selection{background-color:var(--adi-electric-orange);color:var(--adi-pearl-white)}"}]}
{"page":{"pagePath":"concepts/markets/neg-risk","slug":"/concepts/markets/neg-risk","pageMetadata":{"title":"Neg-risk markets","description":"Groups of 2+ mutually exclusive outcomes settled through the NegRiskAdapter.","href":"/concepts/markets/neg-risk"},"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: \"Groups of 2+ mutually exclusive outcomes settled through the NegRiskAdapter.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`when-to-use`,children:`When to use`}),`\n`,_jsxs(_components.p,{children:[`Binary markets cover a single YES/NO question. For a set of mutually\nexclusive outcomes — e.g. “Who wins the Premier League?” with Arsenal /\nChelsea / Draw / Other — PredictStreet uses a `,_jsx(_components.strong,{children:`neg-risk`}),` group backed\nby the `,_jsx(_components.code,{children:`NegRiskAdapter`}),` contract. A neg-risk group can have `,_jsx(_components.strong,{children:`2 or more`}),`\noutcomes (a 2-outcome group such as “Brazil / Japan” is still neg-risk),\nso never infer the market type from the outcome count — read\n`,_jsx(_components.code,{children:`negRiskEligible`}),` on `,_jsx(_components.code,{children:`GET /api/markets`}),` or `,_jsx(_components.code,{children:`GET /api/markets/{slug}`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Neg-risk lets you trade each outcome independently as a separate\nbinary YES/NO, but `,_jsx(_components.strong,{children:`guarantees collateral efficiency`}),` via\n`,_jsx(_components.code,{children:`convertPositions`}),`: exactly one outcome of the group resolves YES, so\nNO tokens on k of the N outcomes (`,_jsx(_components.code,{children:`k \u003c N`}),`) convert atomically into one\nYES token on each remaining outcome plus k-1 USDC (see\n`,_jsx(_components.a,{href:`#convertpositions`,children:`convertPositions`}),` below).`]}),`\n`,_jsx(Heading,{level:`2`,id:`differences-from-binary`,children:`Differences from binary`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{children:`Binary`}),_jsx(_components.th,{children:`Neg-risk`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`How to tell`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`negRiskEligible: false`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`negRiskEligible: true`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Outcomes`}),_jsx(_components.td,{children:`one YES/NO market`}),_jsx(_components.td,{children:`2+ sibling markets, each YES/NO`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Settlement adapter`}),_jsxs(_components.td,{children:[`None (`,_jsx(_components.code,{children:`ConditionalTokens`}),` direct)`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`NegRiskAdapter`}),` (Gen 1) / `,_jsx(_components.code,{children:`negRiskAdapterGen2`}),` (Gen 2)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Settlement exchange`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`CTFExchange`}),` (`,_jsx(_components.code,{children:`ctfExchange`}),`)`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`NegRiskCtfExchange`}),` (`,_jsx(_components.code,{children:`ctfExchangeNegRisk`}),` / `,_jsx(_components.code,{children:`ctfExchangeNegRiskGen2`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`verifyingContract`}),` in EIP-712`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`market.exchangeAddress`}),`; when `,_jsx(_components.code,{children:`null`}),`, `,_jsx(_components.code,{children:`ctfExchange`}),` from `,_jsx(_components.code,{children:`/platform/contracts`})]}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`market.exchangeAddress`})}),`; when `,_jsx(_components.code,{children:`null`}),`, `,_jsx(_components.code,{children:`ctfExchangeNegRisk`}),` from `,_jsx(_components.code,{children:`/platform/contracts`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Contract generation`}),_jsxs(_components.td,{children:[`Shares `,_jsx(_components.code,{children:`oracle`}),` across Gen 1 and Gen 2`]}),_jsxs(_components.td,{children:[`Gen 1 uses `,_jsx(_components.code,{children:`negRiskAdapter`}),` / `,_jsx(_components.code,{children:`negRiskOracle`}),`; Gen 2 (`,_jsx(_components.code,{children:`contractGeneration: 2`}),`) uses `,_jsx(_components.code,{children:`negRiskAdapterGen2`}),` / `,_jsx(_components.code,{children:`negRiskOracleGen2`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Token ids (`,_jsx(_components.code,{children:`tokenId`}),` you sign)`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`outcomes[0].tokenId`}),` (YES) / `,_jsx(_components.code,{children:`outcomes[1].tokenId`}),` (NO) from the API (on-chain: `,_jsx(_components.code,{children:`getPositionId(USDC, getCollectionId(bytes32(0), conditionId, indexSet))`}),`, `,_jsx(_components.code,{children:`indexSet`}),` `,_jsx(_components.code,{children:`1`}),` = YES, `,_jsx(_components.code,{children:`2`}),` = NO)`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`outcomes[0].tokenId`}),` (YES) / `,_jsx(_components.code,{children:`outcomes[1].tokenId`}),` (NO) from the API, or `,_jsx(_components.code,{children:`NegRiskAdapter.getTokenIds(negRiskMarketId, negRiskQuestionIndex)`}),` → `,_jsx(_components.code,{children:`(yesId, noId)`}),`. These ids use a wrapped collateral token, not USDC, as their collateral, so the binary formula does not produce them.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`convertPositions`}),` available`]}),_jsx(_components.td,{children:`❌`}),_jsx(_components.td,{children:`✅`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Check `,_jsx(_components.code,{children:`exchangeAddress`}),` and `,_jsx(_components.code,{children:`contractGeneration`}),`.`]}),` An EIP-712 order signed for the\nbinary exchange will fail signature validation on a neg-risk market.\nAlways sign using the market’s own `,_jsx(_components.code,{children:`exchangeAddress`}),` as `,_jsx(_components.code,{children:`verifyingContract`}),`\n(when it is `,_jsx(_components.code,{children:`null`}),`, on generation-1 markets, `,_jsx(_components.code,{children:`ctfExchangeNegRisk`}),`).\nFor Generation-2 markets (`,_jsx(_components.code,{children:`contractGeneration: 2`}),`), redemption and dispute operations\nmust route through the Gen-2 contracts (`,_jsx(_components.code,{children:`negRiskAdapterGen2`}),` and `,_jsx(_components.code,{children:`negRiskOracleGen2`}),`).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`outcome-indexing`,children:`Outcome indexing`}),`\n`,_jsxs(_components.p,{children:[`Each outcome of a neg-risk group is its own market, with its own\n`,_jsx(_components.code,{children:`symbol`}),` and its own YES/NO token pair. The siblings share\n`,_jsx(_components.code,{children:`negRiskMarketId`}),`. `,_jsx(_components.code,{children:`negRiskQuestionIndex`}),` (`,_jsx(_components.code,{children:`0`}),`..`,_jsx(_components.code,{children:`N-1`}),`) gives a\nsibling’s position in the group, and `,_jsx(_components.code,{children:`groupItemTitle`}),` gives its name.`]}),`\n`,_jsxs(_components.p,{children:[`A 4-outcome group (`,_jsx(_components.code,{children:`Arsenal / Chelsea / Draw / Other`}),`) is four sibling\nmarkets with `,_jsx(_components.code,{children:`negRiskQuestionIndex`}),` `,_jsx(_components.code,{children:`0`}),`..`,_jsx(_components.code,{children:`3`}),`. To trade one outcome,\nsend that sibling’s `,_jsx(_components.code,{children:`symbol`}),` as `,_jsx(_components.code,{children:`marketId`}),`, with `,_jsx(_components.code,{children:`outcome: \"0\"`}),` for YES\nor `,_jsx(_components.code,{children:`outcome: \"1\"`}),` for NO, and sign under the neg-risk exchange domain.\n`,_jsx(_components.code,{children:`negRiskQuestionIndex`}),` is not the order `,_jsx(_components.code,{children:`outcome`}),`: `,_jsx(_components.code,{children:`outcome: \"2\"`}),` is\nrejected.`]}),`\n`,_jsx(Heading,{level:`2`,id:`convertpositions`,children:`convertPositions`}),`\n`,_jsxs(_components.p,{children:[`The neg-risk invariant: in an N-outcome group, one NO token on each\nof k outcomes is equivalent to one YES token on each of the other\nN-k outcomes plus k-1 USDC. `,_jsx(_components.code,{children:`convertPositions`}),` performs that swap\natomically: it burns the NO tokens selected by `,_jsx(_components.code,{children:`indexSet`}),` and returns\nthe complementary YES tokens plus the USDC.`]}),`\n`,_jsx(_components.p,{children:`It uses a dual-signature flow (vault owner + backend). First request\nthe backend co-signature:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /api/vault/convert-signature`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`X-Api-Key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" ps_live_\u003ckeyId>_\u003csecret> # needs `positions:write` or `vault:write` scope\"})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"marketId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003csymbol of any sibling in the group>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"indexSet\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"14\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000000\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`marketId`}),` is a sibling market’s `,_jsx(_components.code,{children:`symbol`}),`; the server resolves it to\nthe group’s on-chain `,_jsx(_components.code,{children:`negRiskMarketId`}),`. A binary market is rejected.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`indexSet`}),` is a decimal bitmask over `,_jsx(_components.code,{children:`negRiskQuestionIndex`}),` — bit `,_jsx(_components.code,{children:`i`}),`\nburns the NO token of outcome `,_jsx(_components.code,{children:`i`}),` (`,_jsx(_components.code,{children:`0b1110`}),` = `,_jsx(_components.code,{children:`\"14\"`}),` burns NO on\noutcomes 1, 2 and 3). An empty set is rejected, and so is one that\ncovers every outcome (`,_jsx(_components.code,{children:`invalid_index_set`}),` — burning the full set is a\nmerge, not a convert).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`amount`}),` is in base units (6 decimals), burned per outcome in the set.`]}),`\n`,_jsxs(_components.li,{children:[`Any other body field is rejected with `,_jsx(_components.code,{children:`400 invalid_request`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The response carries `,_jsx(_components.code,{children:`signedOpId`}),`, `,_jsx(_components.code,{children:`digest`}),`, `,_jsx(_components.code,{children:`backendSig`}),`, `,_jsx(_components.code,{children:`salt`}),`,\n`,_jsx(_components.code,{children:`deadline`}),`, the bytes32 on-chain `,_jsx(_components.code,{children:`marketId`}),`, the echoed `,_jsx(_components.code,{children:`indexSet`}),` and\n`,_jsx(_components.code,{children:`amount`}),`, your `,_jsx(_components.code,{children:`vaultAddress`}),`, and the `,_jsx(_components.code,{children:`tokenIds`}),` the convert will\nburn. Then:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Owner signature.`}),` With the vault owner’s EOA key, sign the\n`,_jsx(_components.code,{children:`ConvertPositions(bytes32 marketId,uint256 indexSet,uint256 amount,uint256 salt,uint256 deadline)`}),`\ntyped data built from the response values, under the vault domain\n(`,_jsx(_components.code,{children:`name: \"PredictStreetVault\"`}),`, `,_jsx(_components.code,{children:`version: \"1\"`}),`, the chain id,\n`,_jsx(_components.code,{children:`verifyingContract: vaultAddress`}),`). The returned `,_jsx(_components.code,{children:`digest`}),` is the\nEIP-712 hash of exactly that typed data, so you can also sign\n`,_jsx(_components.code,{children:`digest`}),` directly (raw, without a `,_jsx(_components.code,{children:`personal_sign`}),` prefix).`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Submit before `,_jsx(_components.code,{children:`deadline`}),`.`]}),` Either post\n`,_jsx(_components.code,{children:`{ signedOpId, ownerSig, backendSig }`}),` to\n`,_jsx(_components.code,{children:`POST /api/me/positions/op-submit`}),` — the platform submits it and pays\nthe gas; poll `,_jsx(_components.code,{children:`GET /api/me/positions/op-submit/{jobId}`}),` — or call\n`,_jsx(_components.code,{children:`vault.convertPositions(marketId, indexSet, amount, salt, deadline, ownerSig, backendSig)`}),`\non-chain yourself with the values from the response.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`How a convert moves cost basis and P\u0026L on `,_jsx(_components.code,{children:`GET /api/me/positions`}),` is\ndescribed under `,_jsx(_components.a,{href:`/concepts/portfolio/positions#neg-risk-converts`,children:`Neg-risk converts`}),`.`]}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`resolution`,children:`Resolution`}),`\n`,_jsxs(_components.p,{children:[`Each outcome has its own `,_jsx(_components.code,{children:`conditionId`}),` (`,_jsx(_components.code,{children:`outcomes[].conditionId`}),`).\nWhen the group resolves to a single winner, `,_jsx(_components.code,{children:`reportPayouts`}),` is called\nonce per outcome: `,_jsx(_components.code,{children:`[1, 0]`}),` (YES pays) on the winner’s condition and\n`,_jsx(_components.code,{children:`[0, 1]`}),` (NO pays) on every other outcome’s condition.`]}),`\n`,_jsxs(_components.p,{children:[`The group settles through the neg-risk oracle with the same propose → challenge →\nfinalize lifecycle, bond and challenge window as a binary market, keyed\nby `,_jsx(_components.code,{children:`negRiskMarketId`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Generation 1:`}),` Settles via `,_jsx(_components.code,{children:`negRiskOracle`}),` and `,_jsx(_components.code,{children:`negRiskAdapter`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Generation 2:`}),` Settles via `,_jsx(_components.code,{children:`negRiskOracleGen2`}),` and `,_jsx(_components.code,{children:`negRiskAdapterGen2`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/concepts/settlement/flow#neg-risk-markets`,children:`Settlement flow`}),` for details.`]})]})}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":"Neg-risk markets","description":"Groups of 2+ mutually exclusive outcomes settled through the NegRiskAdapter.","href":"/concepts/markets/neg-risk"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"When to use","slug":"when-to-use","depth":2,"children":[]},{"title":"Differences from binary","slug":"differences-from-binary","depth":2,"children":[]},{"title":"Outcome indexing","slug":"outcome-indexing","depth":2,"children":[]},{"title":"convertPositions","slug":"convertpositions","depth":2,"children":[]},{"title":"Resolution","slug":"resolution","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ideasoft","siteName":"ADI Predictstreet","title":"Neg-risk markets - ADI Predictstreet","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-25T12:43:21.523Z","originalFileLocation":"concepts/markets/neg-risk.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=\"Groups of 2+ mutually exclusive outcomes settled through the NegRiskAdapter.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ADI Predictstreet\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Neg-risk markets - ADI Predictstreet\">\u003cmeta data-mint-head property=\"og:description\" content=\"Groups of 2+ mutually exclusive outcomes settled through the NegRiskAdapter.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ADI Predictstreet\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.adipredictstreet.com/concepts/markets/neg-risk\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ideasoft.mintlify.site/_mintlify/api/og/v2?division=Markets\u0026amp;title=Neg-risk+markets\u0026amp;description=Groups+of+2%2B+mutually+exclusive+outcomes+settled+through+the+NegRiskAdapter.\u0026amp;theme=bd21456dccaef7fe76d77282\u0026amp;signature=4a66f4a6e8b71cc4dd6e11475853475c3d488c7282869f876f1c01a05c7b2896\">\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=\"Neg-risk markets - ADI Predictstreet\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Groups of 2+ mutually exclusive outcomes settled through the NegRiskAdapter.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ideasoft.mintlify.site/_mintlify/api/og/v2?division=Markets\u0026amp;title=Neg-risk+markets\u0026amp;description=Groups+of+2%2B+mutually+exclusive+outcomes+settled+through+the+NegRiskAdapter.\u0026amp;theme=bd21456dccaef7fe76d77282\u0026amp;signature=4a66f4a6e8b71cc4dd6e11475853475c3d488c7282869f876f1c01a05c7b2896\">\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/ideasoft/T2TJrNWM5Wm-DXAw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ADI Predictstreet\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#013CFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.adipredictstreet.com/concepts/markets/neg-risk\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/concepts/markets/neg-risk.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.adipredictstreet.com/#organization\",\"name\":\"ADI Predictstreet\",\"url\":\"https://docs.adipredictstreet.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ideasoft/m6stBITx7YzlhMtC/logo/light.svg?fit=max\u0026auto=format\u0026n=m6stBITx7YzlhMtC\u0026q=85\u0026s=67eed2cbc5343eb0cb47d0945877af3f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.adipredictstreet.com#website\",\"name\":\"ADI Predictstreet\",\"url\":\"https://docs.adipredictstreet.com\",\"publisher\":{\"@id\":\"https://docs.adipredictstreet.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.adipredictstreet.com/concepts/markets/neg-risk#webpage\",\"url\":\"https://docs.adipredictstreet.com/concepts/markets/neg-risk\",\"name\":\"Neg-risk markets\",\"description\":\"Groups of 2+ mutually exclusive outcomes settled through the NegRiskAdapter.\",\"dateModified\":\"2026-11-25T12:43:21.523Z\",\"isPartOf\":{\"@id\":\"https://docs.adipredictstreet.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.adipredictstreet.com/concepts/markets/neg-risk#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.adipredictstreet.com/concepts/markets/neg-risk#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Markets\",\"item\":\"https://docs.adipredictstreet.com/concepts/markets/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Neg-risk markets\",\"item\":\"https://docs.adipredictstreet.com/concepts/markets/neg-risk\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.adipredictstreet.com/concepts/markets/neg-risk#article\",\"headline\":\"Neg-risk markets\",\"name\":\"Neg-risk markets\",\"description\":\"Groups of 2+ mutually exclusive outcomes settled through the NegRiskAdapter.\",\"url\":\"https://docs.adipredictstreet.com/concepts/markets/neg-risk\",\"mainEntityOfPage\":{\"@id\":\"https://docs.adipredictstreet.com/concepts/markets/neg-risk#webpage\"},\"dateModified\":\"2026-11-25T12:43:21.523Z\",\"publisher\":{\"@id\":\"https://docs.adipredictstreet.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.adipredictstreet.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ADI Predictstreet\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ADI Predictstreet\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/concepts/markets/neg-risk.md","siteName":"ADI Predictstreet","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Platform overview","href":"/platform-overview"},{"title":"Environment","href":"/environments"}]},{"group":"Authentication","pages":[{"title":"Authentication overview","href":"/auth/overview"},{"title":"API keys","href":"/auth/api-keys"},{"title":"Rate limits","href":"/auth/rate-limits"}]},{"group":"Vaults","pages":[{"title":"Vaults overview","href":"/concepts/vaults/overview"},{"title":"Backend auto-deploy","href":"/concepts/vaults/auto-deploy"},{"title":"Recovering expired split / merge locks","href":"/concepts/vaults/recovery"}]},{"group":"Vault generation 2","pages":[{"title":"Vault generation 2","href":"/concepts/vault-gen2/overview"},{"title":"Detect a market's generation","href":"/concepts/vault-gen2/market-generation"},{"title":"Upgrade and move USDC","href":"/concepts/vault-gen2/upgrade"},{"title":"Orders and vault operations","href":"/concepts/vault-gen2/vault-operations"},{"title":"API keys and WebSocket","href":"/concepts/vault-gen2/api-keys-websocket"},{"title":"Emergency exit and upgradeability","href":"/concepts/vault-gen2/emergency-exit"}]},{"group":"Deposits","pages":[{"title":"Deposits overview","href":"/concepts/deposits/overview"},{"title":"Deposit limits","href":"/concepts/deposits/limits"}]},{"group":"Trading","pages":[{"title":"Order lifecycle","href":"/concepts/trading/order-lifecycle"},{"title":"EIP-712 signing","href":"/concepts/trading/eip712-signing"},{"title":"Placing orders","href":"/concepts/trading/placing-orders"},{"title":"Cancelling orders","href":"/concepts/trading/cancelling"},{"title":"Time-in-force","href":"/concepts/trading/time-in-force"},{"title":"Fees","href":"/concepts/trading/fees"}]},{"group":"Events \u0026 Tags","pages":[{"title":"Events overview","href":"/concepts/events/overview"}]},{"group":"Markets","pages":[{"title":"Markets overview","href":"/concepts/markets/overview"},{"title":"Binary markets","description":"Two-outcome YES/NO markets settled through CTFExchange + ConditionalTokens.","href":"/concepts/markets/binary"},{"title":"Neg-risk markets","href":"/concepts/markets/neg-risk"},{"title":"Crypto markets","description":"Markets on crypto prices and market data (BTC, ETH, SOL, dominance, total market cap): the machine-readable crypto rule, the product catalog, the underlying-price curve endpoint, and how to find them in the catalog.","href":"/concepts/markets/crypto"},{"title":"Up/Down windows","href":"/concepts/markets/crypto-updown"},{"title":"Orderbook","href":"/concepts/markets/orderbook"},{"title":"Market status","href":"/concepts/markets/market-status"}]},{"group":"Portfolio","pages":[{"title":"Balances","href":"/concepts/portfolio/balances"},{"title":"Positions","href":"/concepts/portfolio/positions"},{"title":"Trades","href":"/concepts/portfolio/trades"},{"title":"Fee ledger","href":"/concepts/portfolio/fees"}]},{"group":"Withdrawals","pages":[{"title":"Withdrawals overview","href":"/concepts/withdrawals/overview"},{"title":"Dual-signature flow","href":"/concepts/withdrawals/dual-sig"},{"title":"WithdrawERC20 EIP-712","href":"/concepts/withdrawals/eip712"},{"title":"State machine","href":"/concepts/withdrawals/state-machine"},{"title":"Deposit sources","href":"/concepts/withdrawals/deposit-sources"},{"title":"Withdrawal 2FA (TOTP)","href":"/concepts/withdrawals/two-factor"},{"title":"Withdrawal address whitelist","href":"/concepts/withdrawals/address-whitelist"}]},{"group":"WebSocket","pages":[{"title":"WebSocket overview","href":"/concepts/websocket/overview"},{"title":"Subscriptions","href":"/concepts/websocket/subscriptions"},{"title":"Message shapes","href":"/concepts/websocket/messages"},{"title":"Crypto price feeds","href":"/concepts/websocket/crypto-price"},{"title":"Reconnect \u0026 resync","href":"/concepts/websocket/reconnect"}]},{"group":"Settlement \u0026 Oracle","pages":[{"title":"Settlement \u0026 oracle overview","href":"/concepts/settlement/overview"},{"title":"Settlement flow","href":"/concepts/settlement/flow"},{"title":"Challenges","href":"/concepts/settlement/challenges"},{"title":"Void \u0026 delayed markets","href":"/concepts/settlement/void-delay"}]},{"group":"On-chain Contracts","pages":[{"title":"Contracts overview","href":"/concepts/contracts/overview"},{"title":"Addresses","href":"/concepts/contracts/addresses"},{"title":"CTFExchange","href":"/concepts/contracts/ctf-exchange"},{"title":"VaultFactory + Vault","href":"/concepts/contracts/vaults"},{"title":"ConditionalTokens","href":"/concepts/contracts/conditional-tokens"},{"title":"NegRiskAdapter","href":"/concepts/contracts/neg-risk-adapter"},{"title":"Oracle","href":"/concepts/contracts/oracle"},{"title":"Audits","href":"/concepts/contracts/audits"}]},{"group":"Partners","pages":[{"title":"Partner Trades \u0026 Reconciliation","href":"/concepts/partners/trades-and-recon"},{"title":"Maintenance Notifications","href":"/concepts/partners/maintenance-notifications"},{"title":"Pausing Trading Around Maintenance","href":"/concepts/partners/pausing-around-maintenance"}]},{"group":"Errors","pages":[{"title":"Errors overview","href":"/errors/overview"},{"title":"Error codes","href":"/errors/codes"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Neg-risk markets - ADI Predictstreet","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":[],"chunks":[]}