⚔️ Nihayat Al-Mujrim – ETH/USDT Trading Bot
(Isolated ×2 | Cumulative Profit System | Binance Margin Trading)
I don’t have a demo account. The developer must use their own testing environment or Binance demo keys to verify the connection, run the bot, and install it on the provided VPS before final delivery.
⸻
🔴 Pre-Flight Note (MANDATORY before starting)
1. 🟥 API Key Test Required:
• Permissions: Trade + Read Only (No Withdraw access).
• If IP Whitelist is active, add VPS IP address.
• Perform 2 small orders (Market Buy → Market Sell) to confirm execution + balance updates.
• Confirm system works on Spot / Isolated Margin ×2.
2. 🟥 Environment Setup:
• VPS must be near Binance servers, time synced (NTP), and must save logs for every action.
⚠️ Previous developer failed to link keys — do not start coding before passing this step.
⸻
💰 General Parameters
• 🟢 Pair: ETH/USDT
• 🟢 Mode: Spot / Isolated ×2
• 🟢 Capital: 7,125 USDT → effective ≈ 14,250 USDT
• 🟡 Price Range: 25 % auto-adjusting drop (e.g., 3,700 → ≈ 2,200 USDT)
• 🟢 Total Trades: 500
• 🟢 Trade Size: 20 → 40 USDT (+0.04 each trade)
• 🟢 Spacing: 3.5 → 2.5 USDT (−0.002 to −0.004 each trade)
• 🟢 Execution: Market Buy / Market Sell only
• 🟢 Target Profit per Trade: 0.70 USDT
• 🟢 Profit Mode: Cumulative = (Open Trades × 0.70 USDT)
• 🟢 Close-All on Profit: Rebound ≥ 0.10 – 0.15 % (after fees)
• 🟢 Restart: Immediately after each closure
⸻
⚙️ Working Logic
1. 🟢 First trade opens instantly at market price.
2. 🟢 Each price drop opens a new trade with smaller spacing and larger size.
3. 🟢 When cumulative PnL ≥ target → Close All (Market).
4. 🟢 After closure → restart from current price.
⸻
🧩 Profit Examples (Base Price = 3,700 USDT)
🟡 Example 1 – Small Dip & Quick Rebound
• 3,700 → 3,660 (−40 USDT) → ≈ 13 trades
• Target = 13 × 0.70 = 🟢 9.1 USDT profit
• Rebound ≈ 0.15 % (~5 USDT) → close all
🟡 Example 2 – Moderate Dip (−100 USDT)
• 3,700 → 3,600 → ≈ 33 trades
• Target = 33 × 0.70 = 🟢 23.1 USDT profit
• Rebound ≈ 0.10–0.15 % (~3.6–5.4 USDT) → close all
🟡 Example 3 – 10 % Drop
• 3,700 → 3,330 → ≈ 250 trades
• Target = 250 × 0.70 = 🟢 175 USDT profit
• Rebound ≈ 0.10 % (~3.3 USDT) → close all
⸻
🔧 Technical Requirements
• 🟢 Language: Python (CCXT or Binance SDK recommended)
• 🟢 Modules:
• Config (API, Isolated mode)
• Position Manager (500 trades dynamic logic)
• PnL Aggregator (cumulative after fees)
• Executor (Market Buy/Sell + Close-All)
• Logger + CSV/DB for each cycle
• Health Check (API latency, time sync)
⸻
✅ Acceptance Checklist
1. 🟢 API key test & environment verified.
2. 🟢 Trade distribution matches spacing and size rules.
3. 🟢 Close-All works on cumulative profit (after fees).
4. 🟢 Auto-restart from current price after closure.
5. 🟢 Logs & export function for each cycle required