Agent SkillsSuperior-Trade/superior-skills › lighter-robinhood

lighter-robinhood

GitHub

提供Robinhood Chain Lighter交易所的集成指南,涵盖API配置、部署规划、订单代理及资金充值。强调安全规范,明确区分于普通Lighter,指导用户正确使用USDG充值及特定链ID进行永续合约交易与故障排查。

skills/v3/exchanges/lighter-robinhood/SKILL.md Superior-Trade/superior-skills

Trigger Scenarios

询问Robinhood Chain Lighter相关功能 需要配置lighter-robinhood交易所参数 处理基于该交易所的部署或订单问题

Install

npx skills add Superior-Trade/superior-skills --skill lighter-robinhood -g -y
More Options

Non-standard path

npx skills add https://github.com/Superior-Trade/superior-skills/tree/main/skills/v3/exchanges/lighter-robinhood -g -y

Use without installing

npx skills use Superior-Trade/superior-skills@lighter-robinhood

指定 Agent (Claude Code)

npx skills add Superior-Trade/superior-skills --skill lighter-robinhood -a claude-code -g -y

安装 repo 全部 skill

npx skills add Superior-Trade/superior-skills --all -g -y

预览 repo 内 skill

npx skills add Superior-Trade/superior-skills --list

SKILL.md

Frontmatter
{
    "env": [
        {
            "name": "SUPERIOR_TRADE_API_KEY",
            "type": "api_key",
            "required": true,
            "description": "Superior Trade API key (x-api-key header). Obtained at https:\/\/account.superior.trade."
        }
    ],
    "auth": {
        "env": "SUPERIOR_TRADE_API_KEY",
        "type": "api_key",
        "scope": "Read-write the user's own Robinhood Chain Lighter deployment plans and signed transaction proxy submissions. Cannot export private keys or access other users' data.",
        "header": "x-api-key"
    },
    "name": "lighter-robinhood",
    "source": "https:\/\/github.com\/Superior-Trade",
    "updated": 1784160000,
    "version": "1.0.0",
    "homepage": "https:\/\/robinhoodchain.lighter.xyz",
    "primaryEnv": "SUPERIOR_TRADE_API_KEY",
    "description": "Use Robinhood Chain Lighter through Superior Trade with exchange name lighter-robinhood.",
    "externalEndpoints": [
        {
            "url": "https:\/\/api.superior.trade",
            "purpose": "Superior Trade deployment planning and signed transaction proxy operations"
        },
        {
            "url": "https:\/\/api.rh.lighter.xyz",
            "purpose": "Robinhood Chain Lighter public API and signed transaction submission through Superior Trade"
        }
    ]
}

Superior Trade Robinhood Chain Lighter

Use this skill when the user asks about Robinhood Chain Lighter, Robinhood Wallet perps on Lighter, or the Superior Trade exchange named lighter-robinhood.

Exchange name: lighter-robinhood Venue config: { "venue": "lighter-robinhood", "instrument_id": "<SYMBOL>-PERP.LIGHTER-RH" } API base: https://api.rh.lighter.xyz WebSocket: wss://api.rh.lighter.xyz/stream Robinhood Chain id: 4663 Perps deposit asset: USDG

Safety Rules

  • Never ask for private keys, seed phrases, API private keys, passwords, or wallet credentials.
  • Never treat lighter-robinhood as an alias for lighter; it has a different API base, chain id, deposit asset, and instrument suffix.
  • Do not reuse the default Lighter USDC CCTP deposit wording. Robinhood Chain Lighter perps require USDG.
  • Do not claim live Nautilus execution support until signed transaction generation supports Robinhood Chain id 4663.
  • Never move funds, submit a signed proxy action, or start live trading without explicit user confirmation.

Deployment Planning

Create deployment plans through /v3/deployments with venue: "lighter-robinhood" and .LIGHTER-RH instruments.

