微算力 · API 导航与自营网关
API 接入 EN
未登录登录
⚓

AI 交易信号,按调用付费,无需注册

HL Privateer · v1.0.0
专业技能 安全 B 级 作者 adwilkinson 公开目录收录
1.2k 下载 0 安装 5.1k 收藏 19 浏览

简介

无需 API 密钥的 Hyperliquid AI 交易信号服务,按调用付费获取实时仓位、AI 策略分析与跟单信号。

原始描述

Access HL Privateer, an open agentic Hyperliquid discretionary trading desk. Read live positions, AI analysis, copy-trade signals, and risk state via x402 pa...

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/hl-privateer/
其它 Agent解压到它自己的 skills 目录,目录名用 hl-privateer

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

中文使用说明 来自收录源

核心用法

HL Privateer 是一个开放的 Hyperliquid 自主交易柜台,通过 x402 协议提供按调用付费的 API 服务。用户无需注册、无需 API 密钥,仅需使用 Base 链 USDC 支付即可访问实时交易数据。

三种核心使用场景:

  1. 跟单交易 — 读取 /v1/agent/positions 和 /v1/agent/copy/trade 端点获取仓位与信号,镜像交易至自有账户
  2. 信号集成 — 消费 AI 策略分析(/v1/agent/analysis)和风险信号,融入自有策略
  3. 监控面板 — 免费端点获取 PnL、运行状态;付费端点获取完整风控配置与操作日志

定价阶梯:

  • $0.01/调用:仓位、订单、最新 AI 分析、历史分析
  • $0.02/调用:市场洞察、AI 全景面板
  • $0.03/调用:信号审计追踪、跟单格式仓位数据
  • 免费:PnL%、运行模式、公开楼层快照、健康检查

显著优点

  • 零摩擦接入:无 KYC、无注册、无 API 密钥管理,纯区块链支付
  • Agent 原生设计:专为 AI Agent 消费设计,REST + WebSocket 双协议支持
  • 透明架构:公开披露多 Agent 协作机制(Strategist/Research/Risk/Execution/Ops),风险引擎为确定性硬约束
  • 实时性:3 秒心跳监控,WebSocket 实时推送楼层日志
  • 成本可控:微额支付($0.01-$0.03/调用),按需取用

潜在缺点与局限性

  • 托管风险:单一 Hyperliquid 账户托管所有资金,用户需信任运营方
  • 黑箱执行:虽披露 Agent 角色,但具体策略逻辑未开源(代码仓库仅前端)
  • 流动性依赖:Hyperliquid 为中心化订单簿 DEX,存在平台风险
  • 支付摩擦:每笔调用需链上签名与确认,高频调用 Gas 成本累积
  • 地域限制:Hyperliquid 服务在某些司法管辖区受限
  • 无历史回测:未提供策略历史业绩的独立验证

适合人群

  • 希望快速接入专业级交易信号的量化交易者与 DeFi 策略开发者
  • 构建自动化跟单系统的 AI Agent 开发者
  • 需要实时市场洞察与风险信号的研究型用户
  • 不愿处理 CEX API 密钥管理、偏好链上支付的原生加密用户

常规风险

风险类型 说明
智能合约风险 x402 支付协议及 Hyperliquid 合约漏洞
运营方风险 团队可能变更策略参数、挪用资金或停止服务
市场风险 永续合约高杠杆导致快速清算,跟单者承受相同波动
执行风险 信号延迟、滑点、Hyperliquid 平台技术故障
监管风险 DeFi 衍生品交易在多国处于灰色地带
支付风险 链上支付失败、nonce 重放、Gas 费波动

关键提示:技能文档自称 "proprietary" 许可证且未开源核心策略代码,安全审计报告为占位生成,实际安全性未经独立验证。

技能正文


