← 返回 Skills 市场
davidm413

anchored-vwap-scalper

作者 davidm413 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
101
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install anchored-vwap-scalper
功能描述
Production single-skill BTC scalper on Lighter DEX with FULL explicit Python strategy engine + accurate incremental Anchored VWAP. 4 strategies, 1% risk, fix...
使用说明 (SKILL.md)

\r \r

Anchored VWAP BTC Scalper for Lighter DEX (Production v1.6)\r

\r Configured for BTC-USD (daily UTC anchor). All logic lives in scripts/strategy_engine.py.\r \r Workflow:\r

  1. Set env vars (especially DRY_RUN=true first!)\r
  2. initialize-scalper (uses BTC-USD by default)\r
  3. start-scalping\r \r Commands: status, pause, set-anchor \x3CISO-timestamp>\r \r Start in dry-run mode. This is now 100% production-ready for BTC scalping on Lighter (fixed SL only).
安全使用建议
This package appears to implement the scalper it advertises, but there are packaging inconsistencies you should resolve before using it with real funds. Recommended precautions: (1) Verify the origin of the skill and the 'ccxt-mcp' package; prefer a known ccxt distribution. (2) Run strictly in DRY_RUN=true and test in an isolated environment first. (3) Use a throwaway exchange account or one with minimal funds and restricted permissions when you first supply keys. (4) Inspect the code yourself (or have someone you trust do so) — especially the lighter_client and order placement paths — to confirm there are no hidden endpoints or unexpected network calls. (5) Ensure your platform will prompt you for the named env vars (the registry metadata currently omits them); do not paste your production private key until you confirm the packaging and provenance.
功能分析
Type: OpenClaw Skill Name: anchored-vwap-scalper Version: 1.0.0 The skill bundle contains a legitimate-looking automated trading bot for the Lighter DEX using the CCXT library. The Python scripts (strategy_engine.py, avwap_calculator.py, and lighter_client.py) implement standard technical indicators (RSI, MACD, ATR) and Anchored VWAP logic for BTC-USD scalping. While it requires sensitive API keys (LIGHTER_API_PRIVATE_KEY), these are used exclusively for authenticating with the exchange via CCXT, and there is no evidence of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
The code implements a BTC scalping strategy for a 'Lighter' exchange (uses ccxt.lighter, places orders, computes AVWAP). Requesting an exchange private key and account/index values is reasonable for this purpose. However, the registry metadata lists no required env vars/install spec while SKILL.md declares several required env vars and an install id (ccxt-mcp) — this mismatch is unexpected and reduces trust in packaging.
Instruction Scope
SKILL.md tells the user to set environment variables (DRY_RUN, symbol, timeframe, plus LIGHTER API keys) and to run/initiate the scalper. The Python files only access the declared env vars and local filesystem paths under ../state and ../logs; they don't attempt network calls other than via the ccxt exchange client. The instructions do not request unrelated files or system-wide secrets.
Install Mechanism
The registry shows 'No install spec' but SKILL.md includes an 'install: - id: ccxt-mcp' and requires an MCP (ccxt-mcp). This inconsistency is suspicious. The code itself has no external download URLs; the only dependency is ccxt (expected). If ccxt-mcp comes from an untrusted source, that could be a risk — verify the origin of that MCP package before installing.
Credentials
The environment variables the skill uses (LIGHTER_API_PRIVATE_KEY, LIGHTER_API_KEY_INDEX, LIGHTER_ACCOUNT_INDEX, DRY_RUN, SCALPER_SYMBOL, SCALPER_TIMEFRAME) are appropriate for exchange trading. The concern is that the registry metadata omitted these required env vars / primary credential information, so automated permission gating may not present the correct prompts. Supplying a private key gives the skill full trading authority on the account — treat as high-sensitivity secret.
Persistence & Privilege
The skill does not request global or always-on privileges. It writes state and logs to relative ../state and ../logs directories (normal for a trading bot) and does not modify other skills or system-wide configs. Autonomous invocation is allowed by default (not flagged on its own) — remember an autonomous skill that can trade has real financial impact.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install anchored-vwap-scalper
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /anchored-vwap-scalper 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Upgraded to a production-ready BTC scalping skill for Lighter DEX with full explicit Python strategy engine. - Added accurate, incremental Anchored VWAP calculations (daily UTC anchor, default BTC-USD). - Implements 4 distinct scalping strategies with fixed 1% risk, stop-loss, and take-profit. - Includes new control commands: status, pause, set-anchor <ISO-timestamp>. - Added full environment variable configuration, including DRY_RUN mode for safe testing.
元数据
Slug anchored-vwap-scalper
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

anchored-vwap-scalper 是什么?

Production single-skill BTC scalper on Lighter DEX with FULL explicit Python strategy engine + accurate incremental Anchored VWAP. 4 strategies, 1% risk, fix... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 101 次。

如何安装 anchored-vwap-scalper?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install anchored-vwap-scalper」即可一键安装,无需额外配置。

anchored-vwap-scalper 是免费的吗?

是的,anchored-vwap-scalper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

anchored-vwap-scalper 支持哪些平台?

anchored-vwap-scalper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 anchored-vwap-scalper?

由 davidm413(@davidm413)开发并维护,当前版本 v1.0.0。

💬 留言讨论