CallWindow

Method and boundaries

One cutoff, one disclosed clearing method.

CallWindow is a bounded uniform-price auction demo with a separate read-only PreStocks market chooser. The rules below describe what the devnet program accepts, how it chooses a price, and what happens to funded balances after close.

01

Cutoff

Each auction has a disclosed cutoff timestamp. Orders can be placed while the window is open. After cutoff, no new funded order is accepted.

02

Funded limits

A buy order escrows its maximum payment in DEMO-USD. A sell order escrows its full DEMO-EQUITY quantity before it can participate.

03

Clearing

At close, the program scans the candidate price grid and maximizes matched quantity. Compatible orders settle at one uniform clearing price.

04

Tie breaks

If several prices match the same quantity, the method minimizes imbalance, chooses the price nearest the opening reference, then chooses the lower price.

05

Cancellation

An order owner can cancel an active order before cutoff. The escrowed demo balance is returned through the program’s cancellation path.

06

Partial fills

When available quantity is smaller than an order, the order can fill partially. The filled amount settles at the clearing price and the remainder is claimable.

07

Claims and refunds

After a successful close, owners claim filled proceeds and any unfilled remainder. A no-cross or failed clearing path returns the escrow through refunds.

08

Bounds

The program accepts at most 32 funded orders and 101 contiguous one-cent candidate ticks. The tested worst-case comparison bound is 7,520.

The liquidity problem

Willing buyers and sellers may miss each other.

In an infrequent market, interest can be real but arrive at different times. A continuous route may show no match, or ask one side to trade immediately at a price they do not want.

CallWindow creates a known cutoff for funded limit orders to meet. Compatible interest can then clear at one price. Waiting may create a chance to trade, but it never guarantees a fill or better execution. Orders can remain unmatched, fill partially, or be refunded.

Assets and scope

The demo tokens are deliberately generic.

Each supported product has its own unmistakably named CallWindow Devnet test base mint and the shared DEMO-USD quote mint. These tokens have no equity backing, issuer rights, or monetary value, and they have no connection to KALSHI, OPENAI, SPACEX, or any other PreStocks product. The Demo reads the selected official record as a mainnet reference, then runs a separate Devnet test auction. The official mint never becomes an auction asset.

Market test assetsCW-KALSHI-TEST · CW-OPENAI-TEST · CW-SPACEX-TEST
Auction quote test asset7gLQ8vdtYTxbHa4YK9gjjsVe49WiKeH6pi2pV8us8zd4
Historical proof pairB6ZoEr92PB58bN1MgTXwjZHBUxCZ895ERVdhFJtSQFcP · 7gLQ8vdtYTxbHa4YK9gjjsVe49WiKeH6pi2pV8us8zd4

Market-specific Demo

Try one bounded devnet window.

Choose one of the up to three products returned by the current official API. The selected symbol is mapped server-side to its named CallWindow test mint and DEMO-USD. Connect a wallet on Solana devnet, use the faucet for SOL, and claim a capped amount of that market's test shares and DEMO-USD up to two times per wallet within the 50-claim global cap. Submit a funded buy or sell limit before cutoff. After cutoff, anyone can close the window, then an order owner can claim a fill or refund.

Market routingOfficial symbol + server-side test-mint allowlist
Visitor capacity32 funded orders per isolated market window
Distribution1 claim per wallet · 20 claims per window
FundingDevnet SOL faucet only · no mainnet transaction

Next step

See the selected market and its window together.

The Demo keeps the selected official PreStocks record read-only, then runs that product's separate Devnet test-asset flow below it.

Open the market Demo