name: hl-privateer description: > Access HL Privateer, an open agentic Hyperliquid discretionary trading desk. Read live positions, AI analysis, copy-trade signals, and risk state via x402 pay-per-call endpoints. No API keys. No sign-ups. Just x402 on Base (USDC). metadata: author: hl-privateer version: "2.0" url: https://hlprivateer.xyz source: https://github.com/ADWilkinson/hlprivateer.xyz license: proprietary category: finance tags: - hyperliquid - trading - copy-trading - signals - x402 - defi - perps compatibility: > Requires network access to api.hlprivateer.xyz. Payment via x402 v2 exact scheme (USDC on Base, eip155:8453). Facilitator: https://facilitator.payai.network

HL Privateer -- Agent Skill

HL Privateer is an open, agentic discretionary trading desk on Hyperliquid. A fund of autonomous agents making discretionary long/short calls -- positions, analysis, signals, and risk state are all accessible via paid x402 endpoints.

You are an agent. You can follow our trades, read our analysis, copy our positions, or integrate our signals into your own strategy. Pay per call. No API keys. No sign-ups. Just x402.

Skill Files

This skill package contains the following files, all served at https://hlprivateer.xyz/skills/:

File Purpose
hl-privateer.md This file. Primary skill definition with full instructions.
llms.txt Agent-oriented quick start and endpoint catalog.
api.md Complete REST + WebSocket API reference.
x402.md x402 payment quickstart with example flows.
agents.json Machine-readable OpenAgents v1 discovery document.

Quick Start

  1. Hit any agent endpoint: GET https://api.hlprivateer.xyz/v1/agent/stream/snapshot
  2. Receive 402 Payment Required with PAYMENT-REQUIRED header containing payment instructions
  3. Decode the header (Base64 JSON) to get price, network, payTo address, and facilitator URL
  4. Create and sign an x402 payment payload for the specified amount (USDC on Base)
  5. Retry the same request with the PAYMENT-SIGNATURE header containing the signed payment (Base64 JSON)
  6. Receive data in the 200 response plus PAYMENT-RESPONSE settlement header

Base URLs

  • REST API: https://api.hlprivateer.xyz
  • WebSocket: wss://ws.hlprivateer.xyz
  • Web UI: https://hlprivateer.xyz

x402 Payment Details

  • Network: Base (eip155:8453)
  • Asset: USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)
  • Facilitator: https://facilitator.payai.network
  • Protocol: x402 v2 (exact scheme)

See x402.md in this directory for the full payment flow with curl examples.

Paid Endpoints (x402)

All endpoints are GET requests against https://api.hlprivateer.xyz. Pay per call via x402.

$0.01/call

Endpoint What You Get
/v1/agent/stream/snapshot Mode, PnL%, health, open positions, recent ops tape
/v1/agent/positions Full position array -- symbols, sides, sizes, entries, PnL
/v1/agent/orders Open orders on the book
/v1/agent/analysis?latest=true Latest AI strategist analysis with thesis and signals
/v1/agent/analysis Analysis history (paginated, filterable by correlationId)

$0.02/call

Endpoint What You Get
/v1/agent/insights?scope=market Risk config, signal timeline, account snapshot
/v1/agent/insights?scope=ai Full dashboard: floor state, risk, analysis, copy summary

$0.03/call

Endpoint What You Get
/v1/agent/copy/trade?kind=signals Audit trail of proposals, analysis, risk decisions, basket events
/v1/agent/copy/trade?kind=positions Position data formatted for copy-trading

Free Endpoints (no payment required)

Endpoint What You Get
/v1/public/pnl Current PnL% and runtime mode
/v1/public/floor-snapshot Mode, PnL%, health, account value, positions, ops tape
/v1/public/floor-tape Recent ops log lines from all agent roles
/healthz Service health check

Example: Check Current PnL (free)

curl https://api.hlprivateer.xyz/v1/public/pnl
{
  "pnlPct": 1.92,
  "mode": "READY",
  "updatedAt": "2026-02-13T16:20:00Z"
}

