Skip to content

Trading on the site

sagitta.broker is a window onto the contracts. The board, the feed and the leaderboards come from the API, which reads the contracts for you. A portfolio, yours or anyone’s, is one call to the API every 30 seconds: every holding at the board’s NAV, a few seconds behind the chain. Every number that has to be current is read from Elysium itself, from its public endpoint: the open market’s pots and NAVs every 10 seconds, and, with a wallet connected, your own shares, tickets, balance and what that market owes you every 15 seconds. Every button builds its transaction with the SDK, checks it on chain, and only then hands it to your wallet.

The board lists stocks first, then crypto (see Markets), and every market carries the Relayed price badge: its readings are signed by Sagitta’s price signers (see Relayed prices). A stock’s tokens from different issuers sit together under their ticker. In Pro, the nav’s Trade reopens the last market you looked at. Until you have opened one, it goes to /trade, which picks the busiest stock market whose session is open, else any stock market, and says so plainly when no market is listed.

The search at the top of every page finds a market by its ticker, its name, or any address it trades on: the market itself or its relayed feed. Pick one from the list to open it. Press / to search from anywhere.

The site has two views, switched by the Simple | Pro toggle at the top of every page. New visitors start in Simple. Your browser remembers the choice, and a link ending in ?view=simple or ?view=pro opens that view.

Simple Pro
Front page What Sagitta is, how it works in three steps, one card per stock or feed (its price, the day’s move, where the money sits, and Up and Down), and the house token’s burn The full board: the live totals, the trade feed, every market in one sortable table with its siblings, the numbers and the house token’s burn
Market page The price chart, where the money sits, and one trade box: pick Up or Down, enter an amount, and see what a 1% move up, a 1% move down, or no move would leave you with before you buy The terminal: holders and live fills, the readings chart, the Take position card with Buy and Cash out, your positions, tickets and history, and the pots, rules, oracle and upkeep
Your positions Each position with its value and gain or loss, and one Cash out for all of it The full portfolio: P&L, older epochs, tickets, refunds, owed HYPE and referrals
Around the site The same top menu as Pro, without the live traders chip or the trade toasts. Connect offers your own wallet or a spare one kept in this browser Everything, including the live traders chip and the trade toasts

Both views read the same contracts and send the same transactions through the same checks below; Simple shows less. Its outcomes assume one price update and count the 4% fee in and the 4% fee out. A partial cash-out, converting an older epoch and collecting owed HYPE are in Pro. The rest of this page describes Pro.

  1. Build. The SDK’s builder writes the exact call: commitMint, commitRedeem, convert, claim, execute and so on. Every address the call would pay is named in it.
  2. Check the payees. The payee guard refuses, before anything is signed, any payee that could never collect: another market, a side token of any epoch, or a Sagitta contract. It checks on chain, and a check that gets no answer refuses too.
  3. Simulate. The call runs once as a read. If the market would say no (under the minimum, mints closed, nothing owed), you see why in plain words and no transaction is made.
  4. Sign and send. Only a transaction that passed both checks reaches your wallet. A burner signs in the browser and pays its gas from its own balance; any other wallet asks you first. Emptying a burner goes through the same payee guard, so a sweep to a Sagitta contract, WHYPE, a market or a side token is refused.
  5. Confirm. The site waits for the receipt, then says what happened.

The Take position card has two sides, Long · UP and Short · DOWN, and two tabs: Buy (commitMint) and Cash out (commitRedeem). Under the amount, a line names who the ticket pays:

Field Buy Cash out Default
Shares to / HYPE to Gets the shares Gets the HYPE Your wallet
Refunds to Gets your HYPE back whole Gets your shares back whole Your wallet

Open the line to send a ticket somewhere else. A market or a side token is refused there, since it could never collect. The smallest mint and the smallest cash-out come from the market itself, and when a market’s mints are closed the ticket says so; cash-outs always work.

A ?ref=<address> link names the referrer your first mint binds. The referrer is optional: a link that names something that could never collect (a Sagitta contract, WHYPE, a market or a side token) is ignored, and if the on-chain check turns one down, the mint goes ahead without a referrer and the site forgets that link.

A ticket fills at the first reading after its commit (see Delayed NAV), never at a price you could see. The ticket card lists yours on that market, newest first, and the Tickets tab and your Portfolio (/me) list them all:

State What the ticket shows
Waiting What its reading is: the first round observed more than 60 seconds after its commit
Matured ready: anyone can execute it. Execute fills it now and pays you its bounty
Forced the market froze first. On the next execute, a mint is refunded whole to its refund address, and a cash-out pays at the frozen NAV
Refunded Why: the market closed first, or the mint was too small to fill. It was paid back whole to its refund address

A ticket that names another recipient or refund address shows that address too.

A market’s page also shows where its reading stands and lists every posted round, as GET /api/readings gives them, with the price signers’ keys and the transaction that posted each. A stock shows its token’s issuer, the price per displayed share beside the price per base unit, and where its session stands.

Executor bounties, referral fees and any payment that could not be pushed to you wait in each market as owed HYPE. The ticket card shows what that market owes you, with Collect (claim(to)), and your Portfolio lists every market that owes you something. Each market pays its own.

If the site can’t read the chain (the public endpoint fails, or asks it to slow down), the market page says live state is unavailable and shows the indexer’s last snapshot until the chain answers again. An endpoint that asks the site to slow down is left alone for as long as it asks, up to two minutes. A link like /m/sol-usd keeps the market it opened on, and listing order still comes from each market’s listing time. Your Portfolio shows the indexer’s total of what you’re owed, with no Collect until it can read each market again.

When a side rolls to a new epoch, your old tokens keep their value. Your positions list them under Older epochs, each with what it converts to now (the market’s own previewConvert) and what that is worth at NAV:

  • Convert swaps them for the current epoch’s shares (convert).
  • Cash out redeems them directly (commitRedeemEpoch); the market converts them inside the redemption.

The feed shows every roll as it happens: UP rolled to epoch 1.

Every market page ends with an Inside this market panel, folded until you open it. It holds the pots, the rules, the oracle and the upkeep calls, which are open to anyone; a link to #hood, #pots, #rules or #oracle opens it. The useful calls pay a bounty.

  • Execute fills matured tickets.
  • Settle up (poke) applies the reading that is ready and fills what it matures.
  • Top up the pots adds HYPE straight to a live side’s pot, or shares it between both.

The front pages close with the burn: the burn’s share of each fee, the HYPE in the burn vault, the next burn window and what it will spend, and the $SAGITTA burned so far (see The burn).

List a market (/new) offers the stock tokens first, then the Chainlink feeds: pick any token or feed the timelock has added, and the site lists a market on it with createFeedMarket and the factory’s 2 × 10⁻⁹ HYPE seed, with two side-token salts bound to your own address, so nobody can take them from you. If the token or feed already has a market, the new one is a sibling with pots of its own, and its short link still opens its lead market.