Practice wallet

"mode": "paper" · ATLAS · GET /flow/v1/auth/account/paper · POST …/paper/deposit
Live

Every account has a play-money wallet in ATLAS, with free top-ups, running the same order path as real money: real venue prices, real settlement, one code path. Ship the whole product before anyone deposits a dollar.

What you skip

OpenMarkets handles

  • A ledger per account, and the balance on it
  • Fills at the best live price on a real venue, on the internal OpenMarkets book
  • Settlement and grading through the same resolution path as a real order
  • Per-model and per-currency performance that never blends ATLAS with USD

You do

  • Send "mode": "paper" on a leg
  • Show the ATLAS balance next to, never added to, real money
  • Top up when a user runs dry

Paper is a mode, not an environment

Any execution credential can place a paper order — a live key, a test key, an app's install key, a person's session — by putting "mode": "paper" on the leg. The order books against the OpenMarkets practice venue at the venue quote you named, and settles when the market does.

POST /flow/v1/auth/orders/buy
{
  "model_id": "m_…",                       // optional — file it under a model
  "orders": [
    { "liquidity_hash": "kalshi:ct_abc123:…", "amount": 25, "max_price": 0.62, "mode": "paper" }
  ]
}
  • On a live key, mode defaults to real; paper must be asked for.
  • On a test key, a leg without mode is rejected rather than assumed — see Test mode.
  • A position is paper-bettable when it has a registered resolver and a real quote behind it; the liquidity feed says so per position with paper_bettable.
  • Placing a paper order needs trade:practice or trade:execute; reading the wallet needs account:read.
Never add ATLAS to USD. They are different currencies in separate buckets. Balances, positions and performance are all partitioned by currency for exactly this reason — render each on its own.
GET/flow/v1/auth/account/paper

The practice wallet: the ATLAS balance, the largest single top-up, and the cap the balance may not exceed. Acts on the key's own account, or on a Connect user with X-OpenMarkets-Account.

Try it
GET/flow/v1/auth/account/paper
Response.data
{
  "currency": "ATLAS",
  "balance": 1000,
  "max_deposit": 100000,
  "balance_cap": 10000000
}
POST/flow/v1/auth/account/paper/deposit

Top the wallet up. Body { amount, description? } — amount above 0, at most two decimals, at most max_deposit (400 invalid_amount), and the result may not exceed balance_cap (409 balance_cap). Needs trade:practice or trade:execute, the same gate as placing a paper order. Send an Idempotency-Key; the reply is 201 with the new balance and the ledger entry.

Request + Response
// Request body
{ "amount": 500, "description": "weekly top-up" }

// 201 · Response.data
{ "currency": "ATLAS", "amount": 500, "balance": 1500, "om_ledger_id": "led_…" }
GET/flow/v1/auth/account/paper/ledger

The wallet's ledger, newest first. type is one of opening_balance, bet_debit, settlement_credit, sale_credit, refund, adjustment, deposit. Each entry names the order that moved it, when one did.

NameInTypeRequiredDescription
limitqueryintegernoMax 200
Try it
GET/flow/v1/auth/account/paper/ledger?limit=50

Max 200

Response.data
{
  "currency": "ATLAS",
  "entries": [
    { "ledger_id": "led_…", "type": "settlement_credit", "amount": 40.32, "balance_after": 1515.32,
      "router_order_id": "ro_…", "description": null, "created_at": "2026-09-22T04:10:00Z" },
    { "ledger_id": "led_…", "type": "bet_debit", "amount": -25, "balance_after": 1475,
      "router_order_id": "ro_…", "description": null, "created_at": "2026-09-22T03:02:11Z" },
    { "ledger_id": "led_…", "type": "deposit", "amount": 500, "balance_after": 1500,
      "router_order_id": null, "description": "weekly top-up", "created_at": "2026-09-21T18:00:00Z" }
  ]
}

Selling a practice position

A practice position can be sold before it settles, through the same endpoints as any sell: POST /orders/sell and /orders/sell/preview. The request, response and rules are on Placing orders. This page covers what is specific to practice.

  • How the price is found. The practice book has no depth of its own, so a sell is priced from real venues. The bid for your position is one minus the best ask for its opposite side, on a venue whose two sides trade on the same instrument. The bid is never above the best price the position could be bought at, so you cannot buy and sell the same position for a profit.
  • No bid, no sell. If no venue gives a bid that way, the sell is refused with no_live_bid_for_paper. That applies to limit sells too, and the preview says so.
  • Market sell. If the bid is at or above your min_price, the whole size fills at once, at the bid. If it is below, nothing sells and the leg is failed with bid_below_min_price.
  • Limit sell. If the bid is at or above your min_price it fills at the bid, like a market sell. If it is below, the sell rests. It fills in full, at your limit price, once the bid reaches it.
  • A resting sell expires. It is cancelled when its contest is no longer open, or after 7 days unfilled. Cancel it yourself with POST /orders/cancel and the sell's router_order_id. The contracts it held back become sellable again.
  • Money. The wallet is credited when the sell fills, with the proceeds, as a sale_credit ledger entry that names the sell order. There is no fee on a practice sell, and placing or cancelling a resting sell moves no money. When the market later settles, it pays only on the contracts you still hold. A position you have sold out of does not settle: it is closed with outcome sold.
  • A position with a sell still working is not settled until that sell fills, expires or is cancelled.

Where else it shows up

  • GET /auth/account/balances returns an ATLAS bucket beside the USD one — see Venues & balances.
  • GET /auth/performance and every model read partition by currency, so a paper strategy and a real one never share a number — see Models & attribution.
  • A Connect flow can be marked practice-only, so an organization's users trade in ATLAS without linking a real venue at all.

Coming next

OM-08 · Wallet SDK · Soon

Real-money balances, paid features and payouts, on the same wallet model. Planned, not available; nothing here promises a date. The practice wallet is the live rung.

Next