An advanced trading analysis and prediction platform powered by machine learning and technical analysis.
- 'Real-time' market data analysis
- Advanced technical indicators (RSI, MACD, Bollinger Bands)
- Volatility clustering detection
- Multi-timeframe analysis
- Market regime identification
- Basic LSTM model for price prediction
- Enhanced multi-modal model with:
- Technical indicators integration
- News sentiment analysis
- Market regime detection
- Volume analysis
- Volatility indicators
- Modern portfolio theory implementation
- Risk-adjusted return optimization
- Asset allocation recommendations
- Performance metrics calculation
- Visual portfolio analysis
- News sentiment integration via Alpha Vantage API
- Social sentiment analysis
- Market mood indicators
- Sentiment-based trading signals
- Interactive charts with Plotly
- Real-time market data updates
- Customizable analysis parameters
-
Clone the repository:
git clone https://github.com/viewinghood/Revo_Trader2.git cd Revo_Trader2
-
Create and activate a virtual environment:
- make your life easier and install a miniconda and the Python 3.11.8
conda create -n revo_trader2 python=3.11.8 conda activate o_trader2
- or you're an expert
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Configure API keys:
- Copy
config.py.example
toconfig.py
- Get an Alpha Vantage API key from https://www.alphavantage.co/
- Replace
YOUR_API_KEY_HERE
inconfig.py
with your actual API key
- Copy
-
Run the application:
streamlit run app.py
-
Analysis Tab
- Choose between Basic LSTM and Enhanced Multi-Modal models
- Select asset class and symbol
- Choose analysis timeframe
- View technical indicators and market sentiment
- Get trading signals
-
Predictions Tab
- Choose between Basic LSTM and Enhanced Multi-Modal models
- Train models with historical data
- Generate price predictions
- View confidence metrics
-
Portfolio Tab
- Select multiple assets
- Optimize portfolio allocation
- View risk metrics and performance indicators
- Analyze portfolio composition
-
Academy Tab
- Learn about trading strategies
- Understand technical indicators
- Access educational resources
- Get started with trading
- API keys are stored securely in
config.py
config.py
is excluded from version control- Sensitive data is never exposed in logs or error messages
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
This application is for educational purposes only. Always do your own research and never invest more than you can afford to lose.
(Generation of this file out of Cursor) Personal note: Thanks to the original author and the lot of bugs - I have learned so much...THX :)