Overview
This automated tool scans for arbitrage opportunities between XRP (Ripple cryptocurrency) trading pairs across two exchanges, specifically monitoring XRP-CNY and XRP-IDR price differentials. When a significant gap is detected (exceeding user-defined thresholds), the system triggers alerts via SMS or WeChat API notifications.
Key Features
- Real-time monitoring of XRP price spreads
- Multi-exchange support (Ripple China and Indonesian exchanges)
- Customizable alert thresholds for arbitrage opportunities
- Multiple notification channels (SMS and WeChat integration)
File Structure and Functions
| File Name | Language | Purpose |
|---|---|---|
exe_get.sh | Shell | Main execution script coordinating Node.js and Python processes |
get_xrp_node_sell.ripple_china.js | Node.js | Fetches XRP-CNY ask orders from Ripple China exchange |
get_xrp_node.ripple_china.js | Node.js | Retrieves XRP-CNY bid orders from Ripple China exchange |
check_xrp_idr.py | Python | Obtains XRP-IDR bid/ask quotes from Indonesian exchanges |
check_sms.sh | Shell | Alert trigger for significant price differentials |
package.json | JSON | Node.js dependency configuration for Ripple API access |
send_sms.py | Python | SMS notification API implementation |
Implementation Requirements
- Node.js environment with Ripple API dependencies
- Python runtime for exchange data processing
- WeChat API integration (available in separate repository)
๐ Learn how to optimize crypto arbitrage strategies
FAQ Section
How often does the scanner check for arbitrage opportunities?
The system performs continuous real-time monitoring through the main exe_get.sh script, typically checking every few seconds depending on exchange API rate limits.
What's the minimum viable price difference to trigger alerts?
The threshold is fully customizable in the check_sms.sh configuration. Users can set absolute or percentage-based triggers according to their arbitrage strategy.
Can this tool connect to other exchanges beyond Ripple China?
While currently optimized for Ripple China and Indonesian exchanges, the modular architecture allows for additional exchange integrations by creating new API connector files following the existing pattern.
๐ Explore advanced cryptocurrency trading tools
How reliable are the SMS/WeChat notifications?
The notification system uses production-grade APIs with:
- Message queue persistence
- Delivery confirmation
- Failover mechanisms
- Rate limiting protection
What technical skills are required for deployment?
Basic understanding of:
- Linux command line
- Node.js/Python runtime management
- Exchange API authentication
- Cron job scheduling (for automated execution)