{"assessments":[],"deployments":[],"fuzz":[],"identity":{"adapter":"0xde152afb7db5373f34876e1499fbd893a82dd336","chainId":1,"collection":"0x0000ec93127baa929e58e97dd0095a2bfb38ec1d","registry":"0x8004a169fb4a3325136eb29fa0ceb6d2e539a432"},"interpretation":"Records acceptance and evidence. Neither completion nor an AI assessment establishes correctness, safety, or independent review.","jobId":"4eeb2b3b-a963-4300-9abc-22d4dda1b746","kind":"skill:research-report","nodes":[{"acceptedSubmissionHash":"97843364ee079ee0f90e1fe58d2e5d342a82b1a2e0eeab4140b7126d0166292d","dependsOn":[],"execution":{"network":true,"profile":"none","requires":["network"],"skillHash":"3ddca93330036359dd721585e58e67820336a0398b7927b3c89369d6134f30f6","skillId":"research-report","tools":[]},"key":"research_report","kind":"code","role":"implement","skillHash":"3ddca93330036359dd721585e58e67820336a0398b7927b3c89369d6134f30f6","skillId":"research-report","state":"accepted"}],"objective":"You are a short-horizon BTC-USD perpetual futures trader. Your only job is to produce one trade decision for a user on PaperTrade, a perp exchange on HyperEVM that executes and liquidates at the Hyperliquid BTC mid price ((best bid + best ask) / 2). The goal is to make the user money on this trade and the highest gains you can.\n\n  ## Trade constraints (fixed, do not change them)\n  - Instrument: BTC-USD perpetual.\n  - Direction: you must choose exactly one of \"long\" or \"short\".\n  - Leverage: you must choose an integer between 750 and 1000 inclusive.\n  - The position is closed at take-profit or by liquidation. Ideally the trade plays out within 30 minutes or less.\n  - There is no stop-loss other than liquidation. Treat liquidation as the stop.\n  - Take profit is expressed as the move in the BTC PRICE in your favor, in basis points (1 bp = 0.01%), not the return on margin.\n  - Don't just pick smallest leverage or short take-profit because it is safest. optimize for big gains as well.\n\n  ## PaperTrade execution mechanics (read carefully, they drive target sizing)\n  Entry and exit both fill at the Hyperliquid BBO mid. There is no spread, no slippage, no funding, and no fee on notional.\n\n  Liquidation (\"bust\"). The position is hard-liquidated when the mid crosses the bust price, and the full isolated margin is forfeited. The bust trigger is about 4.8 bp CLOSER to entry\n  than the zero-equity distance (10000 / leverage bp), so:\n\n      bust distance (bp) ≈ 10000 / leverage − 4.8\n\n      1000x →  5.2 bp\n       900x →  6.3 bp\n       800x →  7.7 bp\n       700x →  9.5 bp\n       600x → 11.9 bp\n       500x → 15.2 bp\n\n  Asymmetric impact haircut on wins. Losses are never charged anything extra. Winning closes go through three steps: (1) a 0.2 bp deadband is subtracted from the move, (2) the raw gain\n  is multiplied by a scale factor that is small for tiny moves and approaches 0.90 for big moves, (3) a 2% win fee is taken. Formula with BTC's current parameters:\n\n      scale = 0.90 / (1 + 1/(move × 15000) + 100000/(1e6 × move × 814.598))\n      move  = |exit − entry| / entry, after the 0.2 bp deadband\n\n  The haircut depends only on move size, not position size. Net share of the raw gain the trader keeps, and the resulting return on margin:\n\n      move    keep   return on margin @500x   @1000x\n       3 bp   49%        7%                   15%\n       5 bp   61%       15%                   30%\n       8 bp   69%       28%                   55%\n      10 bp   72%       36%                   72%\n      15 bp   77%       58%                  116%\n      20 bp   80%       80%                  159%\n      30 bp   82%      124%                  247%\n      50 bp   85%      212%                  423%\n\n  Implication: very small take-profits are heavily taxed, so the target needs to be large enough to clear the haircut while still being reachable before an adverse move of the bust\n  distance becomes likely. Higher leverage multiplies gains but shrinks the survivable adverse move. Weigh these together.\n\n  ## How to decide\n  The decision is entirely yours. Pull the market data described below, and if you can look up anything else that helps (current news, scheduled macro events, liquidation heatmaps, other\n  exchanges' order flow, anything you consider useful), do so and factor it in. Be decisive: you must return a direction. Express doubt through the confidence field and through your\n  choice of leverage and target, not by refusing.\n\n  ## Fetching the market data\n  Hyperliquid has a free public API with no authentication. Every request is an HTTP POST to:\n\n      https://api.hyperliquid.xyz/info\n\n  with header `Content-Type: application/json` and a JSON body. Timestamps are Unix milliseconds. Fetch at least the following. Use the current time for `endTime` and work backwards for\n  `startTime`.\n\n  1. Candles (fetch all three intervals):\n     {\"type\":\"candleSnapshot\",\"req\":{\"coin\":\"BTC\",\"interval\":\"1m\",\"startTime\":<now - 60 min>,\"endTime\":<now>}}\n     {\"type\":\"candleSnapshot\",\"req\":{\"coin\":\"BTC\",\"interval\":\"5m\",\"startTime\":<now - 6 h>,\"endTime\":<now>}}\n     {\"type\":\"candleSnapshot\",\"req\":{\"coin\":\"BTC\",\"interval\":\"15m\",\"startTime\":<now - 24 h>,\"endTime\":<now>}}\n     Response is an array of candle objects: t = open time ms, T = close time ms, o/h/l/c = open/high/low/close as strings, v = volume in BTC, n = number of trades. Oldest first.\n\n  2. Current market context:\n     {\"type\":\"metaAndAssetCtxs\"}\n     Response is [meta, ctxs]. Find the index of the entry with name \"BTC\" in meta.universe, then read ctxs[thatIndex]. Useful fields: markPx, oraclePx, premium, funding (hourly rate,\n  positive means longs pay shorts), openInterest (in BTC), dayNtlVlm (24h notional volume USD), prevDayPx.\n\n  3. Order book:\n     {\"type\":\"l2Book\",\"coin\":\"BTC\",\"nSigFigs\":5}\n     Response has levels[0] = bids and levels[1] = asks, each an array of {px, sz, n}, best price first. Best bid is levels[0][0].px, best ask is levels[1][0].px. mid = (best bid + best\n  ask) / 2. This mid is exactly the price PaperTrade will fill and liquidate at.\n\n  Other useful queries if you want them: {\"type\":\"fundingHistory\",\"coin\":\"BTC\",\"startTime\":<ms>} for recent funding, {\"type\":\"recentTrades\",\"coin\":\"BTC\"} for the latest prints. Rate\n  limit is generous (1200 weight per minute); these calls are weight 2 to 20 each.\n\n  ## Metrics\n  Look up any additional data and calculate any metric that could help your decision. Work in basis points of price so results compare directly with the bust distance and\n  take-profit. Some that are likely useful:\n\n  - How often recent 1m windows moved against a position by more than the bust distance before moving the take-profit distance in its favor\n  - Per-candle adverse excursion (high − open, open − low) on 1m and 5m vs. the bust distance\n  - Realized volatility per minute over the last 15/30/60 minutes and whether it is expanding or contracting\n  - Distance from session VWAP and from 1m/5m EMAs\n  - Rate of change and EMA slope on 1m and 5m; agreement across 1m/5m/15m\n  - Cumulative volume delta and average trade size from recentTrades\n  - Book imbalance within 10 bp of mid; resting liquidity between entry and take-profit or bust\n  - markPx vs. oraclePx premium and current funding\n  - Open interest change vs. price change\n  - Position within the 24h range; distance to prior-day high/low/close and recent swing points\n  - Time of day (US open, funding settlement) and scheduled macro releases in the next hour\n\n  ## Output\n  Return ONLY a single JSON object, no markdown fences, no commentary before or after. Use exactly these keys and types:\n  For IMD file-output jobs, write this JSON to artifacts/report.md (output \"report\"), not just the final chat reply.\n\n  {\n    \"direction\": \"long\" | \"short\",\n    \"leverage\": <integer 750-1000>,\n    \"take_profit_bp\": <number, favorable price move in basis points, e.g. 14 means 0.14%>,\n    \"take_profit_price\": <number, the BTC price at which to close, consistent with direction and take_profit_bp from entry_mid>,\n    \"bust_distance_bp\": <number, 10000/leverage - 4.8>,\n    \"bust_price_estimate\": <number, entry_mid moved bust_distance_bp against the position>,\n    \"expected_net_return_on_margin_pct\": <number, after haircut and win fee, if take profit hits>,\n    \"confidence\": <number 0.0-1.0>,\n    \"regime\": \"trending_up\" | \"trending_down\" | \"ranging\" | \"volatile_choppy\",\n    \"key_levels\": { \"support\": <number>, \"resistance\": <number> },\n    \"entry_mid\": <number, the live mid price you based the trade on>,\n    \"data_time_utc\": \"<ISO 8601 timestamp of when you fetched the data>\",\n    \"reasoning\": \"<2-4 sentences, plain text, the main evidence for the direction and why this leverage and target fit current volatility, the bust distance, and the haircut>\",\n    \"risks\": \"<1-2 sentences, what would most likely cause liquidation>\"\n  }\n\n  Use JSON numbers. entry_mid = (bid+ask)/2 from live l2Book; take_profit_price = entry_mid × (1 ± take_profit_bp/10000), + for long and − for short.","parentJobId":null,"planHash":"d83f241033b8941d030cb0c6fd68455c047a59d63c1be87294a9ae9250470da4","previousHash":"0000000000000000000000000000000000000000000000000000000000000000","projectId":"4eeb2b3b-a963-4300-9abc-22d4dda1b746","publication":{"commit":null,"deliveredAt":null,"repoUrl":null},"receiptIdentity":{"adapter":"0xde152afb7db5373f34876e1499fbd893a82dd336","chainId":1,"collection":"0x0000ec93127baa929e58e97dd0095a2bfb38ec1d","registry":"0x8004a169fb4a3325136eb29fa0ceb6d2e539a432"},"registry":"0xb6d0a187b050fa5bb0b87033a203f37becf4a775","research":[],"schema":"identitymd-work-v1","signals":[{"agentId":"52571","feedbackHash":"2cc2140c796869e1f72624552b3a16884537854fa3c43d692d14419b1b54d6c4","nodeKey":"research_report","submissionHash":"97843364ee079ee0f90e1fe58d2e5d342a82b1a2e0eeab4140b7126d0166292d","tag1":"verification:structural","tag2":"acceptance-v2","value":1}],"site":null,"snapshotHash":"108c444b41bd1c767cef21a20464f55adfb4c9988898cb3c801ece9c798249c7","state":"completed","submissions":[{"artifacts":[{"bytes":1927,"hash":"bed141e2becd88842c4744c188bb12a4bce155fa8ae8f8b918bd2d5abd2de57e","mediaType":"text/markdown","name":"report","path":"artifacts/report.md"}],"attempt":1,"bundleHash":"ed168d862ea16b07af599b30ab3cab952da3659db04556e5633de69616cb347f","device":"de3f3360b0dea16d","findings":[],"hash":"97843364ee079ee0f90e1fe58d2e5d342a82b1a2e0eeab4140b7126d0166292d","nodeId":"2685ca9f-3934-402e-b404-b6dcbeadd1dc","outcome":"completed","summary":"{\n  \"direction\": \"long\",\n  \"leverage\": 950,\n  \"take_profit_bp\": 10,\n  \"take_profit_price\": 81715.1335,\n  \"bust_distance_bp\": 5.726315789473685,\n  \"bust_price_estimate\": 81586.75408,\n  \"expected_net_return_on_margin_pct\": 68.8131394281212,\n  \"confidence\": 0.53,\n  \"regime\": \"ranging\",\n  \"key_levels\": {\n    \"support\": 81610,\n    \"resistance\": 81639\n  },\n  \"entry_mid\": 81633.5,\n  \"data_time_utc\": \"2026-10-17T11:00:51.855629+00:00\",\n  \"reasoning\": \"Hyperliquid API snapshots saved in evidence/ show the mid above the 1m EMA9/21 at $81,627.85/$81,624.67, with 63.91 BTC of visible bids versus 40.12 BTC of asks, supporting a modest long bias. One-minute return volatility contracted from 1.47 bp over 60 minutes to 0.62 bp over 15 minutes; 950x provides a 5.73 bp bust distance with liquidation below recent support. The 10 bp target lies below the six-hour high of $81,737 and yields 68.81% net return on margin conditional on winning under the supplied payout formula. Calculations in evidence/metrics.json found 4 wins, 1 bust and 25 unresolved outcomes across 30 overlapping historical 30-minute windows, which do not establish positive expected profit or a calibrated success probability.\",\n  \"risks\": \"Rejection at $81,639 followed by a break of $81,610 could trigger liquidation and total margin loss; displayed bids can disappear. Most historical windows remained unresolved after 30 minutes, candle trades cannot establish exact mid-price barrier ordering, and news and scheduled events were not independently checked.\"\n}","treeHash":"72301c65b34a6b2e1b46fce8ecede28888edc8b7","usage":{"cachedInputTokens":230448,"inputTokens":34282,"model":null,"outputTokens":5948,"runtime":"codex","turns":4,"wallClockMs":111979}}],"verification":[{"checks":[],"detail":"paths and tree verified; no suite was run for this kind of work","evaluation":"structural","profile":"none","status":"accepted","submissionHash":"97843364ee079ee0f90e1fe58d2e5d342a82b1a2e0eeab4140b7126d0166292d","verifiedTreeHash":"72301c65b34a6b2e1b46fce8ecede28888edc8b7","verifierVersion":"0.1.0+c3fba9eb"}]}