Markets terminal

A market in one file.

Quotes, books, trades, news and positions are records in a .market.tsx. The terminal replays them, and every order is written into the same file before it goes anywhere.

Le terminal de marché rejoue un fichier .market.tsx : le curseur parcourt la séance, le graphique, le carnet et les cotations suivent.
Recorded in the workbench: the terminal replaying the shipped example file. Synthetic data, fictional instruments.

Every tick is one element.

Five of the file's lines, as shipped; … stands for the other records. Prices are decimal text, never floats. The file says itself that it is synthetic: no market, no recording, no advice.

cloud://global/examples/template-library/markets/terminal.market.tsxthe shipped example · synthetic data, fictional instruments
<market>
  <note t="2026-09-28T13:29:00.000Z" text="Synthetic example data: fictional instruments, generated by scripts/workbench/generate-template-data.mjs. Not a market, not a recording, not advice." />
  <quote t="2026-09-28T13:30:00.000Z" sym="NRTH" last="185.09" bid="185.055" ask="185.125" vol="400" />
  <quote t="2026-09-28T13:30:00.000Z" sym="KELP" last="42.4" bid="42.39" ask="42.41" vol="592" />
  <position t="2026-09-28T13:30:00.000Z" sym="NRTH" qty="120" avg="181.5" />
  …
</market>

The example, parsed

1,242 records, no problems.

The terminal's parser reads the whole session: six fictional instruments over six and a half hours. The chart, the book, the tape and the positions are all drawn from these records.

records, 0 refused by the parser
1,242
instruments: NRTH, KELP, ORBT, FERN, QUAY, LUMA
6
UTC on 2026-09-28, the session's span
13:29 to 19:58

Synthetic data

The example's records by kind
Les chiffres
The example's records by kind
KindRecords
trade713
quote468
book36
news13
fill6
position5
ProvenanceFile cloud://global/examples/template-library/markets/terminal.market.tsxOutput case-studies/markets-terminal/stats.jsonTool packages/domain/world/market.js parseMarket, through scripts/sites/case-studies.mjs markets-terminalRan on This computer (dell-gb10-1)When

What is connected

Twelve venues, one in use.

CommandAGI's own account has connected no broker or exchange yet, so only the sim venue takes orders. Its Drive does watch the markets: 356 monitors read quotes, futures, FX and funding into their own runs.

venues the terminal knows: sim, Alpaca, Coinbase, Kraken, Binance, Binance.US, Tradier, IBKR, with their paper accounts
12
available today: sim
1
broker or exchange accounts connected
0
market monitors in CommandAGI's Drive
356
CommandAGI's market monitors by folder
Les chiffres
CommandAGI's market monitors by folder
FolderMonitors
equities280
futures32
fx10
foreign-holdings10
funding9
volatility6
swaps5
other4
ProvenanceFile GET /v1/trading/venues (production); cloud://home/user-commandagi/markets/Output case-studies/markets-terminal/stats.jsonTool scripts/sites/case-studies.mjs markets-terminalRan on This computer (dell-gb10-1), as user-commandagiWhen

Replay a session, then trade under a grant.

Open the example, or connect a paper account and grant an agent its bounds.