MagicTradeBot supports native integration with Pushover — a simple and reliable push notification service. This allows bot instances to send real-time alerts and event notifications directly to your mobile devices, desktop, or browser.
Whether you're managing a single bot instance or deploying hundreds of bots across various exchanges, trading accounts, and servers, Pushover helps you stay informed about critical events, trade actions, and system errors from anywhere.
Manual monitoring becomes impractical when bots are scanning and trading across hundreds of cryptocurrency pairs. With Pushover, you can ensure important events are never missed.
🚀 Overview
The Pushover integration allows MagicTradeBot to push custom messages for:
- Trade executions (buy/sell)
- Strategy triggers and profit milestones
- Errors, exceptions, or system warnings
- Account-level actions (e.g., insufficient balance, API limits)
🔧 Key Features
- 📲 Instant push notifications to mobile or desktop devices
- 🚨 Configurable severity levels (info, warning, critical)
- 📡 Works across all bot instances and deployments
- 🔁 Supports individual and group users
- 📊 Lightweight and fast message delivery
🛠️ Prerequisites
- A valid Pushover account
- Your User Key (receiver) and Application API Token
- Internet access from the bot host for outbound HTTPS requests
⚙️ Configuration Steps
1. Get Your Pushover Credentials
Log in to your Pushover account and create a new application to receive an API Token. Copy both:
- User Key: Found on your dashboard
- API Token: From the app you created
2. Update Bot Configuration
Add your Pushover configuration to the MagicTradeBot settings file (e.g., config.yaml
):
alerting:
pushover:
enabled: true
user_key: "YOUR_PUSHOVER_USER_KEY"
api_token: "YOUR_PUSHOVER_API_TOKEN"
device: "mobile"
priority: "normal"
sound: "magic"
3. Define Notification Triggers
You can configure what kind of events should trigger Pushover notifications. These can be:
- Trade execution results (success or fail)
- Strategy entries and exits
- Threshold breaches (e.g., high error rate or low margin)
4. Test the Integration
Trigger a test notification to verify your configuration:
curl -s \
--form-string "token=YOUR_PUSHOVER_API_TOKEN" \
--form-string "user=YOUR_PUSHOVER_USER_KEY" \
--form-string "message=MagicTradeBot test notification" \
https://api.pushover.net/1/messages.json
🧪 Example Notification Payload
{
"title": "MagicTradeBot Alert",
"message": "Executed long trade on ETH/USDT. Profit: +2.45%",
"priority": 1,
"sound": "magic",
"device": "mobile",
"timestamp": "2025-06-20T12:42:15Z"
}
✅ Benefits of Pushover Integration
- 📍 Instant updates without checking logs or dashboards
- ⚠️ Get notified about trades, errors, and events on the go
- 🧘 No polling or heavy monitoring tools required
- 🔒 Secure and rate-limited with delivery confirmations
- 📱 Customizable notifications per device and severity