Agent Use Cases

Copy Trading

Read positions and signals to mirror trades on your own account.

  1. Poll /v1/agent/positions for current positions ($0.01)
  2. Poll /v1/agent/copy/trade?kind=signals for entry/exit signals ($0.03)
  3. Poll /v1/agent/copy/trade?kind=positions for copy-formatted position data ($0.03)

Signal Integration

Consume analysis and risk signals to inform your own strategy.

  1. Read /v1/agent/analysis?latest=true for the latest strategist thesis ($0.01)
  2. Read /v1/agent/insights?scope=ai for full AI floor summary ($0.02)
  3. Subscribe to WebSocket at wss://ws.hlprivateer.xyz for real-time floor tape

Monitoring / Dashboard

Build a monitoring view or alerting system.

  1. Free: Poll /v1/public/floor-snapshot for mode, PnL, positions
  2. Paid: Read /v1/agent/stream/snapshot for richer health and ops data ($0.01)
  3. Paid: Read /v1/agent/insights?scope=market for risk config and signal timeline ($0.02)

Portfolio Composition Research

Understand how the desk constructs and manages its basket.

  1. Read /v1/agent/analysis for historical analysis entries ($0.01)
  2. Read /v1/agent/insights?scope=ai for the full AI dashboard ($0.02)
  3. Read /v1/agent/copy/trade?kind=signals for the full proposal audit trail ($0.03)

WebSocket Protocol

Connect to wss://ws.hlprivateer.xyz for real-time events.

Subscribe to channels

{ "type": "sub.add", "channel": "public.tape" }

Receive events

{
  "type": "event",
  "channel": "public.tape",
  "payload": {
    "eventType": "FLOOR_TAPE",
    "role": "strategist",
    "line": "LONG HYPE -- momentum breakout, funding neutral"
  }
}

Client message types

Type Purpose
sub.add Subscribe to a channel
sub.remove Unsubscribe from a channel
cmd.exec Execute a command (requires auth)
ping Keepalive

Server message types

Type Purpose
sub.ack Subscription confirmed
event Channel event payload
cmd.result Command execution result
error Error response
pong Keepalive response

How The Desk Works

HL Privateer runs autonomous agents on a single Hyperliquid account:

  • Strategist: scans 50+ perp markets, generates long/short proposals with thesis and sizing
  • Research: regime hypotheses, macro context, funding analysis, social sentiment
  • Risk: explains risk posture (advisory only -- hard-gated by deterministic risk engine)
  • Execution: suggests tactics, annotates slippage expectations
  • Ops: monitors feeds, service health, circuit breakers (3s heartbeat)
  • Market Data: detects stale feeds, regime shifts, funding divergences
  • Scribe: produces audit narratives for each proposal cycle

All proposals pass through a deterministic risk engine (fail-closed) before execution. No agent can bypass risk limits. The human operator holds kill-switch authority.

Runtime Modes

Mode Meaning
INIT Starting up, loading keys and config
WARMUP Collecting initial market data window
READY Flat, watching for opportunities
IN_TRADE Active long/short positions
REBALANCE Adjusting position weights for parity
HALT Operator-initiated stop
SAFE_MODE Automatic safety stop (dependency or data failure)

Error Responses

All errors follow a standard envelope:

{
  "error": {
    "code": "RISK_DENY",
    "message": "Proposal denied by max drawdown rule",
    "requestId": "req_01J..."
  }
}

Common error codes:

Code Meaning
PAYMENT_REQUIRED x402 payment needed (HTTP 402)
UNAUTHORIZED Missing or invalid authentication
FORBIDDEN Insufficient tier or capability
RISK_DENY Risk engine denied the action
RATE_LIMITED Too many requests
INTERNAL_ERROR Server error

Further Reading

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

hyperliquidtradingcopy-tradingsignalsx402defiperpsai-tradingpay-per-call

同类 Skill