In trading, Take Profit (TP) orders can be executed either as market orders or limit orders, and the choice affects how the trade exits when the profit target is reached.
MagicTradeBot primarily executes market orders for Take Profit, ensuring fast and guaranteed execution at the current market price.
๐ง Key Differences
| Feature | Market TP | Limit TP |
|---|---|---|
| Execution Price | Executes immediately at the current market price | Executes only at the specified price or better |
| Speed | Very fast, nearly instantaneous | May not execute if market never reaches the limit price |
| Guarantee of Execution | High โ order is almost always filled | Not guaranteed โ may remain unfilled in volatile or thin markets |
| Slippage Risk | Possible โ final execution price may differ slightly | No slippage โ exact price only |
| MagicTradeBot Usage | Uses market orders for TP by default to ensure trades are closed immediately once target is hit | Not used for TP in current versions; limit TP not supported for automated exit |
๐ How MagicTradeBot Handles Take Profit
Target Reached
- Bot continuously monitors the open trade and checks if TargetProfitPer or partial TP rule is hit
Market Order Execution
- Once the condition is met, MagicTradeBot places a market sell (for long) or market buy (for short) order
- Ensures instant closure of the defined portion of the position (
SellPer)
Partial TP and Smart TP
- Even with multiple TP rules or Smart TP enabled, all TP executions are market orders
- Guarantees profits are captured quickly without relying on the market hitting a specific limit price
๐ Why Market Orders Are Used for TP
- Avoids missing the exit during volatile moves
- Reduces the risk of profits slipping away if the price reverses before a limit order fills
- Ensures partial and full TP rules execute reliably in real-time
๐ฏ Summary
- Market TP: Executes immediately, used by MagicTradeBot to ensure fast profit capture
- Limit TP: Executes only at the specified price, not used in MagicTradeBot for automated exits
- MagicTradeBotโs market TP approach guarantees execution, which is critical in volatile crypto markets