Crypto Signals Automation

👤 mdann1992 📦 v1.0.0 ⭐ 3.9 ⬇️ 955 下载
💻 开发编程 免费 🔑 需 API Key

📖 技能介绍

Crypto Signals Automation

Use this skill to create a full pipeline: RapidAPI signals -> normalized signal objects -> dYdX v4 order execution.

Workflow

  1. Collect setup inputs first:
    • RapidAPI plan + key (X-RapidAPI-Key)
    • dYdX wallet address + mnemonic file path + subaccount
    • risk settings (max leverage, margin per trade, max open positions, close-after-hours)
    • TP/SL mode (reduce-only conditional orders)
    • alert channels (Telegram chat IDs)
  2. Validate RapidAPI connectivity with scripts/rapidapi_fetch.py.
  3. Generate env template with scripts/bootstrap_env.py.
  4. Wire runtime script/cron that:
    • fetches symbols/signals,
    • filters fresh active signals,
    • opens positions with retries,
    • places TP/SL reduce-only conditional orders,
    • closes stale positions,
    • cleans orphan reduce-only orders,
    • sends Telegram notifications for open/close with PnL.
  5. Test with one symbol in controlled mode before enabling full symbol set.

RapidAPI source

  • API: cryptexAI - Buy & Sell Signals
  • Base host header: cryptexai-buy-sell-signals.p.rapidapi.com
  • Endpoints:
    • GET /getSymbols
    • GET /getSignalsForSymbol?symbol=...

Use the most recent active=true signal per symbol. Deduplicate by signal id.

本技能来自小葱技能站7w4.net。

dYdX execution rules

  • Use dYdX v4.
  • Open position with market semantics.
  • Set TP/SL immediately after open as reduce-only conditional orders:
    • TP type: take-profit-market
    • SL type: stop-market / stop-limit equivalent in client
  • Retry failed order submissions up to total 3 attempts.
  • Keep signal->order client_id mapping in state and only cancel matching reduce-only orders on cleanup.

Security

  • Never commit real API keys/secrets.
  • Store secrets in .env with strict file permissions (chmod 600).
  • Treat mnemonic/passphrase as secrets.
  • If a token was exposed in chat/history, rotate it.

References

  • API details: references/rapidapi-cryptexai.md
  • Setup checklist: references/setup-checklist.md

🤖 AI 评测

文档质量不错,结构清晰、安全提示到位,但实际可用的代码太少,只有两个小工具脚本。真正要跑起来还需要自己写大部分交易逻辑,对普通用户来说门槛较高。

📊 多维度评分

适应性3.8
规范性4.2
有效性4
可靠性3.4
可信度4.2

📁 包含文件 (7 个)

📄 SKILL.md 2.4 KB
📄 _meta.json 144 B
📄 references/rapidapi-cryptexai.md 1.1 KB
📄 references/setup-checklist.md 718 B
📄 scripts/bootstrap_env.py 697 B
📄 scripts/rapidapi_fetch.py 1.2 KB
📄 skill-card.md 2.5 KB