← 返回 Skills 市场
happyrstudent

EVM BNB Band Trader

作者 happyRstudent · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
390
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install evm-bnb-band-trader
功能描述
Automate BNB Chain swing trades with wallet-key execution, buying at trigger price and managing 5% take-profit and 3% stop-loss levels.
使用说明 (SKILL.md)

EVM BNB Band Trader

Implement BNB Chain swing trading with strict risk controls.

1) Configure secrets and params

Set environment variables before running:

  • EVM_PRIVATE_KEY (wallet private key, never hardcode)
  • BNB_RPC_URL (BSC RPC endpoint)
  • TOKEN_IN (default WBNB)
  • TOKEN_OUT (target token)
  • BUY_TRIGGER_PRICE (trigger buy threshold)
  • BUY_SIZE_BNB (position size in BNB)
  • TAKE_PROFIT_PCT (default 0.05)
  • STOP_LOSS_PCT (default 0.03)
  • POLL_SECONDS (default 10)

2) Run bot

Use script:

python scripts/bnb_band_bot.py --mode run

Dry run first:

python scripts/bnb_band_bot.py --mode dry-run

3) Strategy rules (fixed)

  • Entry: execute buy when latest price >= BUY_TRIGGER_PRICE
  • Exit TP: sell when price >= entry_price * 1.05
  • Exit SL: sell when price \x3C= entry_price * 0.97
  • One-position mode: no pyramiding

4) Safety controls

  • Refuse run if env vars missing
  • Refuse run if private key format invalid
  • Refuse run if gas or balance insufficient
  • Log every decision with timestamp

5) Notes

  • Script uses DEX quote+swap placeholder flow; wire production router/aggregator before real funds.
  • Always run dry-run first and validate slippage/gas assumptions.
安全使用建议
This is a prototype trading bot that matches its description, but it contains placeholders and lacks several promised safety checks. Before trusting it with real funds: (1) inspect and test the code locally and run only in dry-run mode first; (2) do not place a main wallet private key on a shared machine or CI — prefer a dedicated, low-value/test wallet or external signing (hardware wallet or remote signer); (3) implement real price-quoting, router/aggregator swap logic, transaction signing, and explicit gas/balance checks (the script currently uses mock_get_price/mock_swap); (4) use a trusted BNB RPC endpoint and consider rate/latency implications; (5) run in an isolated environment and limit network exposure; (6) consider additional logging/auditing and automated kill-switches. If you need this to run autonomously, understand the risk of giving an agent code that can access a private key — enable only after adding hardened signing and balance checks.
功能分析
Type: OpenClaw Skill Name: evm-bnb-band-trader Version: 0.1.0 The skill provides a template for an EVM trading bot on the BNB Chain that requires the 'EVM_PRIVATE_KEY' environment variable. While the script 'scripts/bnb_band_bot.py' is currently a non-functional placeholder that mocks price checks and swaps, and includes safety features like private key format validation and a dry-run mode, the requirement for a plaintext private key is a high-risk capability. There is no evidence of malicious intent or data exfiltration, but the handling of sensitive credentials in an automated agent environment is inherently risky.
能力评估
Purpose & Capability
Name/description align with requested inputs and behavior: the script requires an EVM private key, BNB RPC URL, token and price/size parameters which are expected for a wallet-key trading bot.
Instruction Scope
SKILL.md and the script instruct setting sensitive env vars and running the Python script; that's within scope. However SKILL.md claims safety controls (e.g., 'Refuse run if gas or balance insufficient') that are not implemented in the provided code. The code only validates key format and required envs and uses mock quote/swap placeholders rather than real quote or signing/broadcast logic.
Install Mechanism
No install spec and no external downloads; the skill is an instruction + local Python script. No third-party packages or network installs are performed by the skill itself.
Credentials
Requested environment variables (EVM_PRIVATE_KEY, BNB_RPC_URL, TOKEN_OUT, pricing/size/timeout params) are proportionate to a trading bot. That said, providing a private key via environment is sensitive; the skill does not request unrelated credentials.
Persistence & Privilege
always is false and there are no install-time hooks or system-wide configuration changes. The skill does not request persistent elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install evm-bnb-band-trader
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /evm-bnb-band-trader 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release
元数据
Slug evm-bnb-band-trader
版本 0.1.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

EVM BNB Band Trader 是什么?

Automate BNB Chain swing trades with wallet-key execution, buying at trigger price and managing 5% take-profit and 3% stop-loss levels. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 390 次。

如何安装 EVM BNB Band Trader?

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

EVM BNB Band Trader 是免费的吗?

是的,EVM BNB Band Trader 完全免费(开源免费),可自由下载、安装和使用。

EVM BNB Band Trader 支持哪些平台?

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

谁开发了 EVM BNB Band Trader?

由 happyRstudent(@happyrstudent)开发并维护,当前版本 v0.1.0。

💬 留言讨论