Binance Spot Trader

v1.0.0

Autonomous Binance spot trading bot with LLM-powered market analysis. Supports momentum trading, mean reversion, and DCA strategies on any Binance spot pair. Use when user wants to trade on Binance, set up automated crypto trading, build a spot trading bot, or automate DCA buying. Features technical analysis, LLM sentiment evaluation, position sizing, and portfolio tracking.

9· 3.5k·11 current·12 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (Binance spot trading with LLM sentiment) match what the files and SKILL.md request and implement: the scripts call Binance REST endpoints and an Anthropic LLM. Required env vars (BINANCE_API_KEY, BINANCE_SECRET_KEY, LLM_API_KEY) are appropriate for the stated purpose.
Instruction Scope
SKILL.md instructs installing dependencies, creating a .env with API keys, and running trader.py (or via cron). The code reads those env vars, writes a local trades.jsonl log, and sends market context to api.anthropic.com — all consistent with the described behavior. Note: the skill persists trade logs and will transmit summary market data to Anthropic (privacy/cost implications).
Install Mechanism
setup.sh uses pip to install httpx and python-dotenv — reasonable, minimal, and from standard packaging. No downloads from unknown hosts or archive extraction are present.
Credentials
Only three env vars are required (Binance API key + secret, LLM API key), which are proportionate to a trading bot that places orders and calls an LLM. No unrelated credentials or broad system paths are requested.
Persistence & Privilege
Skill is not force-included (always:false) and does not request elevated platform privileges. It writes local logs (trades.jsonl, trader.log if run via cron) and does not modify other skills or system-wide settings.
Assessment
This package appears to be what it says: an autonomous Binance spot trader that also calls an Anthropic LLM for sentiment. Before installing: (1) only use Binance API keys with trading enabled and withdrawals explicitly disabled; prefer a sub-account with limited funds; (2) secure the .env (chmod 600, limit server access) and IP-restrict the Binance key; (3) review and test the code locally in paper-trade mode or with tiny amounts first — the bot will place real market orders; (4) be aware that the bot sends recent price/volume data to Anthropic (costs and privacy) and will append trade activity to trades.jsonl on disk; (5) monitor rate limits and broker/account limits to avoid accidental rapid trading; (6) if you need higher assurance, run it in an isolated machine and/or audit the code for edge-case error handling and signature construction. If any of the above conditions are unacceptable (e.g., you cannot restrict API key withdrawals or cannot tolerate external LLM calls), do not install.

Like a lobster shell, security has layers — review code before you run it.

latestvk974bm6dqcn3bzvcf557b2v1vs80zc28

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

EnvBINANCE_API_KEY, BINANCE_SECRET_KEY, LLM_API_KEY
Primary envBINANCE_API_KEY

Comments