A cryptocurrency trading dashboard with multi-exchange support, featuring paper trading, backtesting, and arbitrage scanning capabilities.
- Real-time market data visualization with technical indicators
- Paper trading simulation with $10,000 virtual balance
- Strategy backtesting with performance metrics
- Cross-exchange arbitrage opportunity scanner
- Support for multiple exchanges (Binance, KuCoin)
- Implementation of the Moth Scalping strategy
- Create and activate a conda environment:
conda create -n crossx python=3.10
conda activate crossx- Install the required dependencies:
pip install -r requirements.txt- Configure your API keys:
- Copy
.env.exampleto.envin the config directory - Fill in your exchange API keys and other settings
- Copy
To start the dashboard:
python main.pyThis will launch the Streamlit dashboard in your default web browser.
-
Market Overview
- Real-time price charts with technical indicators
- Market statistics and volume data
- Multiple timeframe support
-
Strategy Backtest
- Test the Moth Scalping strategy on historical data
- Adjustable risk parameters and initial balance
- Detailed performance metrics and trade history
-
Paper Trading
- Practice trading with virtual $10,000 balance
- Real-time position tracking and P&L monitoring
- Risk management features
-
Arbitrage Scanner
- Monitor price differences between exchanges
- Customizable minimum spread thresholds
- Historical spread analysis
Run the unit tests:
python -m unittest discover testscrossx/
├── config/ # Configuration files and environment variables
├── core/ # Core trading logic and data handling
│ ├── data.py # Exchange data collection
│ ├── trading.py # Paper trading implementation
│ ├── strategy.py # Trading strategy implementation
│ └── arbitrage.py # Arbitrage detection
├── ui/ # User interface components
│ └── dashboard.py # Streamlit dashboard
├── utils/ # Utility functions
├── tests/ # Unit tests
└── notebooks/ # Analysis notebooks
This project is licensed under the MIT License - see the LICENSE file for details.