Home / Market / vike-hl-position-match

vike-hl-position-match

Reverse-lookup a Hyperliquid open position from share-card details (coin + side + leverage + entry price). Use when the user pastes or describes a HL share card and asks "whose card is this?", "find this trader", or "who has a 25x ETH long open at $3,200?". Returns matching wallet(s) ranked by entry-price proximity.

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

--- name: vike-hl-position-match description: Reverse-lookup a Hyperliquid open position from share-card details (coin + side + leverage + entry price). Use when the user pastes or describes a HL share card and asks "whose card is this?", "find this trader", or "who has a 25x ETH long open at $3,200?". Returns matching wallet(s) ranked by entry-price proximity. allowed-tools: Bash(vike-data:*)

---

vike-hl-position-match

Find the wallet(s) holding an open Hyperliquid perp position that match a share card.

Command

vike-data perp find-position
  --coin <SYM>         # the asset symbol, e.g. BTC, ETH, SOL (sent to the tool as `symbol`)
  --side long|short
  --leverage <X>       # e.g. 25
  --entry <PRICE>      # entry price from the card
  [--mark <PRICE>]     # current mark price — sharpens tie-break when multiple wallets share entry
  [--limit N]          # max matches, default 50, max 500
  [--json]

How matching works

The tool walks three widening entry-price tolerance bands until it finds at least one match:

| Band | Tolerance | When it's used | |---|---|---| | tight | ±0.05% | First pass — most share cards round-trip exactly | | loose | ±0.5% | Fallback if no tight matches | | fallback | ±1.0% | Last resort — anything wider is noise |

Leverage must be within ±0.5 of the queried value (so --leverage 5 matches positions at 4.5×–5.5×). Tie-breaking inside a band is by closest live mark_price to the queried --mark (or to --entry if --mark is not given).

The response includes tolerance_used so the caller knows which band matched (tight / loose / fallback / no_match).

Common queries

| User says | Flags | |---|---| | "Find this share card: 25x ETH long, entry $3,210" | --coin ETH --side long --leverage 25 --entry 3210 | | "Whose 10x BTC short is open at $58,400? Current mark $57,900" | --coin BTC --side short --leverage 10 --entry 58400 --mark 57900 | | "Top 5 matches for 50x SOL long around $145" | --coin SOL --side long --leverage 50 --entry 145 --limit 5 |

Output schema

{
  "match_count": 3,
  "tolerance_used": "tight",          // tight | loose | fallback | no_match
  "query": { "symbol": "ETH", "side": "long", "leverage": 25, "entry_price": 3210, "mark_price_hint": 3215 },
  "matches": [
    {
      "address": "0x...",
      "symbol": "ETH", "side": "long",
      "snapshot_ts": 1716700000,       // unix seconds — how fresh the snapshot is
      "size_token": 12.5, "size_usd": 40250,
      "entry_price": 3209.8, "mark_price": 3215.3,
      "leverage": 25.0,
      "liquidation_price": 3082.1,
      "unrealized_pnl": 68.75,
      "entry_dist_pct": 0.0062         // |query.entry - match.entry| / query.entry × 100
    }
  ]
}

Reading the result

Anti-patterns

Pairs well with