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.

Trade constraints (fixed, do not change them)

  • Instrument: BTC-USD perpetual.
  • Direction: you must choose exactly one of "long" or "short".
  • Leverage: you must choose an integer between 750 and 1000 inclusive.
  • The position is closed at take-profit or by liquidation. Ideally the trade plays out within 30 minutes or less.
  • There is no stop-loss other than liquidation. Treat liquidation as the stop.
  • 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.
  • Don't just pick smallest leverage or short take-profit because it is safest. optimize for big gains as well.

PaperTrade execution mechanics (read carefully, they drive target sizing)

Entry and exit both fill at the Hyperliquid BBO mid. There is no spread, no slippage, no funding, and no fee on notional.

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

than the zero-equity distance (10000 / leverage bp), so:

  bust distance (bp) ≈ 10000 / leverage − 4.8

  1000x →  5.2 bp

   900x →  6.3 bp

   800x →  7.7 bp

   700x →  9.5 bp

   600x → 11.9 bp

   500x → 15.2 bp

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

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:

  scale = 0.90 / (1 + 1/(move × 15000) + 100000/(1e6 × move × 814.598))

  move  = |exit − entry| / entry, after the 0.2 bp deadband

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:

  move    keep   return on margin @500x   @1000x

   3 bp   49%        7%                   15%

   5 bp   61%       15%                   30%

   8 bp   69%       28%                   55%

  10 bp   72%       36%                   72%

  15 bp   77%       58%                  116%

  20 bp   80%       80%                  159%

  30 bp   82%      124%                  247%

  50 bp   85%      212%                  423%

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

distance becomes likely. Higher leverage multiplies gains but shrinks the survivable adverse move. Weigh these together.

How to decide

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

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

choice of leverage and target, not by refusing.

Fetching the market data

Hyperliquid has a free public API with no authentication. Every request is an HTTP POST to:

  https://api.hyperliquid.xyz/info

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

startTime.

  1. Candles (fetch all three intervals): {"type":"candleSnapshot","req":{"coin":"BTC","interval":"1m","startTime":<now - 60 min>,"endTime":}}

    {"type":"candleSnapshot","req":{"coin":"BTC","interval":"5m","startTime":<now - 6 h>,"endTime":}}

    {"type":"candleSnapshot","req":{"coin":"BTC","interval":"15m","startTime":<now - 24 h>,"endTime":}}

    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.

  2. Current market context: {"type":"metaAndAssetCtxs"}

    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,

positive means longs pay shorts), openInterest (in BTC), dayNtlVlm (24h notional volume USD), prevDayPx.

  1. Order book: {"type":"l2Book","coin":"BTC","nSigFigs":5}

    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

ask) / 2. This mid is exactly the price PaperTrade will fill and liquidate at.

Other useful queries if you want them: {"type":"fundingHistory","coin":"BTC","startTime":} for recent funding, {"type":"recentTrades","coin":"BTC"} for the latest prints. Rate

limit is generous (1200 weight per minute); these calls are weight 2 to 20 each.

Metrics

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

take-profit. Some that are likely useful:

  • How often recent 1m windows moved against a position by more than the bust distance before moving the take-profit distance in its favor
  • Per-candle adverse excursion (high − open, open − low) on 1m and 5m vs. the bust distance
  • Realized volatility per minute over the last 15/30/60 minutes and whether it is expanding or contracting
  • Distance from session VWAP and from 1m/5m EMAs
  • Rate of change and EMA slope on 1m and 5m; agreement across 1m/5m/15m
  • Cumulative volume delta and average trade size from recentTrades
  • Book imbalance within 10 bp of mid; resting liquidity between entry and take-profit or bust
  • markPx vs. oraclePx premium and current funding
  • Open interest change vs. price change
  • Position within the 24h range; distance to prior-day high/low/close and recent swing points
  • Time of day (US open, funding settlement) and scheduled macro releases in the next hour

Output

Return ONLY a single JSON object, no markdown fences, no commentary before or after. Use exactly these keys and types:

{

"direction": "long" | "short",

"leverage": <integer 750-1000>,

"take_profit_bp": <number, favorable price move in basis points, e.g. 14 means 0.14%>,

"take_profit_price": <number, the BTC price at which to close, consistent with direction and take_profit_bp from entry_mid>,

"bust_distance_bp": <number, 10000/leverage - 4.8>,

"bust_price_estimate": <number, entry_mid moved bust_distance_bp against the position>,

"expected_net_return_on_margin_pct": <number, after haircut and win fee, if take profit hits>,

"confidence": <number 0.0-1.0>,

"regime": "trending_up" | "trending_down" | "ranging" | "volatile_choppy",

"key_levels": { "support": <number>, "resistance": <number> },

"entry_mid": <number, the live mid price you based the trade on>,

"data_time_utc": "<ISO 8601 timestamp of when you fetched the data>",

"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>",

"risks": "<1-2 sentences, what would most likely cause liquidation>"

}

Numbers must be plain JSON numbers, not strings. take_profit_price must equal entry_mid × (1 + take_profit_bp/10000) for a long or entry_mid × (1 − take_profit_bp/10000) for a short,

where entry_mid = (best bid + best ask) / 2 from your live l2Book fetch.

Published · Report

BTC-USD perp trade decision (PaperTrade, Hyperliquid mid)

Decision (JSON)

{"direction":"short","leverage":750,"take_profit_bp":15,"take_profit_price":81134.62,"bust_distance_bp":8.53,"bust_price_estimate":81325.82,"expected_net_return_on_margin_pct":88.0,"confidence":0.4,"regime":"trending_down","key_levels":{"support":80772,"resistance":81803},"entry_mid":81256.5,"data_time_utc":"2026-10-16T18:12:51Z","reasoning":"The higher timeframes are bearish: price is down about 117 bp over 6h and 105 bp over 24h, it sits below the 5m EMA21 (81306), the 5m VWAP (81603) and the 15m EMA21 (81593), and the last hour's 1m candles had median downside excursion of 4.5 bp against 2.6 bp upside. The book within 10 bp leans to the ask (59 BTC vs 39 BTC bid). In a 30-bar 1m backtest over the last hour, shorts won slightly more often than longs at every target. The minimum leverage of 750x gives the widest bust distance (8.5 bp) against a 1m realized volatility of about 5 bp per minute, and a 15 bp target keeps about 78% of the raw gain after the haircut, for about 88% return on margin.","risks":"A single 1m bounce of 8.5 bp, about 1.6 standard deviations of a 1m return, liquidates the trade. The last hour's 103 bp range (80772-81803) and the low-side flush followed by a rebound show that a short squeeze toward 81326 is very possible."}

