← 返回
AI智能 Key 中文

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.
自动化执行BNB链波段交易,通过钱包私钥下单,在触发价买入并管理5%止盈和3%止损。
happyrstudent
AI智能 clawhub v0.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 728
下载
💾 12
安装
1
版本
#latest

概述

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 <= 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.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 12:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 834 📥 212,872
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 710 📥 243,597
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,352 📥 317,829