№ 0003GitHub
Binance futures divergence bot built by Muse Spark
A Python bot for Binance USDT-M futures, built with Meta AI's Muse Spark, that trades ETH inversely when BTC and ETH show strong opposite 9/21 EMA trends on 5-minute candles.
# Binance Futures Inverse Divergence Bot
Automated Python bot for Binance USDT-M Futures. Watches trend on Asset 1 (BTCUSDT) and trades Asset 2 (ETHUSDT) inversely when both assets show strong, opposite EMA trends on 5m candles.
### ⚠️ Critical Disclaimer
This software executes real trades with real money on Binance Futures using 10x leverage.
- You can lose 100% of your account balance or more due to leverage and liquidation.
- This code is for educational purposes only. It is not financial advice.
- Test extensively on testnet before using live funds.
- You are solely responsible for all losses, bugs, API changes, or exchange issues.
- Use API keys with futures permission, IP whitelisting, and withdrawal disabled.
### Features
- **Strategy**: Trade ETHUSDT based on BTCUSDT trend divergence
- **Trend filter**: 9/21 EMA crossover with minimum separation threshold
- **Rules**:
- BTC up strong + ETH down strong = SHORT ETH
- BTC down strong + ETH up strong = LONG ETH
- Same direction or weak trend = no trade
- Early exit if trend weakens while in position
- **Risk**: $50 margin per trade, 10x leverage, 1% SL, 2% TP
- **Execution**: Max 1 open position, auto SL/TP placement, checks every 60s
### Requirements
- Python 3.9+
- Binance Futures account with USDT balance
- API Key with "Enable Futures" permission




ChatForm
Tgmlabs