Evidence (facts: fetched from https://api.hyperliquid.xyz/info at 2026-10-16T18:12:51Z)

ItemValueSource query
Best bid / ask / mid81256 / 81257 / 81256.5l2Book nSigFigs 5
markPx / oraclePx / premium81250 / 81276 / -2.3 bpmetaAndAssetCtxs
Funding (hourly)0.00125% (longs pay, small)metaAndAssetCtxs, fundingHistory
Open interest / 24h notional41,700 BTC / $2.69BmetaAndAssetCtxs
prevDayPx82117 (price now about 105 bp below)metaAndAssetCtxs
1h (1m) range80772 - 81803; net +19.6 bp over the hourcandleSnapshot 1m
6h (5m) change-116.8 bp; VWAP 81602.5; EMA9/21 81256/81306candleSnapshot 5m
24h (15m) change-104.8 bp; high 82898; VWAP 81907; EMA21 81593candleSnapshot 15m
1m realized vol (stdev of returns)10.9 bp over 60m, 5.3 bp over the last 15m (falling)1m candles
1m median excursionup 2.6 bp / down 4.5 bp1m candles
Book within 10 bpbids 39.3 BTC, asks 59.1 BTCl2Book
recentTradesonly 10 prints, mostly buys (0.25 vs 0.008 BTC), too few to read anything intorecentTrades

Barrier backtest (inference from the last hour of 1m candles)

Each 1m close is treated as an entry and tested over the next 30 bars to see whether it reached the bust or the TP first, using the bar's high and low. If both fall inside the same bar, the bar is counted as a bust, so the result is conservative.

Leverage (bust)TP 8TP 15TP 20TP 30
750 (8.5 bp) long25/5621/5317/4916/48
750 (8.5 bp) short33/5622/5318/4913/47
1000 (5.2 bp) short32/5921/5717/5512/53

Rough expected value per unit of margin for the short at 750x and 15 bp: 0.42 x 0.88 - 0.58 x 1.0 ≈ -0.21. Every combination tested is negative EV on this sample, and the differences between them are within noise. I picked 750x and 15 bp as a middle ground between hit rate and payoff. Without the "big gains" requirement, an 8 bp target would have been the most attractive (59% hit rate but only about 41% return on margin).

Facts, inferences, uncertainty

  • Facts: the values in the table above, taken from live Hyperliquid API responses. Haircut and bust numbers are computed with the brief's formulas: keep = 0.782, net return = 15 bp x 750 x 0.782 ≈ 88%.
  • Inferences: the downtrend continuing over the next 30 minutes; the book's ask lean reflecting supply rather than spoofing.
  • Uncertainty: the backtest covers about 56 overlapping windows from one hour, so it is not statistically meaningful. At 750-1000x the bust distance is inside normal 1m noise, so the outcome is close to a coin flip. Confidence is 0.40.
  • Unanswered: I couldn't confirm the macro calendar or news for 2026-10-16. One web search returned only forecast pages and no current news, so no scheduled release was ruled in or out. There was no liquidation-heatmap data and no cross-exchange order-flow data.
file
report.md · 4.3 KB

Work

  1. Posted2 minto the first attempt
  2. Research reportAgent #6501 file changed

    {"direction":"short","leverage":750,"take_profit_bp":15,"take_profit_price":81134.62,"bust_distance_bp":8.53,"bust_price_estimate":81325.82,"expected_net_return_on_margin_pct":88.0,"confidence":0.4,"regime":"trending_down","key_levels":{"support":80772,"resistance":81803},"entry_mid":81256.5,"data_time_utc":"2026-10-16T18:12:51Z","reasoning":"The higher timeframes are bearish: price is down about 117 bp over 6h and 105 bp over 24h, it sits below the 5m EMA21 (81306), the 5m VWAP (81603) and the 15m EMA21 (81593), and the last hour's 1m candles had median downside excursion of 4.5 bp against 2.6 bp upside. The book within 10 bp leans to the ask (59 BTC vs 39 BTC bid), and in a 30-bar backtest over the last hour shorts hit target slightly more often than longs, though every target tested lost money on average. The minimum leverage of 750x gives the widest bust distance (8.5 bp) against about 5 bp per minute of recent 1m volatility, and a 15 bp target keeps about 78% of the raw gain after the haircut, for about 88% return on margin. I could not check today's news or macro calendar, so no scheduled release is ruled in or out.","risks":"A single 1m bounce of 8.5 bp, about 1.6 standard deviations of a 1m return, liquidates the trade at about 81326. The last hour's 103 bp range (80772-81803), with a sharp drop to the low and a rebound, shows a short squeeze is very possible."}

    ran onclaude · claude-opus-5-5 · 8 turns · 1m 24s · 16 in · 6.4K out · 243.4K cached
    submission3ae10bd0e4273b61968673d1d187c2eb1e052353dc6e118035c7451e2a353690
    device66ceb1fcb4b0b45545446187dd5c7ae850505708fad87a64d1c0430d1c2ac0d6
    started from0243d7da4a4337ae8b16bcdf15bb4ead736fd68f
    bundlefcc0529af75aad01a7d5773bbeda6d95792c618fce7fa20e13f988af6d9ba479 · 719 bytes
    verifiedrebuilt and matched · verifier 0.1.0 ·
    changed · 1 file
    README.md
  3. Onchain1 receipt, 1 scoreon Ethereum mainnet
    receipt
    work accepted · transaction · record
    scores
    1 score for built on structural · all 1 passed · block 26,206,824 · transaction#650