Understanding Shares#
A market has YES shares and NO shares. Each share is a claim on that market's terminal payout. Read the market's source and payout rules before trading. External markets can have different rules from native Pyth markets.
Native market payouts#
The program compares the start and end confidence intervals after exponent normalization.
| Result | Required comparison | YES payout | NO payout |
|---|---|---|---|
| UP | end_low > start_high | 1 settlement unit | 0 |
| DOWN | end_high < start_low | 0 | 1 settlement unit |
Neutral EXPIRED | Equal, touching, overlapping, or unusable intervals | 0.50 | 0.50 |
A point-price tie does not produce UP. See worked native examples. The payout does not include the amount you paid or your trading fees.
Share pricing#
An order price uses basis points (bps). A price of 6000 bps means 0.60 settlement unit per share. The YES and NO books have separate quotes. Their executable prices need not add to 1. NO prices are never complemented. Each order uses its named outcome's own price. A missing quote means missing liquidity. It does not imply a price of 0.50.
You can buy either outcome. You can sell only shares available to the selected funding path. A sell does not create a short position. A sale needs a buyer at an acceptable price. See the four order actions.
Full collateralization#
MintShares deposits collateral and creates an equal quantity of YES and NO shares.
For a native market, 100 settlement units create 100 YES and 100 NO shares.
The complete set has a total terminal entitlement of 100 settlement units, before integer rounding.
Order matching transfers existing assets. It does not mint a new pair on each fill.
WithdrawShares materializes backed ledger shares in wallet token accounts.
MergeCompleteSet burns equal available quantities before resolution and returns complete-set collateral.
See mint and merge instructions.
Profit and loss#
These examples use one native share. They exclude fees and SOL costs.
| Purchase | UP payout / profit or loss | DOWN payout / profit or loss | Neutral payout / profit or loss |
|---|---|---|---|
| YES for 0.60 | 1.00 / +0.40 | 0 / −0.60 | 0.50 / −0.10 |
| NO for 0.40 | 0 / −0.40 | 1.00 / +0.60 | 0.50 / +0.10 |
Subtract trading fees from these results. A neutral outcome can produce a profit or a loss. At whole-share quantities, 100 YES plus 100 NO pay 100 settlement units under all three native outcomes. Separate redemptions can leave integer rounding dust at smaller quantities.
Position accounting#
Wallet tokens, free ledger shares, and escrow shares are distinct holdings. A position mirror describes underlying holdings. Do not add that mirror to the holdings again.
| Holding | Available action |
|---|---|
| Wallet settlement tokens | Deposit, mint, or fund a wallet buy |
| Free quote balance | Withdraw or fund a free-funds buy |
| Locked bid collateral | Cancel or use the applicable terminal cleanup path |
| Available YES or NO shares | Sell, merge eligible pairs, or redeem after resolution |
| Shares locked in an ask | Cancel or use the applicable terminal ask unwind |
After resolution, claim your payout. After seven days, permissionless cleanup can pay owners. No keeper must submit that cleanup. Unpaid trader liabilities block market closure.