搜索

PythonReactSEOPDF
OpenClaw

Evm Bnb Band Trader

EVM BNB Band Trader

happyrstudent0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install happyrstudent/evm-bnb-band-trader

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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.

来源信息

Source
github
Repository
openclaw/skills
Path
skills/happyrstudent/evm-bnb-band-trader
Version
—
Commit
dcc18462867a6d86944a002ca18849e0a205a9c3
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

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:

```bash
python scripts/bnb_band_bot.py --mode run
```

Dry run first:

```bash
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.

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.