Skip to main content
connecting…read-only10s poll

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.

no cash
ADR-0025
never
— above · — within
Run ak book reconcile to populate.
ADR-0013
cited notestrategiesrealized PnL
no closing fills today
symbolquantityavg costwhy
no positions
acquiredsymbolqty openqty acquiredcost basis
no lots
timesymbolsideqtypricewhy
no fills
timesymbolsideqtywhy
no orders
timetypeccyamount
no cashflows
timesymboltypeqty after
no corp-actions
timesymbolsourceccymark 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.

deskgdfindgfstrategiesgsfeaturesgepromotionsgpapigabotgbwritinggw

Shortcuts are no-ops while typing in an input or textarea.