Skip to main content

Positions, Complete Sets & Withdrawals

The My Holdings and My Orders panels on the trading page manage all your assets and open orders in the current market.

My Holdings

Shows your wallet's YES / NO balances for this market, plus locked / withdrawable funds in your order-book seat. Three key actions live here:

Mint Pairs

Convert N USDC into N YES + N NO:

  1. Enter an amount and click Mint;
  2. On-chain MintPair executes: your USDC moves into the market vault, and the market PDA mints equal YES and NO to your token accounts.

Use cases:

  • Trade both sides: mint a set, then sell the side you don't like;
  • Market-making inventory: get two-sided inventory without buying from the book;
  • Arbitrage: when P(Yes) + P(No) > 1, mint a set and sell both sides for a risk-free profit.

Redeem Pairs

The reverse: burn equal YES + NO and withdraw the same amount of USDC from the vault (RedeemPair). When P(Yes) + P(No) < 1, buy both sides and redeem — the arbitrage in the other direction.

Complete sets anchor the price

Because anyone can mint / redeem 1:1 at any time, arbitrageurs pin P(Yes) + P(No) to 1 — this is the mechanism that makes "price = probability" hold.

Claim Funds (withdraw fill proceeds)

As a maker, proceeds from filled limit orders (USDC from asks, YES/NO from bids) accrue to your order-book seat's free balance — they do not land in your wallet automatically. Click Claim Funds to run ClaimFunds, which transfers all three legs (USDC / YES / NO) back to your wallet in one go.

Once your balances hit zero, the seat is recycled automatically and stops occupying book capacity.

My Orders

Shown only while the market is Active. Lists all your resting limit orders: side, price, size, filled amount.

  • Cancel one: click the cancel button on the row (CancelOrder). Locked funds return to your seat balance immediately;
  • Cancel all: Cancel All (CancelAllOrders) cancels everything and refunds in one transaction.
Why cancelling needs the order's side

The on-chain order ID encoding cannot distinguish YES from NO orders (BidYes and BidNo share the same bit pattern), so cancellation must pass the original Side. The official frontend records and handles this automatically.

Trader Account (TraderInfo)

A global PDA created automatically on your first trade. It tracks, across markets, your total order count, total volume, active order count and recent order history (18 markets × 20 orders each). When you have no active orders you can call CloseTraderAccount to close it and reclaim the rent (SOL).