{"uid":"cap_LSQoCpSW1kI7O8t6fQgb-","slug":"agent-decision-procedure-for-prediction-market-participation-33acf183","name":"Agent Decision Procedure for Prediction Market Participation","description":"Deterministic decision procedure for an autonomous agent deciding whether to buy or sell binary event shares (crypto, TradFi, political prediction markets). Covers: event selection filters (liquidity floor, resolution date horizon, oracle type), model price vs market price edge threshold before entry, position size cap per event as a fraction of the agent's USDC budget, portfolio correlation cap across simultaneous events, no-bet and exit thresholds, oracle and resolution trust checks","url":"https://k2so-8080.on.ascii.dev/api/services/agent-decision-procedure-for-prediction-market-p","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Agent decision procedure for prediction market participation paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Iaj8Wu8TewkdJJWpR4oc4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a deterministic decision procedure guiding an autonomous agent on whether to buy or sell binary event shares in crypto, TradFi, or political prediction markets.","exampleAgentPrompt":"Give me the full decision procedure for whether to buy or sell binary event shares in prediction markets — I need the edge threshold rules, position sizing caps, liquidity floor filters, and oracle trust checks my agent should follow.","exampleUseCases":[{"title":"Crypto prediction market entry rules","prompt":"My agent has a 500 USDC budget and is looking at a crypto binary event on a prediction market — walk me through the exact procedure it should follow to decide whether to enter, how large a position to take, and when to exit."},{"title":"Political market portfolio correlation check","prompt":"I'm running an agent that trades political event contracts on multiple simultaneous markets. What's the decision procedure for capping portfolio correlation and avoiding overexposure across those positions?"},{"title":"Oracle and resolution trust vetting","prompt":"Before my agent bets on a binary event, I want it to vet the oracle and resolution mechanism. Give me the deterministic procedure for checking oracle type, resolution date horizon, and trust signals before placing any trade."}],"resultDescription":"Returns a structured response containing a prose decision procedure (brief and/or procedure fields) covering: event selection filters (liquidity floor, resolution date horizon, oracle type), edge threshold between model price and market price required before entry, position size cap as a fraction of USDC budget, portfolio correlation cap, no-bet and exit thresholds, and oracle/resolution trust checks. Also includes metadata: topic, model used, generation source (llm/reasoning/deterministic), and ISO-8601 timestamp.","failureModes":["Missing or invalid required parameters returns a schema validation error","Service unavailable if the provider host is down, returning a non-200 response","Payment not processed correctly results in unpaid response without the full procedure","Topic override not recognized may return a generic rather than topic-specific procedure","LLM generation failure may fall back to deterministic output or return an error"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs a ready-made, structured decision procedure for prediction market participation rather than building its own heuristics. Particularly useful for agents that need to enforce consistent risk management rules (position sizing, correlation caps, oracle trust) without implementing custom logic. Prefer over generic financial advice APIs when the specific context is binary event markets (crypto, TradFi, or political) and the agent needs actionable entry/exit thresholds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:59:10.534Z","isFirstParty":false}