360 Secure SkillHub
360 安全技能中心

Superior Trade Multi-skills

该技能是路由文件,按用户意图分阶段加载认证配置、策略构建、回测、部署与监控子文件,通过 x-api-key 调用 Superior Trade 云服务编写交易策略、运行回测并部署实盘机器人;不收集私钥,实盘部署前要求用户确认。

分类:数据
superior-ai
superior-ai
热度 0.00
最近更新 2026-03-24 15:56:52

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add superior-ai/superior-trade-multi-skills
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
superior-trade-api
version
alpha-0.0.1
updated
"2026-03-24T00:00:00.000Z"
description
Interact with the Superior Trade API to backtest and deploy trading strategies on Superior Trade's managed cloud. The agent writes strategy code, runs backtests, and deploys live trading bots. Users do not need their own Hyperliquid wallet — the platform creates and manages a trading wallet for each user. Requires one credential — an API key (x-api-key header) from https://account.superior.trade. No private keys or wallet credentials are ever collected.
homepage
https://account.superior.trade
source
https://github.com/Superior-Trade
primaryEnv
SUPERIOR_TRADE_API_KEY
auth
{"type":"api_key","env":"SUPERIOR_TRADE_API_KEY","header":"x-api-key","scope":"Read-write the user's own backtests and deployments. Can start live trading deployments that execute real trades with the user's platform-managed trading wallet. Cannot withdraw funds, export private keys, or access other users' data."}
env
[{"name":"SUPERIOR_TRADE_API_KEY","description":"Superior Trade API key (x-api-key header). Obtained at https://account.superior.trade. Can create/manage backtests and deployments including live trading. Cannot withdraw funds, export private keys, or access other users' data. Users do not need their own Hyperliquid wallet.","required":true,"type":"api_key"}]
externalEndpoints
[{"url":"https://api.superior.trade","purpose":"All backtesting and deployment operations"},{"url":"https://api.hyperliquid.xyz/info","purpose":"Read-only public queries. Balance checks send the user's public wallet address (not a secret — visible on-chain). Pair validation sends no user data. No authentication or secrets are sent to this endpoint."}]

Superior Trade API — Router

API client skill for backtesting and deploying trading strategies on Superior Trade's managed cloud.

Base URL: https://api.superior.trade
Auth: x-api-key header on all protected endpoints
Docs: GET /docs (Swagger UI), GET /openapi.json (OpenAPI spec)

Installation and Loading

Use this repo copy when the agent can read local workspace files directly.

  • Router file: multi-skills/SKILL.md
  • Phase files: sibling files directly under multi-skills/
  • Hosted equivalent: https://superior.trade/multi-skills/SKILL.md

When a phase-specific phase file is needed, load the local sibling path shown in the table below.

Phase Detection — Load Sub-Skills On Demand

This router stays in context. Load one sub-skill at a time based on what the user needs:

User intent Load sub-skill
No API key, first-time setup, 401 errors auth-setup.md
Describing a trading idea, writing strategy code or config strategy-builder.md
Wants to run a backtest or asking about results backtesting.md
Wants to deploy live, manage credentials deployment.md
Asking about a running bot, logs, balance, wants to stop monitoring.md

Compound flows (e.g. "build strategy -> backtest -> deploy"): load strategy-builder.md first, then backtesting.md, then deployment.md.

Read the sub-skill file before proceeding with phase-specific work.

Setup (Always Active)

  • Correct URL: https://account.superior.trade — never send users to app.superior.trade
  • Use SUPERIOR_TRADE_API_KEY from the environment or credential manager — never ask users to paste it into chat
  • This skill requires exactly one credential: the x-api-key header value from SUPERIOR_TRADE_API_KEY

Safety Rules (Always Active)

  1. NEVER ask users for private keys, seed phrases, or wallet credentials
  2. NEVER include private keys in API requests (the API rejects them)
  3. NEVER log, store, or display private keys or seed phrases
  4. NEVER tell users to deposit funds to the agent wallet address
  5. NEVER fabricate wallet balances, API responses, or trade results
  6. NEVER start a live deployment without explicit user confirmation
  7. NEVER mention the underlying trading engine name, internal class names/imports, infrastructure details (containers, proxies, namespaces), or wallet provider names — instead say "strategy", "the bot", "the trading engine", "platform-managed wallet". Show raw code only when the user requests it.
  8. NEVER send users to app.superior.trade — the correct URL is https://account.superior.trade

Agent Operating Rules (Always Active)

  • Verification-first: Every factual claim about balance, wallet status, or deployment health MUST be backed by an API call in the current turn. NEVER assume -> report -> verify later.
  • Anti-hallucination: If you can't call the API, say "I haven't checked yet." Every number must come from a real response.
  • Conversational: Make API calls directly and present results conversationally. Show raw payloads only on request.
  • Proactive: Ask for missing info conversationally, one concern at a time. Warn if backtest results are poor before offering live deployment.

Repeated Failures

If the agent fails the same task 3+ times (e.g. strategy code keeps crashing, backtest keeps failing), stop and:

  1. Summarize what was tried and what failed
  2. Suggest the user try a simpler approach or different parameters
  3. If the issue appears to be model capability (complex multi-indicator strategy), suggest switching to a more capable model for strategy generation