All manual trades in MagicTradeBot are defined and managed in a single configuration file called:
manual_trade_symbols.yaml
1️⃣ Purpose of the File
- Each entry in
manual_trade_symbols.yamlrepresents a pending trade instruction. - The bot reads this file to monitor symbols, validate conditions, and execute trades when the criteria are met.
- This central configuration ensures that manual trades are organized, auditable, and easy to modify.
2️⃣ Structure of a Manual Trade Entry
Each trade entry typically includes:
Symbol→ Trading pair (e.g., ETHUSDT)Price→ Target price or0for current market priceDirection→LongorShortAmount→ Trade size, which can override bot-calculated position sizeExecuteThresholdPerfect→ % price movement required before executionTimestamp→ Optional expiration for the trade
Example snippet:
- Symbol: ETHUSDT
Price: 0
Direction: Long
Amount: 1000.0
ExecuteThresholdPerfect: 5
Timestamp: null
3️⃣ Best Practices
- Always review and validate your YAML entries before activating them.
- Keep the file organized and commented to avoid errors.
- Use this file for both strategic conditional trades and immediate executions by adjusting
ExecuteThresholdPerfect.
Pro Tip
Think of manual_trade_symbols.yaml as your manual trade control center. Every trade you want the bot to handle—whether conditional or instant—is configured here, giving you full control without touching the exchange directly.