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.

市场终端回放一个 .market.tsx 文件:回放滑块走过整个交易时段,图表、订单簿和报价随之变化。
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
数据
The example's records by kind
KindRecords
trade713
quote468
book36
news13
fill6
position5
来源文件 cloud://global/examples/template-library/markets/terminal.market.tsx输出 case-studies/markets-terminal/stats.json工具 packages/domain/world/market.js parseMarket, through scripts/sites/case-studies.mjs markets-terminal运行于 This computer (dell-gb10-1)时间

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
数据
CommandAGI's market monitors by folder
FolderMonitors
equities280
futures32
fx10
foreign-holdings10
funding9
volatility6
swaps5
other4
来源文件 GET /v1/trading/venues (production); cloud://home/user-commandagi/markets/输出 case-studies/markets-terminal/stats.json工具 scripts/sites/case-studies.mjs markets-terminal运行于 This computer (dell-gb10-1), as user-commandagi时间

Replay a session, then trade under a grant.

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