Superior Skills
Trading strategies and intelligence tools for Superior Trade — natural-language strategy authoring, backtesting, and autonomous deployment on Hyperliquid, Lighter, and Polymarket.
Designed for OpenClaw users adding trading capabilities to their agent, and for traders who want validated templates rather than rolling their own.
v2 — Hyperliquid and Aerodrome
v2 contains the Freqtrade-based exchange integrations and the existing crypto strategy library.
Validated strategies (with backtest evidence)
These strategies have backtest evidence on real Hyperliquid data. Numbers are full-period (162 days, 2025-11-20 → 2026-05-01) unless noted.
| Strategy | Regime | Pairs tested | Trades | Win | Profit | Max DD | File |
|---|---|---|---|---|---|---|---|
| Donchian Strong-Regime | Strong directional trend | BTC | 6 | 100% | +6.69% | 0% | donchian-strong-regime |
| Bollinger Reverter 4h | Range / chop (ADX<25) | BTC/ETH/SOL/DOGE | 84 | 65.5% | +8.77% | 18.5% | bollinger-reverter-4h |
Paired together as separate sub-accounts, the two strategies are regime-complementary: the Donchian gate fires zero trades during the chop windows where the Bollinger reverter thrives, and the Bollinger reverter mildly underperforms during the strong-trend windows the Donchian captures.
Template strategies (starting points)
Reference templates for adapting to your own thesis. Backtest before deploying.
dca-weekly— dollar-cost averaging with scheduled buysgrid-trading— profit-laddered position adjustmentfunding-rate-arbitrage— negative-funding capture (carry)funding-squeeze— funding-extreme squeeze ridebasis-arb— spot-perp basis convergencebreakout— Donchian breakout with trailing stopmean-reversion— Bollinger band fade (4h validated; see file)scalping— RSI + volume-thrust template
Categories covered: trend-following, mean-reversion, carry, arbitrage, scalping.
Reusable primitives
Building blocks that compose across strategies.
trade-thesis— Structured pre-trade thesis builder: bull/bear cases, invalidation criteria, and sizing rationale before any live deployment of a new strategy idea. Aliases: pre-trade analysis, conviction check, trade plan, bull/bear case.regime-overlay— Triple-confirmation regime gate (EMA separation + ADX + N-bar return). Turns fragile directional strategies into regime-robust ones. Aliases: regime filter, trend gate, directional confirmation.dsl-exit-engine— Three-phase exit primitive: ROI ladder, hard stop, ratcheting trailing stop. Aliases: ratcheting trailing stop, two-phase exit, take-profit ladder.fees-optimizations— Maker (ALO) vs taker (MARKET) order-type decisioning, builder fees, parameter sweeps. Aliases: fee optimizer, ALO vs MARKET, maker pricing.backtesting— Window selection, walk-forward, parameter sweeps.intelligence— Opportunity scanner / pair-ranking system.
v2 exchanges
hyperliquid— Hyperliquid/Freqtrade API reference, account bootstrap, funding, deployment, and live trading workflows.aerodrome— Aerodrome/Base spot-AMM execution.
Intelligence references
The skills/v2/primitives/intelligence/ folder provides the platform's pair-ranking system. Aliases: opportunity scanner, pair scanner, market screener, smart-money detector, four-stage funnel.
references/buckets.md— The four bucket framework: squeeze fuel, stealth accumulation, coiled spring, basis flipping.references/api.md—/v2/intelligence/scanendpoint and setup.references/workflow.md— Scan-to-deploy recipes.references/glossary.md— Terminology reference.
v3 — Polymarket and Lighter
v3 contains Nautilus-based venue integrations.
polymarket— Polymarket market discovery, funding, backtests, deployments, and one-off order workflows.lighter— Lighter account bootstrap, direct CCTP deposit intents, fast withdrawals, balance checks, and Nautilus deployments. Use this forvenue: "lighter"configs and<symbol>.LIGHTERinstruments such asBTC-PERP.LIGHTER.
v3 primitives
deposit-qr— Create a wallet-scannable QR code and payment URI for funding a Superior-managed EVM wallet on a specific chain before a venue deposit flow.
Polymarket archetypes
probability-momentumprobability-mean-reversiondeadline-driftrelated-market-spreadlarge-fill-pressurecatalyst-confirmation
Capability matrix
| Capability | Where it lives | Aliases |
|---|---|---|
| API key onboarding | SKILL.md → /auth/sign-in/magic-link |
auth setup, email API key, x-api-key |
| Hyperliquid account bootstrap | skills/v2/exchanges/hyperliquid/SKILL.md → /v3/account/{address}/hyperliquid + /v3/account/{address}/status/hyperliquid |
setup readiness, agent wallet, builder fee |
| Lighter account bootstrap | skills/v3/exchanges/lighter/SKILL.md → /v3/account/{address}/lighter + /v3/account/{address}/status/lighter |
Lighter readiness, API key index 4 |
| v2 strategy backtesting | skills/v2/exchanges/hyperliquid/SKILL.md → /v2/backtesting |
walk-forward, parameter sweep |
| v2 live deployment | skills/v2/exchanges/hyperliquid/SKILL.md → /v2/deployment |
Hyperliquid, Aerodrome, Freqtrade |
| Lighter Nautilus deployment | skills/v3/exchanges/lighter/SKILL.md → /v3/deployments with venue: "lighter" |
Lighter strategy, BTC-PERP.LIGHTER, lighter-tokyo |
| Polymarket Nautilus deployment | skills/v3/exchanges/polymarket/SKILL.md → /v3/deployments with venue: "polymarket" |
prediction-market strategy |
| Opportunity scanner | skills/v2/primitives/intelligence/ |
pair scanner, market screener, ranking funnel |
| Fee optimizer | skills/v2/primitives/fees-optimizations/SKILL.md |
ALO vs MARKET, maker vs taker, fee budgeting |
| Two-phase trailing stop | skills/v2/primitives/dsl-exit-engine/SKILL.md |
ratcheting stop, DSL exit engine |
| Pre-trade thesis | skills/v2/primitives/trade-thesis/SKILL.md |
trade plan, conviction check, bull/bear case |
| Regime gate | skills/v2/primitives/regime-overlay/SKILL.md |
trend filter, directional confirmation |
| Sub-account orchestration | skills/v2/exchanges/hyperliquid/SKILL.md → /v2/portfolio/... |
multi-strategy isolation |
| Hyperliquid deposit | skills/v2/exchanges/hyperliquid/SKILL.md → /v2/portfolio/hyperliquid/deposit |
Arbitrum USDC deposit, fund trading |
| Hyperliquid withdrawal | skills/v2/exchanges/hyperliquid/SKILL.md → /v3/portfolio/hyperliquid/withdraw |
Arbitrum USDC withdrawal, 1 USDC fee deducted, delayed arrival |
| Lighter direct CCTP deposit | skills/v3/exchanges/lighter/SKILL.md → /v3/portfolio/lighter/deposit |
external wallet, native USDC, Arbitrum/Base/Avalanche |
| Lighter fast withdrawal | skills/v3/exchanges/lighter/SKILL.md → /v3/portfolio/lighter/withdraw |
external EVM wallet, idempotent withdrawal |
| Deposit QR generation | skills/v3/primitives/deposit-qr/SKILL.md |
QR code, payment URI, fund wallet, chain-specific deposit |
| Atomic exit-all | skills/v2/exchanges/hyperliquid/SKILL.md → /v2/portfolio/hyperliquid/exit |
kill-switch, emergency exit |
| HIP3 RWA support | skills/v2/exchanges/hyperliquid/SKILL.md → HIP3 section |
tokenized stocks, commodities, indices |
| Polymarket strategy archetypes | skills/v3/polymarket-archetypes/* |
prediction-market archetypes |
| Managed wallet | skills/v2/exchanges/hyperliquid/SKILL.md → Account Setup |
no-key trading, custodial-style UX |
Folder layout
Every skill is a self-contained directory under skills/v2/ or skills/v3/, following the Agent Skills standard.
SKILL.md(repo root) — auth/onboarding: request an API key by email and use thex-api-keyheader. Also served atsuperior.trade/SKILL.md.skills/v2/exchanges/— Hyperliquid and Aerodrome exchange integrations.skills/v2/strategies/— existing Hyperliquid/Freqtrade strategy templates and validated drop-ins.skills/v2/primitives/— reusable v2 primitives:regime-overlay,dsl-exit-engine,fees-optimizations,backtesting,trade-thesis, andintelligence.skills/v3/exchanges/— Polymarket and Lighter Nautilus venue integrations.skills/v3/primitives/— reusable v3 helpers such asdeposit-qr.skills/v3/polymarket-archetypes/— prediction-market archetype skills used with Polymarket v3 workflows.
Getting started
# List trading accounts
curl https://api.superior.trade/v3/account \
-H "x-api-key: $SUPERIOR_TRADE_API_KEY"
# Backtest a strategy
curl -X POST https://api.superior.trade/v2/backtesting \
-H "x-api-key: $SUPERIOR_TRADE_API_KEY" \
-H "content-type: application/json" \
-d @config-and-code.json
# Start the backtest (note: action, not status)
curl -X PUT https://api.superior.trade/v2/backtesting/{id}/status \
-H "x-api-key: $SUPERIOR_TRADE_API_KEY" \
-d '{"action": "start"}'
# Poll until completion
curl https://api.superior.trade/v2/backtesting/{id} \
-H "x-api-key: $SUPERIOR_TRADE_API_KEY"
Install
Superior skills follow the open Agent Skills standard — one folder per
skill with a SKILL.md. Install through whichever entry point your agent uses:
| Entry point | Command |
|---|---|
| npx skills (universal — Claude Code, OpenClaw, Cursor, Codex, Gemini CLI, +50) | npx skills add Superior-Trade/superior-skills |
| GitHub CLI | gh skill install Superior-Trade/superior-skills donchian-strong-regime |
| Claude Code | /plugin marketplace add Superior-Trade/superior-skills then /plugin install superior-skills@superior-trade |
| OpenClaw / ClawHub | openclaw skills install superior-skills · or openclaw skills install git:Superior-Trade/superior-skills@main |
| From our domain | point any agent at https://superior.trade/SKILL.md |
| Manual | clone this repo and copy the needed folder from skills/v2/... or skills/v3/... into your agent's skills folder |
Installing the repo pulls the whole library; grab a single skill with --skill <name> (npx) or
by naming it (gh skill install Superior-Trade/superior-skills <name>).
Hyperliquid, Aerodrome, and Lighter skills need a SUPERIOR_TRADE_API_KEY; Polymarket skills use
SUPERIOR_TRADE_PM_API_KEY. The root SKILL.md (superior-trade-auth) walks a new user
through getting a key by email.
Workflow
The platform emphasizes a structured progression: draft → backtest → review → deploy. No live deployment without explicit user confirmation. Every parameter is logged; every trade is tracked.
Risk disclosure
Trading involves risk. Backtests do not guarantee future performance. The validated strategies above showed positive returns on a single 162-day window (2025-11-20 → 2026-05-01); a strategy that worked then may not work in a different regime. Users remain responsible for strategy choice, deployment decisions, exchange connectivity, and capital risk. Pair every deployment with the regime-overlay gate or equivalent — strategies without regime confirmation are demonstrably fragile.
Topics
hyperliquid, lighter, nautilus, deposit-qr, qrcode, trading-bot, ai-agents, openclaw, backtesting, fee-optimization, opportunity-scanner, trailing-stop, algorithmic-trading, regime-filter, mean-reversion, trend-following, funding-arbitrage, mcp
No comments yet
Be the first to share your take.