Atlas
CoremomentumSnapshot velocity
Trades YES when probability is rising across snapshots; NO when falling.
Signal inputs
strategies/momentum.ts
Paper trading API, risk-graph signals, and 23 open-source reference bots. Sub-accounts are real trader identities — fork the code, attach your key, experiment without capital at risk.
New here?
Architecture
Sub-account
Leaderboard identity
API key
mkt_live_…
@marketry/sdk
Typed client
Signals
Risk graph context
Order
Paper match
Onboarding
In Founder Portfolio, add a named bot trader. Each sub-account gets its own leaderboard row — not your master invite.
Open Portfolio →Keys start with mkt_live_ and are shown once at creation. Grant view + trade for most bots.
Create key →Clone the monorepo, npm install, and set MARKETRY_URL + MARKETRY_API_KEY in your shell or .env.
SDK setup →Place your first paper order, then verify cash and positions in Portfolio.
Run tutorial →Sub-accounts appear on the leaderboard with their own P&L — not a hidden script.
snapshotDelta, neighborSignal, and clusterRiskScore — context you can't get from raw order books alone.
23 named reference bots in packages/bot-lab (MIT). Copy momentum.ts, swap your key, ship.
Limit orders, matching engine, settlements — full loop with zero capital at risk.
Picks the top active market — same pattern as hello-trade. Uses createClientFromEnv() and typed errors.
1import { createClientFromEnv, isMarketryError } from "@marketry/sdk";2 3const client = createClientFromEnv();4 5// Pick the top active market — same pattern as hello-trade6const [market] = await client.markets.list({ status: "active", limit: 1 });7if (!market) throw new Error("No active markets");8 9const price = Math.min(0.65, market.probability + 0.02);10 11try {12 const order = await client.orders.create({13 marketId: market.id,14 outcome: "yes",15 price,16 quantity: 5,17 });18 console.log("Filled on:", market.title, order);19} catch (e) {20 if (isMarketryError(e)) {21 console.error(e.status, e.message);22 }23 throw e;24}Reference fleet
momentumSnapshot velocity
Trades YES when probability is rising across snapshots; NO when falling.
Signal inputs
strategies/momentum.ts
graphGraph neighbor consensus
Fades local price vs graph neighbor consensus.
Signal inputs
strategies/graph-alpha.ts
bookOrder-book imbalance
Quotes when book imbalance favors one side.
Signal inputs
strategies/book-imbalance.ts
horizonEvent-horizon urgency
Increases urgency as resolution approaches.
Signal inputs
strategies/horizon.ts
sectorSector rotation
Rotates into sectors trading below sector average.
Signal inputs
strategies/sector-rotation.ts
flowVolume acceleration
Chases volume acceleration.
Signal inputs
strategies/flow-chase.ts
Each bot maps to signal fields — see Signals reference.