{
  "region": "tokyo",
  "deployment": {
    "code": "class RobinhoodLighterStrategy: pass\n",
    "config": {
      "venue": "lighter-robinhood",
      "runtime": "nautilus-pyo3",
      "instrument_id": "PLTR-PERP.LIGHTER-RH"
    }
  }
}

The API plans the lighter-robinhood-tokyo venue profile. Starting the deployment currently returns 409 with reason LighterRobinhoodChainIdUnsupported; endpoint overrides alone are insufficient because the current Nautilus Lighter signer only supports built-in mainnet/testnet chain ids.

Signed Proxy

For one-off signed order proxy calls, include the top-level exchange selector so the API signs against Robinhood Chain Lighter settings:

{
  "exchange": "lighter-robinhood",
  "action": {
    "type": "placeOrder",
    "from": "0xSuperiorManagedWallet",
    "market_id": 12,
    "side": "buy",
    "quote_amount": "10",
    "max_slippage": "0.005",
    "reduce_only": false,
    "price_protection": true
  }
}

The signer uses base_url: "https://api.rh.lighter.xyz" and chain_id: 4663 for this request.

Deposits

Robinhood Chain Lighter perps require USDG, not USDC. The current Superior /v3/portfolio/lighter/deposit route is the default Lighter USDC CCTP flow and must not be presented as a Robinhood Chain Lighter deposit path.

Until Superior adds a dedicated Robinhood Chain Lighter deposit route, instruct the user to fund Robinhood Chain Lighter with USDG through the official Robinhood Chain Lighter or Robinhood Wallet flow, then verify account readiness through Superior once the API supports venue-specific Robinhood readiness.

Troubleshooting

  • validation_failed: confirm config.venue is exactly lighter-robinhood and the instrument ends with .LIGHTER-RH.
  • LighterRobinhoodChainIdUnsupported: expected for live Nautilus starts until chain id 4663 signing is supported.
  • lighter_error: do not retry blindly; report the upstream message and verify market id, size, slippage, nonce, and account readiness.

Version History

  • 201271f Current 2026-08-06 08:52

Same Skill Collection

skills/external-deposit/SKILL.md
skills/v2/exchanges/aerodrome/SKILL.md
skills/v2/exchanges/hyperliquid/SKILL.md
skills/v2/primitives/backtesting/SKILL.md
skills/v2/primitives/fees-optimizations/SKILL.md
skills/v2/primitives/trade-thesis/SKILL.md
skills/v2/strategies/basis-arb/SKILL.md
skills/v2/strategies/bollinger-reverter-4h/SKILL.md
skills/v2/strategies/breakout/SKILL.md
skills/v2/strategies/dca-weekly/SKILL.md
skills/v2/strategies/donchian-strong-regime/SKILL.md
skills/v2/strategies/funding-rate-arbitrage/SKILL.md
skills/v2/strategies/funding-squeeze/SKILL.md
skills/v2/strategies/grid-trading/SKILL.md
skills/v2/strategies/mean-reversion/SKILL.md
skills/v2/strategies/scalping/SKILL.md
skills/v3/exchanges/lighter/SKILL.md
skills/v3/exchanges/polymarket/SKILL.md
skills/v3/polymarket-archetypes/catalyst-confirmation/SKILL.md
skills/v3/polymarket-archetypes/deadline-drift/SKILL.md
skills/v3/polymarket-archetypes/large-fill-pressure/SKILL.md
skills/v3/polymarket-archetypes/probability-mean-reversion/SKILL.md
skills/v3/polymarket-archetypes/probability-momentum/SKILL.md
skills/v3/polymarket-archetypes/related-market-spread/SKILL.md
skills/v3/primitives/deposit-qr/SKILL.md
skills/v2/primitives/dsl-exit-engine/SKILL.md
skills/v2/primitives/intelligence/SKILL.md
skills/v2/primitives/regime-overlay/SKILL.md

Metadata

Files
0
Version
201271f
Hash
2e676aa8
Indexed
2026-08-06 08:52

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-07 17:53
浙ICP备14020137号-1 $방문자$