Repository Public
1{2 "source": "shapes of services/api/src/dashboard/status.ts, summary.ts (Section, agentCounts, agentPnlToday, health), activity.ts (ActivityItem, walletItem, orderItem, decisionItem, auditItem, the page answer), apps/web/src/dashboard.ts (Book) — written by hand from that code, not captured from a running server",3 "status": {4 "ts": 1795000000000,5 "switches": { "ok": true, "data": { "killSwitch": { "on": false, "at": null }, "readOnly": { "on": true, "at": 1794990000000 } }, "asOf": 1795000000000 },6 "liveLimits": { "ok": false, "error": { "code": "timeout", "message": "no answer within 8000 ms" } }7 },8 "summary": {9 "ts": 1795000000000,10 "books": {11 "paper": { "ok": true, "asOf": 1795000000000, "data": { "book": "paper", "ts": 1795000000000, "equity": "10000", "grossExposure": "6500.05", "leverage": "0.65",12 "byAsset": [ { "asset": "BTC", "long": "6500.05", "short": "0", "net": "6500.05" } ], "byVenue": [ { "venue": "hyperliquid", "gross": "6500.05" } ],13 "collateral": [ { "venue": "hyperliquid", "accountId": "d1", "equity": "10000", "collateral": "10000", "freeCollateral": "9350", "marginUsed": "650", "shareBps": "10000" } ],14 "positions": [ { "venue": "hyperliquid", "accountId": "d1", "asset": "BTC", "instrument": "hyperliquid:BTC", "side": "long", "size": "0.1", "markPrice": "65000.5", "notional": "6500.05", "leverage": "10", "liquidationPrice": "58800", "liquidationDistanceBps": "954", "unrealizedPnl": "-1.5" } ],15 "errors": [], "pnl": { "realizedToday": "0", "unrealizedToday": "-1.5", "realizedInception": "12.25", "unrealizedInception": "-1.5" } } },16 "live": { "ok": false, "error": { "code": "signer_unreachable", "message": "the signer does not answer" } },17 "liveTestnet": { "ok": true, "asOf": 1795000000000, "data": { "book": "live-testnet", "ts": 1795000000000, "equity": "0", "grossExposure": "0", "leverage": null, "byAsset": [], "byVenue": [], "collateral": [], "positions": [], "errors": ["hyperliquid: timeout"], "pnl": { "realizedToday": "0", "unrealizedToday": "0", "realizedInception": "0", "unrealizedInception": "0" } } }18 },19 "risk": { "ok": true, "asOf": 1795000000000, "data": { "switches": { "killSwitch": { "on": true, "at": 1794990000000, "reason": "owner" }, "readOnly": { "on": false, "at": null, "reason": null } },20 "live": { "missing": ["maxLeverage"], "missingForAutomation": [], "ownerOrdersRefused": true, "automationOrdersRefused": false } } },21 "agents": { "ok": true, "asOf": 1795000000000, "data": { "count": 2, "total": { "active": 1, "paused": 0, "stopped": 1 }, "byMode": { "research": { "active": 0, "paused": 0, "stopped": 0 }, "paper": { "active": 0, "paused": 0, "stopped": 1 }, "live": { "active": 1, "paused": 0, "stopped": 0 } } } },22 "agentsPnl": { "ok": true, "asOf": 1795000000000, "data": { "tz": "America/Toronto", "note": "flows_included", "today": { "research": { "abs": null, "agents": 0, "partial": false, "reason": "research_no_pnl" }, "paper": { "abs": null, "agents": 0, "partial": false, "reason": "no_snapshot" }, "live": { "abs": 1.25, "agents": 1, "partial": true, "reason": null } } } },23 "health": { "ok": true, "asOf": 1795000000000, "data": { "signer": { "reachable": false, "halted": null }, "connectors": { "total": 30, "ok": 20, "notMeasured": 9, "failing": [ { "id": "signer", "group": "signer", "name": "Signer", "lastSuccessAt": null } ] }, "loops": { "total": 8, "late": ["tracker"] } } },24 "audit": { "ok": true, "asOf": 1795000000000, "data": { "checkedAt": 1794999900000, "total": 1234, "intact": false, "brokenAt": 77 } }25 },26 "activity": {27 "items": [28 { "id": "w:6f1c2f0e-5a3b-4c44-9d0a-0f6f0c1d2e3f", "kind": "transfer", "source": "wallet", "at": "2026-11-18T12:00:00.000Z", "mode": "live", "venue": null, "network": "base", "principal": { "kind": "owner", "id": "owner" },29 "code": "wallet.send", "params": { "symbol": "USDC", "toSymbol": null, "toNetwork": null, "received": null }, "status": "finalized", "instrument": "USDC", "side": null, "amount": { "value": "25", "symbol": "USDC" }, "received": null,30 "ref": { "type": "proposal", "id": "6f1c2f0e-5a3b-4c44-9d0a-0f6f0c1d2e3f" }, "txid": "0xabc", "explorer": "https://basescan.org/tx/0xabc",31 "wallet": { "id": "6f1c2f0e-5a3b-4c44-9d0a-0f6f0c1d2e3f", "kind": "send", "at": "2026-11-18T12:00:00.000Z", "network": "base", "symbol": "USDC", "amount": "25000000", "amountDisplay": "25", "state": "finalized", "txid": "0xabc" } },32 { "id": "o:ord-1", "kind": "order", "source": "orders", "at": "2026-11-18T11:00:00.000Z", "mode": "paper", "venue": "hyperliquid", "network": "mainnet", "principal": { "kind": "agent", "id": "a2" },33 "code": "order", "params": { "type": "limit", "engineStatus": null, "reasonCode": null, "rejectCode": null, "origin": "agent", "mandateId": null, "reduceOnly": false, "price": "65000", "triggerPrice": null, "filled": "0", "avgFillPrice": null, "notionalUsd": "6500", "final": false, "updatedAt": 1794999000000 },34 "status": "open", "instrument": "hyperliquid:BTC", "side": "buy", "amount": { "value": "0.1", "symbol": "BTC" }, "received": null, "ref": { "type": "order", "id": "ord-1" }, "txid": null, "explorer": null },35 { "id": "a:000000000077", "kind": "security", "source": "audit", "at": "2026-11-18T10:00:00.000Z", "mode": null, "venue": null, "network": null, "principal": { "kind": "system", "id": "engine" },36 "code": "device.added", "params": { "label": "iPhone" }, "status": null, "instrument": null, "side": null, "amount": null, "received": null, "ref": { "type": "audit", "id": "77" }, "txid": null, "explorer": null }37 ],38 "nextCursor": "WzE3OTUwMDAwMDAwMDAsImE6MDAwMDAwMDAwMDc3Il0",39 "errors": [ { "source": "plans", "code": "source_failed", "message": "status 500" } ],40 "audit": { "intact": true, "brokenAt": null, "total": 1234, "checkedAt": 1794999900000 },41 "bounds": { "perSource": 500, "plans": 50 },42 "kinds": ["transfer", "receive", "swap", "bridge", "plan", "order", "agent", "mandate", "risk", "key", "security"],43 "ts": 179500000000044 }45}46