File contents 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 --- 2 name: case-00510 3 description: EVM BNB Band Trader 4 --- 5 6 # EVM BNB Band Trader 7 8 Implement BNB Chain swing trading with strict risk controls. 9 10 ## 1) Configure secrets and params 11 12 Set environment variables before running: 13 14 - `EVM_PRIVATE_KEY` (wallet private key, never hardcode) 15 - `BNB_RPC_URL` (BSC RPC endpoint) 16 - `TOKEN_IN` (default WBNB) 17 - `TOKEN_OUT` (target token) 18 - `BUY_TRIGGER_PRICE` (trigger buy threshold) 19 - `BUY_SIZE_BNB` (position size in BNB) 20 - `TAKE_PROFIT_PCT` (default `0.05`) 21 - `STOP_LOSS_PCT` (default `0.03`) 22 - `POLL_SECONDS` (default `10`) 23 24 ## 2) Run bot 25 26 Use script: 27 28 ```bash 29 python scripts/bnb_band_bot.py --mode run 30 ``` 31 32 Dry run first: 33 34 ```bash 35 python scripts/bnb_band_bot.py --mode dry-run 36 ``` 37 38 ## 3) Strategy rules (fixed) 39 40 - Entry: execute buy when latest price >= `BUY_TRIGGER_PRICE` 41 - Exit TP: sell when price >= entry_price * 1.05 42 - Exit SL: sell when price <= entry_price * 0.97 43 - One-position mode: no pyramiding 44 45 ## 4) Safety controls 46 47 - Refuse run if env vars missing 48 - Refuse run if private key format invalid 49 - Refuse run if gas or balance insufficient 50 - Log every decision with timestamp 51 52 ## 5) Notes 53 54 - Script uses DEX quote+swap placeholder flow; wire production router/aggregator before real funds. 55 - Always run dry-run first and validate slippage/gas assumptions.
knownasnaffy/prompthound/tree/main/dataset/case_00510 commit dcc1846286
Frequently asked questions How do I install the Case 00510 skill? Run npx skillmds@latest add knownasnaffy/case-00510 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Case 00510 skill do? EVM BNB Band Trader It is listed under AI & ML on SkillMD.
Is Case 00510 safe to use? This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Case 00510? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Case 00510 free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Case 00510? knownasnaffy (@knownasnaffy) published this skill. Their other Agent Skills are listed on their SkillMD profile.