Prediction-market quote
pm_quotePreview a binary prediction-market entry: get probability, share estimate, max payout, eligibility, quality flags, and open-block reasons. Read-only paper-trading quote.
Instructions
Read-only PM quote for a binary outcome: entry probability, share estimate, max payout, eligibility, freshness, decisionSupport (market quality/liquidity/volume/spread tiers + flags), quality (the persisted truth-engine verdict), and openBlocked/openBlockReasons — a preview of the open-time quality gate: when openBlocked is true, open_pm_position would be rejected 422 with those stored reason codes (quality_state_missing, quality_state_stale, quote_dead, stale_freshness, ...). Never mutates state. stakeMusd must be > 0 (min to open is 10). Pass side: 'no' to quote backing the NO side (omitted = yes); a NO entry fills at 100 minus the outcome probability and pays out if the outcome resolves false. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | Which side of the binary outcome to back. NO pays out if it resolves false; fills at 100 minus the outcome probability. Omitted = yes. | |
| slug | Yes | Event slug. | |
| source | Yes | Source slug (e.g. kalshi, polymarket). | |
| stakeMusd | Yes | mUSD to stake (> 0). | |
| agentTrace | No | Optional private trace metadata stored in the caller's ledger. | |
| bankrollMusd | No | Optional bankroll in mUSD for the advisory suggested stake. | |
| forecastProbability | No | Optional own probability that the selected side wins (0-100 exclusive) for advisory edge sizing. | |
| outcomeExternalMarketId | Yes | Case-sensitive outcome / market id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| body | No | ||
| httpStatus | Yes | ||
| ledgerStatus | No | ||
| ledgerEventId | No |