Repository Public
1{2 "_sources": {3 "list": "services/api/src/agents/routes.ts view / runtimeView, perp-routes.ts perpView (GET /agents)",4 "spotDetail": "routes.ts GET /agents/:id (view + vault, mandateStatus, paper [paper-view.ts PaperView], versions, orders, equity, log)",5 "perpDetail": "perp-routes.ts perpDetail + perpReportSummary, perp-live-cycle.ts liveBlock",6 "networks": "routes.ts GET /agents/networks",7 "elsewhere": "routes.ts GET /agents/:id/elsewhere",8 "strategies / perpStrategies / registration": "strategies.ts library, StrategyInfo, registerStrategy; perp-strategies.ts PerpStrategyInfo",9 "templates / fromTemplate / configUpdated": "templates.ts templatesView, createFromTemplate, updateRuntimeConfig; lab-verdicts.ts (shape as apps/web/src/screens/labReport.tsx LabVerdict)",10 "overview / summary / stopped / configVersions / mandateDraft / runtimeStatus / killSwitch": "runtime-routes.ts overview, mandateDraft, GET /agents/runtime/status; agent-runtime/store.ts agentSummary, configVersions; kill-switch.ts killSwitchState; leases.ts listLeases; queue.ts queueStats",11 "signals / journal / orders / performance / timeline": "agent-runtime/store.ts agentSignals, agentJournal, agentOrders, agentPerformance (performance.ts Performance), agentTimeline",12 "perpVenues / readiness / liveMandateCreated / flatten / perpStopped": "perp-routes.ts GET /agents/perp/venues, POST perp/flatten, perp/live/mandate, perp/live/stop; perp-live-cycle.ts liveReadiness, stopLive (proposal generated by deriveMandate)",13 "mm*": "services/api/src/mm/routes.ts (view of a session, fills, command, golive/ack, recover), sessions.ts listFills / mmPerformance, lifecycle.ts goLiveChecklist, live-adapter.ts mmNetworkSelection; shapes as apps/web/src/mm.ts"14 },15 "list": {16 "agents": [17 {18 "id": "5b1d6c1e-2f43-4a53-8f0a-0000000a1000",19 "name": "Trend ETH",20 "mission": "Follow the trend of ETH",21 "state": "PAPER_TRADING",22 "mode": "PAPER",23 "network": "base",24 "networkName": "Base",25 "universe": [26 "ETH"27 ],28 "cash": "USDC",29 "interval": "1h",30 "risk": {31 "maxExposurePct": 50,32 "maxLossPct": 5,33 "maxOrderUsd": 25.5,34 "maxDailyUsd": 100,35 "maxOrdersPerDay": 12,36 "mandateDays": 30,37 "slippageBps": 5038 },39 "holdings": [40 {41 "symbol": "USDC",42 "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",43 "assetSymbol": "USDC",44 "name": "USD Coin",45 "kind": "cash",46 "issuer": "Circle"47 },48 {49 "symbol": "ETH",50 "asset": "native",51 "assetSymbol": "ETH",52 "name": "Ether",53 "kind": "native",54 "issuer": null55 }56 ],57 "vaultAddress": "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65",58 "vaultIndex": 3,59 "capitalUsdc": "250",60 "strategyVersionId": "9c2f6f5e-0a51-4f3b-9a56-0000000a2000",61 "mandateId": null,62 "mandate": null,63 "family": "custom",64 "template": null,65 "engine": "bar",66 "configVersion": 2,67 "pausedFrom": null,68 "lastBar": "2026-11-06T21:20:00.000Z",69 "stopReason": null,70 "createdAt": "2026-11-06T21:20:00.000Z",71 "updatedAt": "2026-11-06T21:20:00.000Z"72 },73 {74 "id": "5b1d6c1e-2f43-4a53-8f0a-0000000a3000",75 "kind": "perp",76 "simulation": true,77 "name": "Momentum",78 "mission": "",79 "state": "AWAITING_APPROVAL",80 "mode": "PAPER",81 "liveNetwork": null,82 "venue": "hyperliquid",83 "network": "hyperliquid",84 "networkName": "Hyperliquid",85 "universe": [86 "ETH",87 "BTC"88 ],89 "instruments": [90 "hyperliquid:ETH",91 "hyperliquid:BTC"92 ],93 "cash": "USDC",94 "interval": "1h",95 "risk": {96 "maxLeverage": 2,97 "maxGrossExposureX": 1.5,98 "maxPositionX": 1,99 "maxDailyLossPct": 3,100 "maxTotalLossPct": 10,101 "slippageBps": 30,102 "minTradePct": 2103 },104 "capitalUsdc": "1000",105 "accountId": "1a6e3c2a-7b1f-4c0e-9d55-0000000a4100",106 "strategyVersionId": "9c2f6f5e-0a51-4f3b-9a56-0000000a2000",107 "mandateId": null,108 "mandate": null,109 "vaultAddress": "",110 "holdings": null,111 "flag": null,112 "hold": null,113 "flattening": null,114 "family": "momentum",115 "template": "momentum",116 "engine": "bar",117 "configVersion": 1,118 "lastBar": null,119 "stopReason": null,120 "createdAt": "2026-11-06T21:20:00.000Z",121 "updatedAt": "2026-11-06T21:20:00.000Z"122 },123 {124 "id": "5b1d6c1e-2f43-4a53-8f0a-0000000a7000",125 "kind": "stream",126 "name": "MM BTC",127 "mission": "",128 "state": "CREATED",129 "mode": "RESEARCH",130 "family": "market_making",131 "template": "market-making",132 "engine": "stream",133 "network": "hyperliquid",134 "networkName": "hyperliquid",135 "universe": [136 "BTC"137 ],138 "cash": "USDC",139 "interval": "stream",140 "risk": {141 "maxPositionUsd": 500,142 "maxGrossUsd": 1000,143 "maxDailyLossPct": 2,144 "maxTotalLossPct": 5,145 "maxDataAgeMs": 5000146 },147 "capitalUsdc": "1000",148 "strategyVersionId": null,149 "mandateId": null,150 "mandate": null,151 "vaultAddress": "",152 "holdings": null,153 "configVersion": 1,154 "simulation": true,155 "lastBar": null,156 "stopReason": null,157 "createdAt": "2026-11-06T21:20:00.000Z",158 "updatedAt": "2026-11-06T21:20:00.000Z"159 }160 ]161 },162 "created": {163 "id": "5b1d6c1e-2f43-4a53-8f0a-0000000a1000",164 "name": "Trend ETH",165 "mission": "Follow the trend of ETH",166 "state": "CREATED",167 "mode": "PAPER",168 "network": "base",169 "networkName": "Base",170 "universe": [171 "ETH"172 ],173 "cash": "USDC",174 "interval": "1h",175 "risk": {176 "maxExposurePct": 50,177 "maxLossPct": 5,178 "maxOrderUsd": 25.5,179 "maxDailyUsd": 100,180 "maxOrdersPerDay": 12,181 "mandateDays": 30,182 "slippageBps": 50183 },184 "holdings": [185 {186 "symbol": "USDC",187 "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",188 "assetSymbol": "USDC",189 "name": "USD Coin",190 "kind": "cash",191 "issuer": "Circle"192 },193 {194 "symbol": "ETH",195 "asset": "native",196 "assetSymbol": "ETH",197 "name": "Ether",198 "kind": "native",199 "issuer": null200 }201 ],202 "vaultAddress": "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65",203 "vaultIndex": 3,204 "capitalUsdc": "250",205 "strategyVersionId": null,206 "mandateId": null,207 "mandate": null,208 "family": "custom",209 "template": null,210 "engine": "bar",211 "configVersion": 2,212 "pausedFrom": null,213 "lastBar": "2026-11-06T21:20:00.000Z",214 "stopReason": null,215 "createdAt": "2026-11-06T21:20:00.000Z",216 "updatedAt": "2026-11-06T21:20:00.000Z",217 "warnings": [218 {219 "code": "paper_only",220 "message": "XYZ: not listed on both Coinbase and Kraken"221 }222 ]223 },224 "spotDetail": {225 "id": "5b1d6c1e-2f43-4a53-8f0a-0000000a1000",226 "name": "Trend ETH",227 "mission": "Follow the trend of ETH",228 "state": "PAPER_TRADING",229 "mode": "PAPER",230 "network": "base",231 "networkName": "Base",232 "universe": [233 "ETH"234 ],235 "cash": "USDC",236 "interval": "1h",237 "risk": {238 "maxExposurePct": 50,239 "maxLossPct": 5,240 "maxOrderUsd": 25.5,241 "maxDailyUsd": 100,242 "maxOrdersPerDay": 12,243 "mandateDays": 30,244 "slippageBps": 50245 },246 "holdings": [247 {248 "symbol": "USDC",249 "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",250 "assetSymbol": "USDC",251 "name": "USD Coin",252 "kind": "cash",253 "issuer": "Circle"254 },255 {256 "symbol": "ETH",257 "asset": "native",258 "assetSymbol": "ETH",259 "name": "Ether",260 "kind": "native",261 "issuer": null262 }263 ],264 "vaultAddress": "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65",265 "vaultIndex": 3,266 "capitalUsdc": "250",267 "strategyVersionId": "9c2f6f5e-0a51-4f3b-9a56-0000000a2000",268 "mandateId": null,269 "mandate": null,270 "family": "custom",271 "template": null,272 "engine": "bar",273 "configVersion": 2,274 "pausedFrom": null,275 "lastBar": "2026-11-06T21:20:00.000Z",276 "stopReason": null,277 "createdAt": "2026-11-06T21:20:00.000Z",278 "updatedAt": "2026-11-06T21:20:00.000Z",279 "vault": [280 {281 "symbol": "USDC",282 "assetSymbol": "USDC",283 "name": "USD Coin",284 "kind": "cash",285 "issuer": "Circle",286 "role": "cash",287 "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",288 "amount": "249500000",289 "display": "249.5",290 "usd": 249.5291 },292 {293 "symbol": "ETH",294 "assetSymbol": "ETH",295 "name": "Ether",296 "kind": "native",297 "issuer": null,298 "role": "asset",299 "asset": "native",300 "amount": "2000000000000000",301 "display": "0.002",302 "usd": null303 }304 ],305 "mandateStatus": null,306 "paper": {307 "positions": [308 {309 "symbol": "ETH",310 "units": "0.0351",311 "usd": 122.85312 }313 ],314 "cashSymbol": "USDC",315 "cashUsd": 127.2,316 "asOf": 1794000000000317 },318 "versions": [319 {320 "id": "9c2f6f5e-0a51-4f3b-9a56-0000000a2000",321 "name": "ma_trend",322 "version": "1",323 "code_sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",324 "status": "approved",325 "notes": "",326 "created_at": "2026-11-06T21:20:00.000Z",327 "approved_at": "2026-11-06T21:20:00.000Z",328 "metrics": {329 "test": {330 "total_return": 0.041,331 "sharpe": 0.8,332 "max_drawdown": 0.07333 }334 },335 "robustness": {336 "trials_tested": 12,337 "deflated_sharpe": 0.31338 },339 "benchmarks": {340 "buy_and_hold": {341 "total_return": 0.12342 }343 },344 "config": {345 "symbols": [346 "ETH"347 ],348 "interval": "1h"349 }350 }351 ],352 "orders": [353 {354 "id": "41",355 "ts": "2026-11-06T21:20:00.000Z",356 "mode": "PAPER",357 "from_symbol": "USDC",358 "to_symbol": "ETH",359 "amount_in": "25000000",360 "expected_out": "7142857100000000",361 "min_out": "7071428500000000",362 "received": "7140000000000000",363 "state": "filled",364 "reason": null,365 "txid": null366 }367 ],368 "equity": [369 {370 "ts": "2026-11-06T21:20:00.000Z",371 "mode": "PAPER",372 "equity_usd": 250.05373 }374 ],375 "log": [376 {377 "ts": "2026-11-06T21:20:00.000Z",378 "kind": "state",379 "title": "Paper trading started by the owner",380 "body": "",381 "mode": "PAPER",382 "severity": "info",383 "code": "state_paper_trading"384 },385 {386 "ts": "2026-11-06T21:20:00.000Z",387 "kind": "research",388 "title": "Backtest finished",389 "body": "",390 "mode": "RESEARCH",391 "severity": null,392 "code": null393 }394 ]395 },396 "spotLive": {397 "id": "5b1d6c1e-2f43-4a53-8f0a-0000000a1000",398 "name": "Trend ETH",399 "mission": "Follow the trend of ETH",400 "state": "LIVE",401 "mode": "LIVE",402 "network": "base",403 "networkName": "Base",404 "universe": [405 "ETH"406 ],407 "cash": "USDC",408 "interval": "1h",409 "risk": {410 "maxExposurePct": 50,411 "maxLossPct": 5,412 "maxOrderUsd": 25.5,413 "maxDailyUsd": 100,414 "maxOrdersPerDay": 12,415 "mandateDays": 30,416 "slippageBps": 50417 },418 "holdings": [419 {420 "symbol": "USDC",421 "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",422 "assetSymbol": "USDC",423 "name": "USD Coin",424 "kind": "cash",425 "issuer": "Circle"426 },427 {428 "symbol": "ETH",429 "asset": "native",430 "assetSymbol": "ETH",431 "name": "Ether",432 "kind": "native",433 "issuer": null434 }435 ],436 "vaultAddress": "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65",437 "vaultIndex": 3,438 "capitalUsdc": "250",439 "strategyVersionId": "9c2f6f5e-0a51-4f3b-9a56-0000000a2000",440 "mandateId": "7a1c1f0e-8f5f-4b1e-9c56-0000000a0003",441 "mandate": {442 "expiresAt": 1796592000,443 "label": "Trend ETH",444 "strategySha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",445 "maxOrdersPerDay": 12446 },447 "family": "custom",448 "template": null,449 "engine": "bar",450 "configVersion": 2,451 "pausedFrom": null,452 "lastBar": "2026-11-06T21:20:00.000Z",453 "stopReason": null,454 "createdAt": "2026-11-06T21:20:00.000Z",455 "updatedAt": "2026-11-06T21:20:00.000Z"456 },457 "perpDetail": {458 "id": "5b1d6c1e-2f43-4a53-8f0a-0000000a3000",459 "kind": "perp",460 "simulation": true,461 "name": "Momentum",462 "mission": "",463 "state": "PAPER_TRADING",464 "mode": "PAPER",465 "liveNetwork": null,466 "venue": "hyperliquid",467 "network": "hyperliquid",468 "networkName": "Hyperliquid",469 "universe": [470 "ETH",471 "BTC"472 ],473 "instruments": [474 "hyperliquid:ETH",475 "hyperliquid:BTC"476 ],477 "cash": "USDC",478 "interval": "1h",479 "risk": {480 "maxLeverage": 2,481 "maxGrossExposureX": 1.5,482 "maxPositionX": 1,483 "maxDailyLossPct": 3,484 "maxTotalLossPct": 10,485 "slippageBps": 30,486 "minTradePct": 2487 },488 "capitalUsdc": "1000",489 "accountId": "1a6e3c2a-7b1f-4c0e-9d55-0000000a4100",490 "strategyVersionId": "9c2f6f5e-0a51-4f3b-9a56-0000000a2000",491 "mandateId": null,492 "mandate": null,493 "vaultAddress": "",494 "holdings": null,495 "flag": null,496 "hold": null,497 "flattening": null,498 "family": "momentum",499 "template": "momentum",500 "engine": "bar",501 "configVersion": 1,502 "lastBar": null,503 "stopReason": null,504 "createdAt": "2026-11-06T21:20:00.000Z",505 "updatedAt": "2026-11-06T21:20:00.000Z",506 "account": {507 "id": "1a6e3c2a-7b1f-4c0e-9d55-0000000a4100",508 "label": "Agent · Momentum",509 "state": "active",510 "policy": {511 "halt": null,512 "maxLeverage": "2"513 },514 "settings": {},515 "totals": {516 "equity": "1003.2",517 "unrealizedPnl": "3.2"518 },519 "initialCollateral": "1000",520 "positions": [521 {522 "instrument": "hyperliquid:ETH",523 "size": "0.25",524 "entryPrice": "3500"525 }526 ],527 "openOrders": [],528 "orders": [],529 "fills": [],530 "funding": [],531 "riskEvents": [],532 "equity": [],533 "updatedAt": 1794000000000534 },535 "versions": [536 {537 "id": "9c2f6f5e-0a51-4f3b-9a56-0000000a2000",538 "name": "momentum_xs_perp",539 "version": "2",540 "code_sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",541 "status": "approved",542 "notes": "",543 "created_at": "2026-11-06T21:20:00.000Z",544 "approved_at": "2026-11-06T21:20:00.000Z",545 "meta": {546 "kind": "perp",547 "universe": [548 "*"549 ]550 },551 "summary": {552 "schemaVersion": 3,553 "generatedAt": "2026-11-06T21:20:00.000Z",554 "config": {555 "symbols": [556 "ETH",557 "BTC"558 ],559 "interval": "1h"560 },561 "historyDays": 420,562 "splits": null,563 "metrics": {564 "train": {565 "total_return": 0.2566 },567 "validation": null,568 "test": {569 "total_return": -0.03,570 "sharpe": -0.2571 }572 },573 "benchmarks": {574 "buy_and_hold": null,575 "perp_long_1x": null576 },577 "buyAndHoldIsSpot": false,578 "robustness": {579 "trials_tested": 40580 },581 "checks": {582 "lookahead": "pass"583 },584 "liquidations": {585 "train": 0,586 "validation": 0,587 "test": 1588 },589 "executionModel": null,590 "engineParity": null,591 "dataBias": null,592 "journal": null,593 "problem": null594 }595 }596 ],597 "signals": [598 {599 "bar": "2026-11-06T21:20:00.000Z",600 "status": "done",601 "reason": null,602 "strategy_sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",603 "weights": {604 "ETH": 0.5605 },606 "scaled": {607 "ETH": 0.5608 },609 "scale": 1,610 "equity": "1003.2",611 "targets": {},612 "orders": {613 "list": []614 },615 "updated_at": "2026-11-06T21:20:00.000Z",616 "mode": "PAPER",617 "decision": "trade",618 "reason_code": null,619 "config_version": 1620 }621 ],622 "equity": [623 {624 "ts": "2026-11-06T21:20:00.000Z",625 "mode": "PAPER",626 "equity_usd": 1003.2627 }628 ],629 "log": [630 {631 "ts": "2026-11-06T21:20:00.000Z",632 "kind": "state",633 "title": "Paper trading started by the owner",634 "body": null,635 "mode": "PAPER",636 "severity": "info",637 "code": "state_paper_trading"638 }639 ],640 "execution": {641 "kind": "paper",642 "note": "Orders are simulated against the venue's live order book by the paper engine. Nothing is signed and no order reaches the venue."643 },644 "live": {645 "available": true,646 "reason": null,647 "active": false,648 "accountId": null,649 "network": null,650 "mandateId": null,651 "strategySha256": null,652 "since": null,653 "capital": null,654 "paused": false,655 "exit": null,656 "account": null,657 "signer": null,658 "holds": []659 },660 "rules": {661 "markIndexBps": 50,662 "simplifications": [663 "flat 2 % maintenance margin fraction"664 ]665 }666 },667 "networks": {668 "networks": [669 {670 "id": "base",671 "name": "Base",672 "native": "ETH",673 "enabled": true,674 "cash": [675 {676 "symbol": "USDC",677 "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",678 "name": "USD Coin"679 }680 ],681 "defaultCash": "USDC",682 "gas": {683 "reserve": "0.0004",684 "perOrder": "0.00002",685 "perOrderUsd": 0.07,686 "gasPriceGwei": 0.01687 },688 "feeWarning": false,689 "symbols": [690 {691 "symbol": "ETH",692 "sources": [693 "coinbase",694 "kraken"695 ],696 "live": true,697 "defaultAsset": "native",698 "data": {699 "1h": {700 "status": "ok",701 "fresh": true,702 "lastTs": "2026-11-06T21:20:00.000Z"703 },704 "1d": null705 },706 "representations": [707 {708 "asset": "native",709 "assetSymbol": "ETH",710 "name": "Ether",711 "kind": "native",712 "issuer": null713 }714 ]715 }716 ]717 },718 {719 "id": "ethereum",720 "name": "Ethereum",721 "native": "ETH",722 "enabled": true,723 "cash": [],724 "defaultCash": null,725 "gas": null,726 "feeWarning": true,727 "symbols": []728 }729 ],730 "maxSymbols": 12,731 "maxLiveSymbols": 11,732 "feeWarnShare": 0.02733 },734 "elsewhere": {735 "address": "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65",736 "holdings": [737 {738 "network": "arbitrum",739 "networkName": "Arbitrum One",740 "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",741 "symbol": "USDC",742 "display": "12.5",743 "gas": "ETH",744 "hasGas": false,745 "gasHeld": "0",746 "gasNeed": null,747 "gasEnough": null748 }749 ]750 },751 "strategies": {752 "strategies": [753 {754 "path": "strategies/ma_trend/1",755 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",756 "generic": true,757 "minSymbols": 1,758 "maxSymbols": 12,759 "meta": {760 "name": "ma_trend",761 "version": "1",762 "universe": [763 "*"764 ],765 "interval": "1h",766 "lookback": 200,767 "params": {768 "fast": 20769 }770 },771 "readme": "# MA trend"772 }773 ]774 },775 "perpStrategies": {776 "kind": "perp",777 "strategies": [778 {779 "path": "strategies/momentum_xs_perp/2",780 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",781 "kind": "perp",782 "spotLegs": false,783 "generic": false,784 "minSymbols": 3,785 "maxSymbols": 3,786 "meta": {787 "name": "momentum_xs_perp",788 "version": "2",789 "kind": "perp",790 "universe": [791 "BTC",792 "ETH",793 "SOL"794 ],795 "interval": "1h",796 "lookback": 300,797 "max_leverage": 2,798 "max_gross_exposure": 1.5,799 "params": {}800 },801 "readme": ""802 }803 ]804 },805 "registration": {806 "id": "9c2f6f5e-0a51-4f3b-9a56-0000000a2000",807 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",808 "generic": true,809 "symbols": [810 "ETH"811 ],812 "status": "backtesting"813 },814 "templates": {815 "templates": [816 {817 "id": "momentum",818 "family": "momentum",819 "engine": "bar",820 "kind": "perp",821 "name": {822 "fr": "Momentum",823 "en": "Momentum"824 },825 "summary": {826 "fr": "Suit la tendance",827 "en": "Follows the trend"828 },829 "modes": [830 "research",831 "paper",832 "live"833 ],834 "liveReason": null,835 "strategyNames": [836 "momentum_xs_perp"837 ],838 "installed": [839 {840 "path": "momentum_xs_perp/2",841 "name": "momentum_xs_perp",842 "version": "2",843 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",844 "universe": [845 "BTC",846 "ETH",847 "SOL"848 ],849 "interval": "1h",850 "spotLegs": false,851 "generic": false,852 "minSymbols": 3,853 "maxSymbols": 3,854 "defaultUniverse": null,855 "liveCapable": true,856 "liveReason": null,857 "liveCondition": null858 }859 ],860 "strategyInstalled": true,861 "rule": null,862 "labBacktest": {863 "wanted": [],864 "installed": [],865 "agentRunnable": false866 },867 "labStudies": [],868 "labVerdicts": [869 {870 "available": true,871 "kind": "strategy",872 "backtest": true,873 "name": "momentum_xs_perp",874 "version": "2",875 "strategy": "momentum_xs_perp/2",876 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",877 "symbols": [878 "BTC",879 "ETH",880 "SOL"881 ],882 "where": "strategies",883 "installedHashMatches": true,884 "scope": "agent",885 "liveCapable": true,886 "deflatedSharpe": 0.12,887 "deflatedSharpeThreshold": 0.95,888 "significant": false,889 "trialsTested": 40,890 "ownTrials": 8,891 "testSharpeCi": [892 -0.9,893 1.1894 ],895 "splits": {896 "train": {897 "netReturn": 0.2,898 "netSharpe": 1.1,899 "grossSharpe": 1.4,900 "maxDrawdown": 0.1,901 "trades": 120,902 "stop": null,903 "grossToNet": {904 "pricePnl": 300.0,905 "funding": -20.0,906 "fees": -40.0,907 "liquidationPenalties": 0,908 "slippage": -30.0,909 "latency": -10.0,910 "netPnl": 200.0911 }912 },913 "validation": null,914 "test": {915 "netReturn": -0.03,916 "netSharpe": -0.2,917 "grossSharpe": 0.1,918 "maxDrawdown": 0.12,919 "trades": 31,920 "stop": {921 "code": "max_total_loss",922 "reason": "loss limit",923 "ts": "2026-11-06T21:20:00.000Z"924 },925 "grossToNet": null926 }927 },928 "stoppedSplits": [929 "test"930 ],931 "checks": {932 "lookahead": "pass"933 },934 "window": {935 "start": "2025-01-01",936 "end": "2026-10-01",937 "interval": "1h",938 "bars": 15000939 },940 "splitDates": null,941 "dataSha256": null,942 "codeSha256": null,943 "engineParityApplied": true,944 "results": {945 "dir": "results/v11",946 "file": "momentum_xs_perp_2.json",947 "fileSha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",948 "matchesManifest": true949 }950 },951 {952 "available": false,953 "kind": "study",954 "name": "vol_forecast",955 "reason": "the laboratory results are not in this installation"956 }957 ],958 "defaults": {959 "universe": [960 "BTC",961 "ETH",962 "SOL"963 ],964 "venues": [965 "hyperliquid"966 ],967 "interval": "1h",968 "capitalUsdc": "1000",969 "config": {},970 "risk": {971 "maxLeverage": 2,972 "maxGrossExposureX": 1.5,973 "maxPositionX": 1,974 "maxDailyLossPct": 3,975 "maxTotalLossPct": 10,976 "slippageBps": 30,977 "minTradePct": 2978 }979 }980 }981 ],982 "families": {983 "momentum": {984 "engine": "bar",985 "modes": [986 "research",987 "paper",988 "live"989 ],990 "liveReason": null991 },992 "funding_arb": {993 "engine": "stream",994 "modes": [995 "research",996 "paper"997 ],998 "liveReason": "mode réel indisponible : une seule plateforme autorise l'exécution sous mandat"999 }1000 }1001 },1002 "fromTemplate": {1003 "agent": {1004 "id": "5b1d6c1e-2f43-4a53-8f0a-0000000a3000",1005 "name": "Momentum",1006 "mission": "",1007 "kind": "perp",1008 "family": "momentum",1009 "template": "momentum",1010 "engine": "bar",1011 "state": "stopped",1012 "phase": "CREATED",1013 "mode": "research",1014 "venue": "hyperliquid",1015 "network": "hyperliquid",1016 "universe": [1017 "ETH",1018 "BTC"1019 ],1020 "interval": "1h",1021 "capitalUsd": "1000",1022 "riskLimits": {1023 "maxLeverage": 2,1024 "maxGrossExposureX": 1.5,1025 "maxPositionX": 1,1026 "maxDailyLossPct": 3,1027 "maxTotalLossPct": 10,1028 "slippageBps": 30,1029 "minTradePct": 21030 },1031 "configVersion": 3,1032 "strategy": {1033 "name": "momentum_xs_perp",1034 "version": "2",1035 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1036 "path": "strategies/momentum_xs_perp/2",1037 "status": "approved",1038 "kind": "python"1039 },1040 "mandate": null,1041 "pausedFrom": null,1042 "live": {1043 "capable": true,1044 "code": null,1045 "reason": null1046 },1047 "stopReason": null,1048 "lastBar": 1794000000000,1049 "createdAt": 1794000000000,1050 "updatedAt": 17940000000001051 },1052 "strategy": {1053 "path": "momentum_xs_perp/2",1054 "versionId": "9c2f6f5e-0a51-4f3b-9a56-0000000a2000",1055 "status": "backtesting"1056 },1057 "warnings": []1058 },1059 "configUpdated": {1060 "agent": {1061 "id": "5b1d6c1e-2f43-4a53-8f0a-0000000a7000",1062 "name": "Momentum",1063 "mission": "",1064 "kind": "stream",1065 "family": "market_making",1066 "template": "momentum",1067 "engine": "stream",1068 "state": "stopped",1069 "phase": "STOPPED",1070 "mode": "research",1071 "venue": "hyperliquid",1072 "network": "hyperliquid",1073 "universe": [1074 "ETH",1075 "BTC"1076 ],1077 "interval": "1h",1078 "capitalUsd": "1000",1079 "riskLimits": {1080 "maxLeverage": 2,1081 "maxGrossExposureX": 1.5,1082 "maxPositionX": 1,1083 "maxDailyLossPct": 3,1084 "maxTotalLossPct": 10,1085 "slippageBps": 30,1086 "minTradePct": 21087 },1088 "configVersion": 3,1089 "strategy": {1090 "name": "spread_inventory",1091 "version": "1",1092 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1093 "path": null,1094 "status": "built_in",1095 "kind": "rule"1096 },1097 "mandate": null,1098 "pausedFrom": null,1099 "live": {1100 "capable": true,1101 "code": null,1102 "reason": null1103 },1104 "stopReason": null,1105 "lastBar": 1794000000000,1106 "createdAt": 1794000000000,1107 "updatedAt": 17940000000001108 },1109 "configVersion": 41110 },1111 "summary": {1112 "id": "5b1d6c1e-2f43-4a53-8f0a-0000000a3000",1113 "name": "Momentum",1114 "mission": "",1115 "kind": "perp",1116 "family": "momentum",1117 "template": "momentum",1118 "engine": "bar",1119 "state": "active",1120 "phase": "PAPER_TRADING",1121 "mode": "paper",1122 "venue": "hyperliquid",1123 "network": "hyperliquid",1124 "universe": [1125 "ETH",1126 "BTC"1127 ],1128 "interval": "1h",1129 "capitalUsd": "1000",1130 "riskLimits": {1131 "maxLeverage": 2,1132 "maxGrossExposureX": 1.5,1133 "maxPositionX": 1,1134 "maxDailyLossPct": 3,1135 "maxTotalLossPct": 10,1136 "slippageBps": 30,1137 "minTradePct": 21138 },1139 "configVersion": 3,1140 "strategy": {1141 "name": "momentum_xs_perp",1142 "version": "2",1143 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1144 "path": "strategies/momentum_xs_perp/2",1145 "status": "approved",1146 "kind": "python"1147 },1148 "mandate": null,1149 "pausedFrom": null,1150 "live": {1151 "capable": true,1152 "code": null,1153 "reason": null1154 },1155 "stopReason": null,1156 "lastBar": 1794000000000,1157 "createdAt": 1794000000000,1158 "updatedAt": 17940000000001159 },1160 "stopped": {1161 "id": "5b1d6c1e-2f43-4a53-8f0a-0000000a3000",1162 "name": "Momentum",1163 "mission": "",1164 "kind": "perp",1165 "family": "momentum",1166 "template": "momentum",1167 "engine": "bar",1168 "state": "active",1169 "phase": "STOPPING",1170 "mode": "live",1171 "venue": "hyperliquid",1172 "network": "hyperliquid",1173 "universe": [1174 "ETH",1175 "BTC"1176 ],1177 "interval": "1h",1178 "capitalUsd": "1000",1179 "riskLimits": {1180 "maxLeverage": 2,1181 "maxGrossExposureX": 1.5,1182 "maxPositionX": 1,1183 "maxDailyLossPct": 3,1184 "maxTotalLossPct": 10,1185 "slippageBps": 30,1186 "minTradePct": 21187 },1188 "configVersion": 3,1189 "strategy": {1190 "name": "momentum_xs_perp",1191 "version": "2",1192 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1193 "path": "strategies/momentum_xs_perp/2",1194 "status": "approved",1195 "kind": "python"1196 },1197 "mandate": null,1198 "pausedFrom": null,1199 "live": {1200 "capable": true,1201 "code": null,1202 "reason": null1203 },1204 "stopReason": null,1205 "lastBar": 1794000000000,1206 "createdAt": 1794000000000,1207 "updatedAt": 1794000000000,1208 "windDown": {1209 "until": 1794086400000,1210 "text": "cancels and reduce-only orders for 24 h",1211 "openPositions": 1,1212 "openOrders": 0,1213 "result": "closing"1214 }1215 },1216 "overview": {1217 "id": "5b1d6c1e-2f43-4a53-8f0a-0000000a3000",1218 "name": "Momentum",1219 "mission": "",1220 "kind": "perp",1221 "family": "momentum",1222 "template": "momentum",1223 "engine": "bar",1224 "state": "active",1225 "phase": "PAPER_TRADING",1226 "mode": "paper",1227 "venue": "hyperliquid",1228 "network": "hyperliquid",1229 "universe": [1230 "ETH",1231 "BTC"1232 ],1233 "interval": "1h",1234 "capitalUsd": "1000",1235 "riskLimits": {1236 "maxLeverage": 2,1237 "maxGrossExposureX": 1.5,1238 "maxPositionX": 1,1239 "maxDailyLossPct": 3,1240 "maxTotalLossPct": 10,1241 "slippageBps": 30,1242 "minTradePct": 21243 },1244 "configVersion": 3,1245 "strategy": {1246 "name": "momentum_xs_perp",1247 "version": "2",1248 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1249 "path": "strategies/momentum_xs_perp/2",1250 "status": "approved",1251 "kind": "python"1252 },1253 "mandate": null,1254 "pausedFrom": null,1255 "live": {1256 "capable": true,1257 "code": null,1258 "reason": null1259 },1260 "stopReason": null,1261 "lastBar": 1794000000000,1262 "createdAt": 1794000000000,1263 "updatedAt": 1794000000000,1264 "familyModes": {1265 "engine": "bar",1266 "modes": [1267 "research",1268 "paper",1269 "live"1270 ],1271 "liveReason": null1272 },1273 "backtests": {1274 "label": "backtest",1275 "note": "A backtest is a simulation on historical data under stated assumptions. It is not a track record and is never shown as performance.",1276 "versions": [1277 {1278 "id": "9c2f6f5e-0a51-4f3b-9a56-0000000a2000",1279 "name": "momentum_xs_perp",1280 "version": "2",1281 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1282 "status": "approved",1283 "approvedBy": "owner",1284 "notes": "",1285 "hasReport": true,1286 "checks": {1287 "lookahead": "pass"1288 },1289 "config": {1290 "symbols": [1291 "ETH",1292 "BTC"1293 ]1294 },1295 "metrics": {1296 "test": {1297 "sharpe": -0.21298 }1299 },1300 "robustness": null,1301 "createdAt": "2026-11-06T21:20:00.000Z",1302 "approvedAt": "2026-11-06T21:20:00.000Z"1303 }1304 ],1305 "recorded": null1306 },1307 "runtime": null,1308 "worker": {1309 "lease": {1310 "owner": "worker-1:4242",1311 "heartbeatAt": "2026-11-06T21:20:00.000Z",1312 "expiresAt": "2026-11-06T21:20:00.000Z",1313 "active": true1314 },1315 "tick": {1316 "state": "queued",1317 "attempts": 0,1318 "run_at": "2026-11-06T21:20:00.000Z",1319 "last_error": null,1320 "updated_at": "2026-11-06T21:20:00.000Z"1321 }1322 },1323 "jobs": [1324 {1325 "id": "8e0c1d2e-5a3b-4c44-9d0a-0000000a6000",1326 "kind": "backtest",1327 "status": "failed",1328 "attempts": 3,1329 "error": "backtest failed: no report",1330 "result": null,1331 "createdAt": "2026-11-06T21:20:00.000Z",1332 "finishedAt": "2026-11-06T21:20:00.000Z"1333 }1334 ],1335 "killSwitch": {1336 "engaged": false,1337 "reason": null,1338 "at": null,1339 "by": null,1340 "readOnly": false,1341 "readOnlyReason": null,1342 "release": {1343 "route": "/risk",1344 "passkey": true1345 }1346 }1347 },1348 "configVersions": {1349 "versions": [1350 {1351 "version": 2,1352 "config": {1353 "kind": "perp",1354 "universe": [1355 "ETH",1356 "BTC"1357 ]1358 },1359 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1360 "actor": "owner",1361 "reason": "risk limits replaced by the owner",1362 "created_at": "2026-11-06T21:20:00.000Z"1363 }1364 ]1365 },1366 "mandateDraft": {1367 "draft": "agent:5b1d6c1e-2f43-4a53-8f0a-0000000a1000",1368 "agentId": "5b1d6c1e-2f43-4a53-8f0a-0000000a1000",1369 "family": "custom",1370 "approval": {1371 "route": "/risk?mandate=agent:5b1d6c1e-2f43-4a53-8f0a-0000000a1000",1372 "note": "the mandate is approved by the owner with the passkey; the signer judges the approval and enforces the mandate on every order"1373 },1374 "available": true,1375 "kind": "spot",1376 "shape": "SPW-MANDATE-v1",1377 "reason": null,1378 "fields": {1379 "network": "base",1380 "vaultIndex": 3,1381 "vault": "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65",1382 "provider": "kyberswap",1383 "symbols": [1384 "ETH"1385 ],1386 "cash": "USDC",1387 "maxOrderUsd": 25.5,1388 "maxDailyUsd": 100,1389 "maxOrdersPerDay": 12,1390 "maxSlippageBps": 150,1391 "days": 30,1392 "strategySha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1393 "engineLossLimitPct": 5,1394 "note": "USD caps become per-asset base-unit caps at the prices of the moment the mandate is prepared; the loss limit is the engine's, not the signer's"1395 },1396 "existingFlow": "agent page → Go live: mandate prepared from these limits, approved with the passkey"1397 },1398 "signals": {1399 "mode": "paper",1400 "signals": [1401 {1402 "id": "77",1403 "ts": 1794000000000,1404 "mode": "paper",1405 "kind": "bar",1406 "configVersion": 3,1407 "strategySha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1408 "inputsDigest": "abababababababababababababababababababababababababababababababab",1409 "status": "done",1410 "decision": "trade",1411 "reasonCode": null,1412 "reason": null,1413 "output": {1414 "ETH": 0.51415 },1416 "scaled": {1417 "ETH": 0.51418 },1419 "scale": 1,1420 "equity": "1003.2",1421 "targets": {},1422 "orders": {1423 "list": []1424 },1425 "createdAt": 1794000000000,1426 "updatedAt": 17940000000001427 }1428 ]1429 },1430 "journal": {1431 "mode": "paper",1432 "entries": [1433 {1434 "id": "901",1435 "ts": 1794000000000,1436 "mode": "paper",1437 "kind": "state",1438 "severity": "info",1439 "code": "started_paper",1440 "title": "Paper trading started by owner",1441 "body": "SIMULATED orders and fills on real books; nothing reaches a venue",1442 "data": null,1443 "ref": null,1444 "configVersion": 31445 }1446 ]1447 },1448 "orders": {1449 "mode": "paper",1450 "orders": [1451 {1452 "id": "c0ffee00-0000-4000-8000-0000000a8000",1453 "source": "orders",1454 "mode": "paper",1455 "ts": 1794000000000,1456 "updatedAt": 1794000000800,1457 "venue": "hyperliquid",1458 "instrument": "hyperliquid:ETH",1459 "side": "buy",1460 "reduceOnly": false,1461 "size": "0.25",1462 "notional": "875.00",1463 "filledSize": "0.25",1464 "avgFillPrice": "3500.1",1465 "state": "FILLED",1466 "reason": "NONE",1467 "detail": null,1468 "venueOrderId": null,1469 "fills": [1470 {1471 "ts": 1794000000700,1472 "size": "0.25",1473 "price": "3500.1",1474 "feeUsd": "0.39"1475 }1476 ],1477 "signalId": "77",1478 "configVersion": 3,1479 "strategySha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1480 "history": [1481 {1482 "at": 1794000000000,1483 "from": "APPROVED",1484 "to": "SUBMITTED",1485 "event": "submit",1486 "reason": null1487 }1488 ]1489 }1490 ]1491 },1492 "ordersLiveInPaperEnvelope": {1493 "mode": "paper",1494 "orders": [1495 {1496 "id": "c0ffee00-0000-4000-8000-0000000a8000",1497 "source": "orders",1498 "mode": "paper",1499 "ts": 1794000000000,1500 "updatedAt": 1794000000800,1501 "venue": "hyperliquid",1502 "instrument": "hyperliquid:ETH",1503 "side": "buy",1504 "reduceOnly": false,1505 "size": "0.25",1506 "notional": "875.00",1507 "filledSize": "0.25",1508 "avgFillPrice": "3500.1",1509 "state": "FILLED",1510 "reason": "NONE",1511 "detail": null,1512 "venueOrderId": null,1513 "fills": [1514 {1515 "ts": 1794000000700,1516 "size": "0.25",1517 "price": "3500.1",1518 "feeUsd": "0.39"1519 }1520 ],1521 "signalId": "77",1522 "configVersion": 3,1523 "strategySha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1524 "history": [1525 {1526 "at": 1794000000000,1527 "from": "APPROVED",1528 "to": "SUBMITTED",1529 "event": "submit",1530 "reason": null1531 }1532 ]1533 },1534 {1535 "id": "c0ffee00-0000-4000-8000-0000000a8000",1536 "source": "orders",1537 "mode": "live",1538 "ts": 1794000000000,1539 "updatedAt": 1794000000800,1540 "venue": "hyperliquid",1541 "instrument": "hyperliquid:ETH",1542 "side": "buy",1543 "reduceOnly": false,1544 "size": "0.25",1545 "notional": "875.00",1546 "filledSize": "0.25",1547 "avgFillPrice": "3500.1",1548 "state": "FILLED",1549 "reason": "NONE",1550 "detail": null,1551 "venueOrderId": null,1552 "fills": [1553 {1554 "ts": 1794000000700,1555 "size": "0.25",1556 "price": "3500.1",1557 "feeUsd": "0.39"1558 }1559 ],1560 "signalId": "77",1561 "configVersion": 3,1562 "strategySha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1563 "history": [1564 {1565 "at": 1794000000000,1566 "from": "APPROVED",1567 "to": "SUBMITTED",1568 "event": "submit",1569 "reason": null1570 }1571 ]1572 }1573 ]1574 },1575 "performancePaper": {1576 "points": 48,1577 "from": 1793827200000,1578 "to": 1794000000000,1579 "periodsPerYear": 8760,1580 "totalReturn": {1581 "value": 0.012,1582 "reason": null1583 },1584 "volatility": {1585 "value": 0.31,1586 "reason": null1587 },1588 "sharpe": {1589 "value": null,1590 "reason": "fewer than 30 points"1591 },1592 "sortino": {1593 "value": null,1594 "reason": "fewer than 30 points"1595 },1596 "maxDrawdown": {1597 "value": 0.02,1598 "reason": null1599 },1600 "winRate": {1601 "value": null,1602 "reason": "fewer than 20 closed trades"1603 },1604 "profitFactor": {1605 "value": null,1606 "reason": "fewer than 20 closed trades"1607 },1608 "turnover": {1609 "value": 3.1,1610 "reason": null1611 },1612 "feesUsd": {1613 "value": 1.25,1614 "reason": null1615 },1616 "fundingUsd": {1617 "value": -0.4,1618 "reason": null1619 },1620 "slippageUsd": {1621 "value": null,1622 "reason": "the fills carry no reference price"1623 },1624 "netPnlUsd": {1625 "value": 12.0,1626 "reason": null1627 },1628 "closedTrades": 4,1629 "orders": 9,1630 "warnings": [1631 {1632 "code": "short_history",1633 "message": "fewer than 30 points"1634 }1635 ],1636 "mode": "paper",1637 "label": "PAPER — simulated orders and fills; no money moved",1638 "equityCurve": [1639 {1640 "ts": 1793996400000,1641 "equity": 1000.01642 },1643 {1644 "ts": 1794000000000,1645 "equity": 1012.01646 }1647 ]1648 },1649 "performanceLive": {1650 "points": 48,1651 "from": 1793827200000,1652 "to": 1794000000000,1653 "periodsPerYear": 8760,1654 "totalReturn": {1655 "value": 0.012,1656 "reason": null1657 },1658 "volatility": {1659 "value": 0.31,1660 "reason": null1661 },1662 "sharpe": {1663 "value": null,1664 "reason": "fewer than 30 points"1665 },1666 "sortino": {1667 "value": null,1668 "reason": "fewer than 30 points"1669 },1670 "maxDrawdown": {1671 "value": 0.02,1672 "reason": null1673 },1674 "winRate": {1675 "value": null,1676 "reason": "fewer than 20 closed trades"1677 },1678 "profitFactor": {1679 "value": null,1680 "reason": "fewer than 20 closed trades"1681 },1682 "turnover": {1683 "value": 3.1,1684 "reason": null1685 },1686 "feesUsd": {1687 "value": 1.25,1688 "reason": null1689 },1690 "fundingUsd": {1691 "value": -0.4,1692 "reason": null1693 },1694 "slippageUsd": {1695 "value": null,1696 "reason": "the fills carry no reference price"1697 },1698 "netPnlUsd": {1699 "value": 12.0,1700 "reason": null1701 },1702 "closedTrades": 4,1703 "orders": 9,1704 "warnings": [1705 {1706 "code": "short_history",1707 "message": "fewer than 30 points"1708 }1709 ],1710 "mode": "live",1711 "label": "LIVE — real orders on a venue or on-chain account",1712 "equityCurve": [1713 {1714 "ts": 1793996400000,1715 "equity": 1000.01716 },1717 {1718 "ts": 1794000000000,1719 "equity": 1012.01720 }1721 ]1722 },1723 "performanceResearch": {1724 "points": 0,1725 "from": 1793827200000,1726 "to": 1794000000000,1727 "periodsPerYear": 8760,1728 "totalReturn": {1729 "value": 0.012,1730 "reason": null1731 },1732 "volatility": {1733 "value": 0.31,1734 "reason": null1735 },1736 "sharpe": {1737 "value": null,1738 "reason": "fewer than 30 points"1739 },1740 "sortino": {1741 "value": null,1742 "reason": "fewer than 30 points"1743 },1744 "maxDrawdown": {1745 "value": 0.02,1746 "reason": null1747 },1748 "winRate": {1749 "value": null,1750 "reason": "fewer than 20 closed trades"1751 },1752 "profitFactor": {1753 "value": null,1754 "reason": "fewer than 20 closed trades"1755 },1756 "turnover": {1757 "value": 3.1,1758 "reason": null1759 },1760 "feesUsd": {1761 "value": 1.25,1762 "reason": null1763 },1764 "fundingUsd": {1765 "value": -0.4,1766 "reason": null1767 },1768 "slippageUsd": {1769 "value": null,1770 "reason": "the fills carry no reference price"1771 },1772 "netPnlUsd": {1773 "value": null,1774 "reason": "no equity point"1775 },1776 "closedTrades": 4,1777 "orders": 9,1778 "warnings": [1779 {1780 "code": "short_history",1781 "message": "fewer than 30 points"1782 }1783 ],1784 "mode": "research",1785 "label": "RESEARCH — no order is placed in this mode; backtest reports are under the agent's strategy and are not performance",1786 "equityCurve": []1787 },1788 "timeline": {1789 "mode": "paper",1790 "items": [1791 {1792 "ts": 1794000000000,1793 "type": "signal",1794 "severity": "info",1795 "code": null,1796 "title": "Signal for 2026-11-06T21:00:00.000Z — trade",1797 "body": "",1798 "ref": {1799 "signal": "77"1800 },1801 "configVersion": 31802 }1803 ]1804 },1805 "runtimeStatus": {1806 "workers": {1807 "inProcess": true,1808 "worker": "worker-1:4242",1809 "mode": "on"1810 },1811 "loops": [1812 {1813 "name": "agent-scheduler",1814 "everyMs": 5000,1815 "runs": 120,1816 "lastOkAt": 1794000000000,1817 "lastErrorAt": null,1818 "lastError": null,1819 "failures": 01820 }1821 ],1822 "leases": [1823 {1824 "agentId": "5b1d6c1e-2f43-4a53-8f0a-0000000a3000",1825 "owner": "worker-1:4242",1826 "token": 7,1827 "heartbeatAt": 1794000000000,1828 "expiresAt": 1794000030000,1829 "active": true1830 }1831 ],1832 "queue": {1833 "queued": 1,1834 "running": 0,1835 "dead24h": 1,1836 "oldestQueuedMs": 12001837 },1838 "killSwitch": {1839 "engaged": true,1840 "reason": "drawdown",1841 "at": 1794000000000,1842 "by": "owner:owner",1843 "readOnly": false,1844 "readOnlyReason": null,1845 "release": {1846 "route": "/risk",1847 "passkey": true1848 }1849 },1850 "streams": [],1851 "streamStats": null1852 },1853 "killSwitchEngaged": {1854 "engaged": true,1855 "reason": "engaged by the owner from the agents panel",1856 "at": 1794000000000,1857 "by": "owner:owner",1858 "readOnly": false,1859 "readOnlyReason": null,1860 "release": {1861 "route": "/risk",1862 "passkey": true1863 }1864 },1865 "perpVenues": {1866 "venues": [1867 {1868 "id": "hyperliquid",1869 "name": "Hyperliquid",1870 "network": "mainnet",1871 "paper": true,1872 "instruments": [1873 {1874 "symbol": "BTC",1875 "id": "hyperliquid:BTC",1876 "maxLeverage": "40",1877 "lotSize": "0.00001",1878 "minNotional": "10",1879 "mark": "69000.5",1880 "funding": null,1881 "volume24h": "1200000000",1882 "eligible": true,1883 "why": null1884 },1885 {1886 "symbol": "kPEPE",1887 "id": "hyperliquid:kPEPE",1888 "maxLeverage": "10",1889 "lotSize": "1",1890 "minNotional": "10",1891 "mark": null,1892 "funding": null,1893 "volume24h": null,1894 "eligible": false,1895 "why": "ticker format not supported by the laboratory"1896 }1897 ]1898 }1899 ],1900 "maxInstruments": 8,1901 "intervals": [1902 "1h",1903 "4h",1904 "1d"1905 ],1906 "riskDefaults": {1907 "maxLeverage": 2,1908 "maxGrossExposureX": 1.5,1909 "maxPositionX": 1,1910 "maxDailyLossPct": 3,1911 "maxTotalLossPct": 10,1912 "slippageBps": 30,1913 "minTradePct": 21914 },1915 "minCapital": "50",1916 "live": {1917 "available": true,1918 "reason": null1919 },1920 "ts": 17940000000001921 },1922 "readiness": {1923 "agentId": "5b1d6c1e-2f43-4a53-8f0a-0000000a3000",1924 "locale": "en",1925 "config": {1926 "mandateLive": {1927 "available": true,1928 "reason": null,1929 "mainnet": {1930 "enabled": false,1931 "reason": "SPW_DERIV_MANDATE_MAINNET is not on"1932 }1933 },1934 "mainnet": {1935 "enabled": false,1936 "reason": "SPW_DERIV_LIVE_MAINNET is not on"1937 }1938 },1939 "accounts": [1940 {1941 "id": "0d6e3c2a-7b1f-4c0e-9d55-0000000a4000",1942 "network": "testnet",1943 "label": "Testnet",1944 "account": "0x70997970c51812dc3a010c7d01b50e0d17dc79c8",1945 "mode": "MANUAL_LIVE",1946 "modes": [1947 "READ_ONLY",1948 "MANUAL_LIVE"1949 ],1950 "tradable": true,1951 "authorization": {1952 "active": true,1953 "expiresAt": 17991840000001954 },1955 "mandate": null,1956 "usedBy": null,1957 "equity": "1000.129",1958 "error": null1959 }1960 ],1961 "accountId": "0d6e3c2a-7b1f-4c0e-9d55-0000000a4000",1962 "steps": {1963 "strategy": {1964 "ok": true,1965 "versionId": "9c2f6f5e-0a51-4f3b-9a56-0000000a2000",1966 "sha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",1967 "name": "momentum_xs_perp",1968 "version": "2",1969 "reason": null1970 },1971 "account": {1972 "ok": true,1973 "code": null,1974 "reason": null,1975 "network": "testnet",1976 "authorization": {1977 "active": true,1978 "expiresAt": 1799184000000,1979 "maxMandateDays": 301980 },1981 "instrumentsMissing": []1982 },1983 "funded": {1984 "ok": true,1985 "code": null,1986 "reason": null,1987 "equity": "1000.129",1988 "minEquity": "50",1989 "basis": {1990 "instruments": [],1991 "ordersPerPosition": 5,1992 "grossX": 1.5,1993 "floor": "50"1994 }1995 },1996 "mandate": {1997 "ok": false,1998 "phase": null,1999 "mandateId": null,2000 "lock": null2001 }2002 },2003 "next": "mandate",2004 "proposal": {2005 "capital": "1000.12",2006 "days": 14,2007 "maxDays": 30,2008 "body": {2009 "instruments": [2010 {2011 "instrument": "hyperliquid:ETH",2012 "maxLeverage": 2,2013 "maxPositionNotional": "1000.12"2014 },2015 {2016 "instrument": "hyperliquid:BTC",2017 "maxLeverage": 2,2018 "maxPositionNotional": "1000.12"2019 }2020 ],2021 "maxOrderNotional": "1000.12",2022 "maxGrossExposure": "1500.18",2023 "maxDailyTurnover": "6000.72",2024 "floorEquity": "900.11",2025 "maxOrdersPerDay": 96,2026 "maxOrdersPerHour": 4,2027 "days": 14,2028 "strategySha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",2029 "agentId": "5b1d6c1e-2f43-4a53-8f0a-0000000a3000"2030 },2031 "derived": [2032 {2033 "field": "capital",2034 "value": "1000.12",2035 "from": "the venue's account value now: the reference of every limit below and of the loss limits"2036 },2037 {2038 "field": "instruments",2039 "value": "hyperliquid:ETH, hyperliquid:BTC",2040 "from": "the agent's instruments"2041 },2042 {2043 "field": "maxLeverage",2044 "value": "ETH 2x, BTC 2x",2045 "from": "the agent's leverage limit (2x), never above the authorization's (5x) or the venue's maximum"2046 },2047 {2048 "field": "maxPositionNotional",2049 "value": "1000.12",2050 "from": "position per instrument: 1 × the capital"2051 },2052 {2053 "field": "maxOrderNotional",2054 "value": "1000.12",2055 "from": "one order may be as large as one position (a full close in one order); closes are bounded too"2056 },2057 {2058 "field": "maxGrossExposure",2059 "value": "1500.18",2060 "from": "gross exposure: 1.5 × the capital"2061 },2062 {2063 "field": "maxOrdersPerDay",2064 "value": "96",2065 "from": "2 instrument(s) × 24 bar(s) a day × 2 orders that can add exposure, at least 12"2066 },2067 {2068 "field": "maxOrdersPerHour",2069 "value": "4",2070 "from": "2 instrument(s) × 2 orders that can add exposure, at least 4"2071 },2072 {2073 "field": "maxDailyTurnover",2074 "value": "6000.72",2075 "from": "4 × the gross exposure limit a day (orders that can add exposure)"2076 },2077 {2078 "field": "floorEquity",2079 "value": "900.11",2080 "from": "the total-loss limit: the capital less 10 % — below it the signer signs only cancels and reduce-only orders"2081 },2082 {2083 "field": "days",2084 "value": "14",2085 "from": "at most 30 days, and ending at least 24 h before the venue authorization expires (2027-01-05T21:20:00.000Z) so that positions can be closed during the wind-down"2086 }2087 ],2088 "notes": []2089 },2090 "ts": 17940000000002091 },2092 "liveMandateCreated": {2093 "mandateId": "7a1c1f0e-8f5f-4b1e-9c56-0000000a0900",2094 "state": "created",2095 "hash": "ea23a284da91f0e265be3ffa5532d2f5f4c369e1c47ce71b5f80a3b1db82c368",2096 "enforcement": [2097 {2098 "field": "v",2099 "enforcedBy": "not_applicable",2100 "signerField": null,2101 "note": "version of the trading mandate; the signer shape has its own"2102 },2103 {2104 "field": "mandateId",2105 "enforcedBy": "signer",2106 "signerField": "mandateId",2107 "note": "the derivative mandate carries the same id: one id for the pair"2108 },2109 {2110 "field": "principal",2111 "enforcedBy": "signer_partial",2112 "signerField": "agentId",2113 "note": "recorded by the signer for the audit trail; the signer cannot verify who calls it — the API binds the principal to the mandate"2114 },2115 {2116 "field": "accounts",2117 "enforcedBy": "signer",2118 "signerField": "account, agentAddress, authorizationId",2119 "note": "the signer signs for this one venue account only"2120 },2121 {2122 "field": "venues",2123 "enforcedBy": "signer",2124 "signerField": "venue",2125 "note": "the shape is for hyperliquid only"2126 },2127 {2128 "field": "networks",2129 "enforcedBy": "signer",2130 "signerField": "network",2131 "note": "the venue network of the authorization"2132 },2133 {2134 "field": "instruments",2135 "enforcedBy": "signer",2136 "signerField": "instruments[].instrument",2137 "note": "the signer refuses an order or a leverage change on any other instrument; a cancel is bounded by the instruments of the venue authorization, which may be wider"2138 },2139 {2140 "field": "marketKinds",2141 "enforcedBy": "signer",2142 "signerField": null,2143 "note": "structural: this shape signs perpetual orders only"2144 },2145 {2146 "field": "orderTypes",2147 "enforcedBy": "api_only",2148 "signerField": null,2149 "note": "the signer signs any order type the venue adapter can build; the allowed types are checked by the API"2150 },2151 {2152 "field": "maxCapitalUsd",2153 "enforcedBy": "signer_partial",2154 "signerField": "maxGrossExposure",2155 "note": "enforced as worst-case gross exposure ≤ capital × leverage; the capital itself (collateral on the venue) is not capped by the signer"2156 },2157 {2158 "field": "maxOrderNotionalUsd",2159 "enforcedBy": "signer",2160 "signerField": "maxOrderNotional",2161 "note": "size × highest named price of one order, reduce-only orders included"2162 },2163 {2164 "field": "maxPositionNotionalUsd",2165 "enforcedBy": "signer",2166 "signerField": "instruments[].maxPositionNotional",2167 "note": "worst case per instrument, from the signer's own read of the venue account and its own prices"2168 },2169 {2170 "field": "maxLeverage",2171 "enforcedBy": "signer",2172 "signerField": "instruments[].maxLeverage",2173 "note": "the signer refuses an order that can add exposure while the venue's leverage setting is higher, and never sets a higher one"2174 },2175 {2176 "field": "maxDailyLossUsd",2177 "enforcedBy": "api_only",2178 "signerField": null,2179 "note": "the signer has no daily-loss limit; it only knows the floor"2180 },2181 {2182 "field": "floorEquityUsd",2183 "enforcedBy": "signer",2184 "signerField": "floorEquity",2185 "note": "below the floor the signer signs reduce-only orders and cancels only (the venue's own account value)"2186 },2187 {2188 "field": "createdAt",2189 "enforcedBy": "signer",2190 "signerField": "createdAt",2191 "note": "must be current at approval"2192 },2193 {2194 "field": "notBefore",2195 "enforcedBy": "signer_partial",2196 "signerField": "createdAt",2197 "note": "the signer has no start time: it signs from the approval on, and accepts an approval only while createdAt is within 10 minutes before and 2 minutes after its own clock; the start itself is checked by the API"2198 },2199 {2200 "field": "notAfter",2201 "enforcedBy": "signer",2202 "signerField": "expiresAt",2203 "note": "after it the signer signs only cancels and reduce-only orders for 24 h, then nothing"2204 },2205 {2206 "field": "frequency",2207 "enforcedBy": "signer_partial",2208 "signerField": "maxOrdersPerDay, maxOrdersPerHour",2209 "note": "per day and per hour are enforced by the signer (orders that can add exposure; the venue authorization's own daily count applies as well); per minute is enforced by the API only"2210 },2211 {2212 "field": "maxSlippageBps",2213 "enforcedBy": "signer_partial",2214 "signerField": "maxPriceDeviationBps",2215 "note": "the signer enforces a price band around its own mid on every price of an order — except a reduce-only trigger order, whose trigger may rest between one third and three times the mid, its worst price then being held within the band of the trigger; realised slippage is checked by the API"2216 },2217 {2218 "field": "maxFeeUsd",2219 "enforcedBy": "api_only",2220 "signerField": null,2221 "note": "the signer does not see venue fees"2222 },2223 {2224 "field": "stopConditions",2225 "enforcedBy": "api_only",2226 "signerField": null,2227 "note": "declarative conditions are evaluated by the API; the signer only stops on the floor, the expiry, a revocation and its own halt"2228 },2229 {2230 "field": "mode",2231 "enforcedBy": "not_applicable",2232 "signerField": null,2233 "note": "the signer has no notion of paper or live: a mandate reaches it only when it is live (a paper mandate is never compiled); the venue network is the row `networks`"2234 },2235 {2236 "field": "strategySha256",2237 "enforcedBy": "signer_partial",2238 "signerField": "strategySha256",2239 "note": "recorded by the signer for the audit trail; the signer cannot verify what code runs"2240 },2241 {2242 "field": "label",2243 "enforcedBy": "api_only",2244 "signerField": null,2245 "note": "a display name; not part of the signer shape"2246 }2247 ],2248 "derived": [2249 {2250 "field": "maxGrossExposure",2251 "value": "1500.18",2252 "from": "maxCapitalUsd × maxLeverage"2253 },2254 {2255 "field": "maxDailyTurnover",2256 "value": "96011.52",2257 "from": "maxOrderNotionalUsd × frequency.perDay"2258 },2259 {2260 "field": "instruments[].maxLeverage",2261 "value": "1",2262 "from": "maxLeverage (the same for every instrument)"2263 },2264 {2265 "field": "maxPriceDeviationBps",2266 "value": "300",2267 "from": "maxSlippageBps"2268 }2269 ],2270 "proposal": {2271 "capital": "1000.12",2272 "days": 14,2273 "maxDays": 30,2274 "body": {2275 "instruments": [2276 {2277 "instrument": "hyperliquid:ETH",2278 "maxLeverage": 2,2279 "maxPositionNotional": "1000.12"2280 },2281 {2282 "instrument": "hyperliquid:BTC",2283 "maxLeverage": 2,2284 "maxPositionNotional": "1000.12"2285 }2286 ],2287 "maxOrderNotional": "1000.12",2288 "maxGrossExposure": "1500.18",2289 "maxDailyTurnover": "6000.72",2290 "floorEquity": "900.11",2291 "maxOrdersPerDay": 96,2292 "maxOrdersPerHour": 4,2293 "days": 14,2294 "strategySha256": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",2295 "agentId": "5b1d6c1e-2f43-4a53-8f0a-0000000a3000"2296 },2297 "derived": [2298 {2299 "field": "capital",2300 "value": "1000.12",2301 "from": "the venue's account value now: the reference of every limit below and of the loss limits"2302 },2303 {2304 "field": "instruments",2305 "value": "hyperliquid:ETH, hyperliquid:BTC",2306 "from": "the agent's instruments"2307 },2308 {2309 "field": "maxLeverage",2310 "value": "ETH 2x, BTC 2x",2311 "from": "the agent's leverage limit (2x), never above the authorization's (5x) or the venue's maximum"2312 },2313 {2314 "field": "maxPositionNotional",2315 "value": "1000.12",2316 "from": "position per instrument: 1 × the capital"2317 },2318 {2319 "field": "maxOrderNotional",2320 "value": "1000.12",2321 "from": "one order may be as large as one position (a full close in one order); closes are bounded too"2322 },2323 {2324 "field": "maxGrossExposure",2325 "value": "1500.18",2326 "from": "gross exposure: 1.5 × the capital"2327 },2328 {2329 "field": "maxOrdersPerDay",2330 "value": "96",2331 "from": "2 instrument(s) × 24 bar(s) a day × 2 orders that can add exposure, at least 12"2332 },2333 {2334 "field": "maxOrdersPerHour",2335 "value": "4",2336 "from": "2 instrument(s) × 2 orders that can add exposure, at least 4"2337 },2338 {2339 "field": "maxDailyTurnover",2340 "value": "6000.72",2341 "from": "4 × the gross exposure limit a day (orders that can add exposure)"2342 },2343 {2344 "field": "floorEquity",2345 "value": "900.11",2346 "from": "the total-loss limit: the capital less 10 % — below it the signer signs only cancels and reduce-only orders"2347 },2348 {2349 "field": "days",2350 "value": "14",2351 "from": "at most 30 days, and ending at least 24 h before the venue authorization expires (2027-01-05T21:20:00.000Z) so that positions can be closed during the wind-down"2352 }2353 ],2354 "notes": []2355 },2356 "approval": {2357 "route": "/risk?mandate=7a1c1f0e-8f5f-4b1e-9c56-0000000a0900",2358 "passkey": true2359 }2360 },2361 "flatten": {2362 "orders": [2363 {2364 "instrument": "hyperliquid:ETH",2365 "status": "filled"2366 }2367 ],2368 "positionsLeft": 02369 },2370 "mmView": {2371 "agentId": "5b1d6c1e-2f43-4a53-8f0a-0000000a7000",2372 "state": "PAPER_TRADING",2373 "mode": "PAPER",2374 "family": "market_making",2375 "universe": [2376 "BTC"2377 ],2378 "venues": [2379 "hyperliquid"2380 ],2381 "config": {2382 "quoteSizeUsd": "50",2383 "policy": "spread_inventory"2384 },2385 "configVersion": 2,2386 "session": {2387 "id": "6a0c1d2e-5a3b-4c44-9d0a-0000000a9000",2388 "mode": "paper",2389 "instrument": "hyperliquid:BTC",2390 "network": "paper",2391 "state": "running",2392 "policy": "spread_inventory",2393 "startedAt": 1793998200000,2394 "endedAt": null,2395 "endReason": null,2396 "heartbeatAt": 1794000000000,2397 "stale": false,2398 "counters": {2399 "decisions": 360,2400 "quotes": 7002401 },2402 "pnl": {2403 "totalUsd": "-0.42",2404 "spreadCaptureUsd": "0.31",2405 "inventoryPnlUsd": "-0.55",2406 "feesUsd": "-0.18",2407 "fundingUsd": "0",2408 "position": "0.0004",2409 "fills": 12,2410 "volumeUsd": "600",2411 "bpsOfVolume": "-7"2412 },2413 "markouts": [2414 {2415 "horizonMs": 1000,2416 "fills": 12,2417 "meanBps": "-0.8",2418 "weightedMeanBps": "-0.9",2419 "worstBps": "-4.1"2420 }2421 ],2422 "refusals": {},2423 "budget": {2424 "limitPerMinute": 30,2425 "usedLastMinute": 62426 },2427 "breakers": [2428 {2429 "ts": 1793999940000,2430 "code": "stale_data",2431 "action": "pull"2432 }2433 ],2434 "status": {2435 "phase": "quoting",2436 "reason": null,2437 "position": "0.0004",2438 "positionUsd": "27.6",2439 "mid": "69000.5",2440 "quotes": [2441 {2442 "clientId": "q1",2443 "side": "buy",2444 "price": "68990",2445 "size": "0.0007",2446 "state": "resting",2447 "ageMs": 1200,2448 "distanceBps": "1.5"2449 }2450 ],2451 "blockedSides": [],2452 "activeBreakers": [],2453 "halted": null,2454 "manual": null,2455 "lock": null,2456 "switch": {2457 "deadline": 1794000030000,2458 "armed": true,2459 "lapsesToday": 0,2460 "venueTriggersPerDay": 10,2461 "signerStopsAt": 82462 },2463 "mandate": null,2464 "schedule": null,2465 "stream": null,2466 "simulated": true,2467 "ts": 17940000000002468 },2469 "mandateId": null,2470 "simulated": true,2471 "label": "PAPER — SIMULATED fills on real books"2472 },2473 "sessions": [2474 {2475 "id": "6a0c1d2e-5a3b-4c44-9d0a-0000000a9000",2476 "mode": "paper",2477 "instrument": "hyperliquid:BTC",2478 "network": "paper",2479 "state": "running",2480 "policy": "spread_inventory",2481 "startedAt": 1793998200000,2482 "endedAt": null,2483 "endReason": null,2484 "heartbeatAt": 1794000000000,2485 "stale": false,2486 "counters": {2487 "decisions": 360,2488 "quotes": 7002489 },2490 "pnl": {2491 "totalUsd": "-0.42",2492 "spreadCaptureUsd": "0.31",2493 "inventoryPnlUsd": "-0.55",2494 "feesUsd": "-0.18",2495 "fundingUsd": "0",2496 "position": "0.0004",2497 "fills": 12,2498 "volumeUsd": "600",2499 "bpsOfVolume": "-7"2500 },2501 "markouts": [2502 {2503 "horizonMs": 1000,2504 "fills": 12,2505 "meanBps": "-0.8",2506 "weightedMeanBps": "-0.9",2507 "worstBps": "-4.1"2508 }2509 ],2510 "refusals": {},2511 "budget": {2512 "limitPerMinute": 30,2513 "usedLastMinute": 62514 },2515 "breakers": [2516 {2517 "ts": 1793999940000,2518 "code": "stale_data",2519 "action": "pull"2520 }2521 ],2522 "status": {2523 "phase": "quoting",2524 "reason": null,2525 "position": "0.0004",2526 "positionUsd": "27.6",2527 "mid": "69000.5",2528 "quotes": [2529 {2530 "clientId": "q1",2531 "side": "buy",2532 "price": "68990",2533 "size": "0.0007",2534 "state": "resting",2535 "ageMs": 1200,2536 "distanceBps": "1.5"2537 }2538 ],2539 "blockedSides": [],2540 "activeBreakers": [],2541 "halted": null,2542 "manual": null,2543 "lock": null,2544 "switch": {2545 "deadline": 1794000030000,2546 "armed": true,2547 "lapsesToday": 0,2548 "venueTriggersPerDay": 10,2549 "signerStopsAt": 82550 },2551 "mandate": null,2552 "schedule": null,2553 "stream": null,2554 "simulated": true,2555 "ts": 17940000000002556 },2557 "mandateId": null,2558 "simulated": true,2559 "label": "PAPER — SIMULATED fills on real books"2560 }2561 ],2562 "mandate": null,2563 "goLive": {2564 "steps": [2565 {2566 "id": "paper",2567 "done": true,2568 "evidence": {2569 "requiredMinutes": 30,2570 "instrument": "hyperliquid:BTC",2571 "session": {2572 "id": "s",2573 "minutes": 30.5,2574 "fills": 12,2575 "startedAt": 17940000000002576 }2577 },2578 "missing": null2579 },2580 {2581 "id": "evidence",2582 "done": false,2583 "evidence": {2584 "acknowledgedAt": null,2585 "sha256": null,2586 "version": "1"2587 },2588 "missing": "the acknowledgement that the modelled PnL is negative in the lab study and in the simulation"2589 },2590 {2591 "id": "jurisdiction",2592 "done": false,2593 "evidence": {2594 "acknowledgedAt": null,2595 "sha256": null,2596 "source": "docs/v4/venues/jurisdiction.md"2597 },2598 "missing": "the Hyperliquid jurisdiction acknowledgement"2599 },2600 {2601 "id": "testnet",2602 "done": false,2603 "evidence": {2604 "session": null,2605 "attestedAt": null,2606 "note": null,2607 "ownerRun": true2608 },2609 "missing": "the testnet step"2610 },2611 {2612 "id": "mandate",2613 "done": false,2614 "evidence": {2615 "mandateId": null,2616 "state": null,2617 "phase": null,2618 "integrity": null,2619 "network": null,2620 "expiresAt": null2621 },2622 "missing": "a quoting mandate approved with the passkey for the agent's current configuration"2623 },2624 {2625 "id": "locks",2626 "done": false,2627 "evidence": {2628 "network": null,2629 "code": null,2630 "setting": null2631 },2632 "missing": "a mandate (the network follows from its venue account)"2633 }2634 ],2635 "ready": false,2636 "network": null2637 },2638 "ts": 17940000000002639 },2640 "mmViewLiveSessionInPaperRead": {2641 "agentId": "5b1d6c1e-2f43-4a53-8f0a-0000000a7000",2642 "state": "LIVE",2643 "mode": "LIVE",2644 "family": "market_making",2645 "universe": [2646 "BTC"2647 ],2648 "venues": [2649 "hyperliquid"2650 ],2651 "config": {},2652 "configVersion": 2,2653 "session": null,2654 "sessions": [2655 {2656 "id": "6a0c1d2e-5a3b-4c44-9d0a-0000000a9000",2657 "mode": "live",2658 "instrument": "hyperliquid:BTC",2659 "network": "testnet",2660 "state": "running",2661 "policy": "spread_inventory",2662 "startedAt": 1793998200000,2663 "endedAt": null,2664 "endReason": null,2665 "heartbeatAt": 1794000000000,2666 "stale": false,2667 "counters": {2668 "decisions": 360,2669 "quotes": 7002670 },2671 "pnl": {2672 "totalUsd": "-0.42",2673 "spreadCaptureUsd": "0.31",2674 "inventoryPnlUsd": "-0.55",2675 "feesUsd": "-0.18",2676 "fundingUsd": "0",2677 "position": "0.0004",2678 "fills": 12,2679 "volumeUsd": "600",2680 "bpsOfVolume": "-7"2681 },2682 "markouts": [2683 {2684 "horizonMs": 1000,2685 "fills": 12,2686 "meanBps": "-0.8",2687 "weightedMeanBps": "-0.9",2688 "worstBps": "-4.1"2689 }2690 ],2691 "refusals": {},2692 "budget": {2693 "limitPerMinute": 30,2694 "usedLastMinute": 62695 },2696 "breakers": [2697 {2698 "ts": 1793999940000,2699 "code": "stale_data",2700 "action": "pull"2701 }2702 ],2703 "status": {2704 "phase": "quoting",2705 "reason": null,2706 "position": "0.0004",2707 "positionUsd": "27.6",2708 "mid": "69000.5",2709 "quotes": [2710 {2711 "clientId": "q1",2712 "side": "buy",2713 "price": "68990",2714 "size": "0.0007",2715 "state": "resting",2716 "ageMs": 1200,2717 "distanceBps": "1.5"2718 }2719 ],2720 "blockedSides": [],2721 "activeBreakers": [],2722 "halted": null,2723 "manual": null,2724 "lock": null,2725 "switch": {2726 "deadline": 1794000030000,2727 "armed": true,2728 "lapsesToday": 0,2729 "venueTriggersPerDay": 10,2730 "signerStopsAt": 82731 },2732 "mandate": null,2733 "schedule": null,2734 "stream": null,2735 "simulated": false,2736 "ts": 17940000000002737 },2738 "mandateId": null,2739 "simulated": false,2740 "label": "LIVE — testnet"2741 }2742 ],2743 "mandate": {2744 "id": "7a1c1f0e-8f5f-4b1e-9c56-0000000a0902",2745 "state": "active",2746 "phase": "active",2747 "integrity": null,2748 "hash": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",2749 "quoting": {2750 "section": {2751 "terms": {},2752 "engine": {}2753 },2754 "hash": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",2755 "maxima": {2756 "maxQuoteNotional": "2000"2757 }2758 },2759 "expiresAt": 1794604800000,2760 "signer": {2761 "shape": "SPW-VENUE-QUOTING-MANDATE-v1",2762 "accountId": "0d6e3c2a-7b1f-4c0e-9d55-0000000a4000",2763 "mandateId": "7a1c1f0e-8f5f-4b1e-9c56-0000000a0902",2764 "hash": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3"2765 }2766 },2767 "goLive": {2768 "steps": [2769 {2770 "id": "paper",2771 "done": true,2772 "evidence": {2773 "requiredMinutes": 30,2774 "instrument": "hyperliquid:BTC",2775 "session": {2776 "id": "s",2777 "minutes": 30.5,2778 "fills": 12,2779 "startedAt": 17940000000002780 }2781 },2782 "missing": null2783 },2784 {2785 "id": "evidence",2786 "done": false,2787 "evidence": {2788 "acknowledgedAt": null,2789 "sha256": null,2790 "version": "1"2791 },2792 "missing": "the acknowledgement that the modelled PnL is negative in the lab study and in the simulation"2793 },2794 {2795 "id": "jurisdiction",2796 "done": false,2797 "evidence": {2798 "acknowledgedAt": null,2799 "sha256": null,2800 "source": "docs/v4/venues/jurisdiction.md"2801 },2802 "missing": "the Hyperliquid jurisdiction acknowledgement"2803 },2804 {2805 "id": "testnet",2806 "done": false,2807 "evidence": {2808 "session": null,2809 "attestedAt": null,2810 "note": null,2811 "ownerRun": true2812 },2813 "missing": "the testnet step"2814 },2815 {2816 "id": "mandate",2817 "done": false,2818 "evidence": {2819 "mandateId": null,2820 "state": null,2821 "phase": null,2822 "integrity": null,2823 "network": null,2824 "expiresAt": null2825 },2826 "missing": "a quoting mandate approved with the passkey for the agent's current configuration"2827 },2828 {2829 "id": "locks",2830 "done": false,2831 "evidence": {2832 "network": null,2833 "code": null,2834 "setting": null2835 },2836 "missing": "a mandate (the network follows from its venue account)"2837 }2838 ],2839 "ready": false,2840 "network": null2841 },2842 "ts": 17940000000002843 },2844 "mmFills": {2845 "mode": "paper",2846 "simulated": true,2847 "fills": [2848 {2849 "id": "5",2850 "sessionId": "6a0c1d2e-5a3b-4c44-9d0a-0000000a9000",2851 "fillId": "f5",2852 "clientId": "q1",2853 "side": "buy",2854 "price": "68990",2855 "size": "0.0007",2856 "fee": "0.007",2857 "maker": true,2858 "reduce": false,2859 "mid": "69000.5",2860 "ts": 1794000000000,2861 "markoutsBps": {2862 "1s": "-0.8",2863 "10s": null,2864 "60s": null2865 },2866 "markoutsDone": false2867 }2868 ]2869 },2870 "mmPerformance": {2871 "mode": "paper",2872 "label": "PAPER — SIMULATED fills on real books",2873 "sessions": 2,2874 "fills": 12,2875 "volumeUsd": "600",2876 "attribution": {2877 "totalUsd": "-0.42",2878 "spreadCaptureUsd": "0.31",2879 "inventoryPnlUsd": "-0.55",2880 "feesUsd": "-0.18",2881 "fundingUsd": "0",2882 "bpsOfVolume": "-7"2883 },2884 "markouts": [2885 {2886 "horizon": "1s",2887 "fills": 12,2888 "meanBps": "-0.8"2889 }2890 ],2891 "note": "attribution of the simulated fills"2892 },2893 "mmEvidence": {2894 "evidence": {2895 "version": "1",2896 "lab": {2897 "source": "research/studies/market_making_as",2898 "result": "negative"2899 },2900 "simulation": {2901 "source": "mm simulation",2902 "result": "negative"2903 },2904 "fees": "maker 0.015 %",2905 "statement": {2906 "fr": "Le PnL modélisé est négatif.",2907 "en": "The modelled PnL is negative."2908 }2909 },2910 "statement": "The modelled PnL is negative.",2911 "sha256": "f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6f6",2912 "jurisdiction": {2913 "text": "Hyperliquid — the venue's terms and your jurisdiction (Québec, Canada). Read on 2026-11-10.\nThis is general information, not legal advice. It is not a legal clearance, and SP Wallet gives none.\n1. Hyperliquid's terms of use (app.hyperliquid.xyz, last updated 2026-06-15, §1.6) exclude persons in the United States of America and in Ontario, Canada. Québec is not named. Those terms govern the website interface; §1.1 says the interface is not the exclusive means of access. No API terms and no documented API geo-blocking were found.\n2. §1.9 of those terms makes you solely responsible for determining whether leveraged or derivative trading is lawful where you live.\n3. The AMF's public page on buying and selling crypto says that platforms letting Québec clients trade crypto assets that are securities or derivatives must be registered with the AMF, and advises against dealing with platforms that are neither registered nor under a pre-registration undertaking. Hyperliquid is not on the AMF's register of crypto trading platforms (checked 2026-11-10). CSA Staff Notice 21-332 (2023) requires registered or undertaking platforms not to offer leverage to Canadian clients.\n4. Not verified: the AMF's warning list could not be searched in full; whether the venue blocks a Québec IP address in practice.\n5. SP Wallet does not work around any access restriction (no VPN, no proxy, no alternative path to a blocked service).\nBy approving, you confirm that you have read this summary and that enabling live derivative trading on this venue is your own decision and your own responsibility. Your confirmation is recorded in the audit log.",2914 "sha256": "859fab5d4ecfdb5127e300cb96105ce2fc8e8ebbc80584ad02a2a88ee85ad783",2915 "version": "2026-11-10",2916 "source": "docs/v4/venues/jurisdiction.md"2917 },2918 "minPaperMinutes": 302919 },2920 "mmBounds": {2921 "signer": {2922 "maxDays": 7,2923 "maxQuoteNotional": "2000"2924 },2925 "section": {2926 "maxLevelsPerSide": 52927 },2928 "breakers": [2929 {2930 "code": "consecutive_rejects",2931 "default": "halt",2932 "alwaysStops": true2933 },2934 {2935 "code": "stale_data",2936 "default": "pull",2937 "alwaysStops": false2938 }2939 ],2940 "locks": {2941 "mainnet": {2942 "network": "mainnet",2943 "lock": {2944 "code": "mainnet_disabled",2945 "message": "SPW_DERIV_LIVE_MAINNET is not on",2946 "setting": "SPW_DERIV_LIVE_MAINNET"2947 },2948 "consulted": [2949 "SPW_DERIV_LIVE_MAINNET",2950 "SPW_DERIV_MANDATE_MAINNET",2951 "SPW_DERIV_MM_MAINNET",2952 "SPW_TRADING_API_EXECUTION"2953 ]2954 },2955 "testnet": {2956 "network": "testnet",2957 "lock": null,2958 "consulted": [2959 "SPW_DERIV_MM_TESTNET",2960 "SPW_TRADING_API_EXECUTION"2961 ]2962 }2963 }2964 },2965 "mmCommand": {2966 "taken": "queued",2967 "command": "pull",2968 "sessionId": "6a0c1d2e-5a3b-4c44-9d0a-0000000a9000"2969 },2970 "mmCommandNothing": {2971 "taken": "nothing",2972 "command": "flatten",2973 "note": "no live session and nothing on a venue for this agent"2974 },2975 "mmAck": {2976 "goLive": {2977 "steps": [2978 {2979 "id": "paper",2980 "done": true,2981 "evidence": {2982 "requiredMinutes": 30,2983 "instrument": "hyperliquid:BTC",2984 "session": {2985 "id": "s",2986 "minutes": 30.5,2987 "fills": 12,2988 "startedAt": 17940000000002989 }2990 },2991 "missing": null2992 },2993 {2994 "id": "evidence",2995 "done": false,2996 "evidence": {2997 "acknowledgedAt": null,2998 "sha256": null,2999 "version": "1"3000 },3001 "missing": "the acknowledgement that the modelled PnL is negative in the lab study and in the simulation"3002 },3003 {3004 "id": "jurisdiction",3005 "done": false,3006 "evidence": {3007 "acknowledgedAt": null,3008 "sha256": null,3009 "source": "docs/v4/venues/jurisdiction.md"3010 },3011 "missing": "the Hyperliquid jurisdiction acknowledgement"3012 },3013 {3014 "id": "testnet",3015 "done": false,3016 "evidence": {3017 "session": null,3018 "attestedAt": null,3019 "note": null,3020 "ownerRun": true3021 },3022 "missing": "the testnet step"3023 },3024 {3025 "id": "mandate",3026 "done": false,3027 "evidence": {3028 "mandateId": null,3029 "state": null,3030 "phase": null,3031 "integrity": null,3032 "network": null,3033 "expiresAt": null3034 },3035 "missing": "a quoting mandate approved with the passkey for the agent's current configuration"3036 },3037 {3038 "id": "locks",3039 "done": false,3040 "evidence": {3041 "network": null,3042 "code": null,3043 "setting": null3044 },3045 "missing": "a mandate (the network follows from its venue account)"3046 }3047 ],3048 "ready": false,3049 "network": null3050 }3051 },3052 "mmRecover": {3053 "adopted": [],3054 "revoked": [3055 "7a1c1f0e-8f5f-4b1e-9c56-0000000a0902"3056 ],3057 "pending": []3058 },3059 "wallet": {3060 "network": {3061 "id": "base",3062 "name": "Base",3063 "family": "evm",3064 "chainRef": "8453",3065 "native": {3066 "id": "native",3067 "symbol": "ETH",3068 "name": "Ether",3069 "decimals": 183070 },3071 "tokens": [3072 {3073 "id": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",3074 "symbol": "USDC",3075 "name": "USD Coin",3076 "decimals": 63077 }3078 ],3079 "explorerAddr": "https://basescan.org/address/",3080 "minConf": 123081 }3082 }3083}