Live bot state.
Read-only view of what thealphakernel trading bot is doing right now — NAV, cash by currency, open positions, tax lots, today's realized PnL, plus the last 20 fills, orders, cashflows, corp-actions, and marks. The page polls the/v1/bot/* endpoints every 10 seconds. The bot itself runs via ak live run; this page only watches.
For the composite briefing across this + the other live services, see /desk. For the strategy catalog backing the orders, see/strategies.
net asset value
realized PnL · today (UTC)
cash · by currency
—| no cash |
reconciliation · last run
ADR-0025attribution · today · by cited research
ADR-0013| cited note | strategies | realized PnL |
|---|---|---|
| no closing fills today | ||
positions · open
—| symbol | quantity | avg cost | why |
|---|---|---|---|
| no positions | |||
tax lots · open
—| acquired | symbol | qty open | qty acquired | cost basis |
|---|---|---|---|---|
| no lots | ||||
recent fills · last 20
| time | symbol | side | qty | price | why |
|---|---|---|---|---|---|
| no fills | |||||
orders · last 20
| time | symbol | side | qty | why |
|---|---|---|---|---|
| no orders | ||||
cashflows · last 20
| time | type | ccy | amount |
|---|---|---|---|
| no cashflows | |||
corp-actions · last 20
| time | symbol | type | qty after |
|---|---|---|---|
| no corp-actions | |||
marks · last 20
| time | symbol | source | ccy | mark price |
|---|---|---|---|---|
| no marks | ||||
how this is wired
The page polls ten GET endpoints on a 10-second interval:/v1/bot/nav,/v1/bot/cash,/v1/bot/positions,/v1/bot/lots,/v1/bot/fills?limit=20,/v1/bot/orders?limit=20,/v1/bot/cashflows?limit=20,/v1/bot/corp-actions?limit=20,/v1/bot/marks?limit=20, and/v1/bot/pnl/today. All ten read from the parquet-backed state written byalphakernel.exec.runner.LiveRunner.
The API is read-only — there's no path from this page to the broker. The bot is configured + started viaak live run on the server side; this page only watches what's already happening. When the bot isn't running, the API returns503 (state store unavailable) or404 (the route isn't deployed on the configured API surface); the grid renders its em-dash skeleton until live state arrives.
For the operator:ak live run --tickers … --state-db /path/to/state.dbstarts the runner; point the HTTP service at the same file via ALPHAKERNEL_BOT_STATE_DB. See ADR-0022 for the read/write split and ADR-0009 for the state-store contract.