Skip to content

Price Feed Settlement

Price Feed settlement automatically resolves markets based on real-time cryptocurrency prices from CoinGecko.

Scope

Markets with outcomes objectively determined by cryptocurrency prices.

Currently supported assets:

AssetCoinGecko IDSymbol
BitcoinbitcoinBTC
EthereumethereumETH
SolanasolanaSOL
RipplerippleXRP
CardanocardanoADA

Configuration

Set at market creation:

FieldDescriptionExample
AssetCoinGecko asset IDbitcoin
ConditionAbove or Belowabove
ThresholdTarget price in USD100000

Flow

  1. Market close date (closes_at) reached
  2. System fetches current USD price from CoinGecko API (/simple/price)
  3. Evaluates condition:
    • above: current price ≥ threshold → YES; otherwise → NO
    • below: current price ≤ threshold → YES; otherwise → NO
  4. Positions auto-settled
  5. Market status: activeresolved

Example

Market: "BTC breaks $100,000 by March 2026"
Config: bitcoin / above / $100,000
Close: 2026-03-31
At close, BTC = $105,000 → Settle YES
At close, BTC = $95,000 → Settle NO

Source Failure Handling

ScenarioAction
Temporary API outageSettlement deferred; retried on next check
Extended outage (24h+)Admin may intervene manually
Permanent data unavailabilityMarket voided (see Void & Cancel)