Cassandra is an advanced market analysis tool that uses machine learning to detect potential market crashes and anomalies. Named after the Greek prophet, it analyzes multiple market indicators to provide risk assessments and trading recommendations.
- Real-time market data analysis
- Machine learning-based risk assessment
- Visual risk level indicators
- Automated market recommendations
- Support for multiple market indicators including:
- Market Indices (VIX, DXY, etc.)
- Interest Rates
- ETFs
- Currency Rates
- Clone the repository:
git clone <your-repository-url>- Install the required dependencies:
pip install -r requirements.txtRun the Streamlit app:
streamlit run app.pyThe application will open in your default web browser. You can:
- Use the "Load Current Market Data" button to fetch real-time market indicators
- Manually adjust market indicators in the sidebar
- Click "Analyze Market" to get risk assessment and recommendations
The application uses a pre-trained machine learning model (models/best_model.pkl) that has been trained on historical market data to predict crash probabilities.
- Low Risk (< 30%): Consider maintaining full market exposure
- Medium Risk (30-60%): Consider reducing position size to 50%
- High Risk (> 60%): Consider moving to cash
