Stock-AI is an interactive Streamlit web application that simulates future stock price movements using Monte Carlo methods. It allows users to visualize potential future price trajectories based on historical volatility, providing insights into the effects of market fluctuations on financial instruments.
- Historical Data Simulation: Generate synthetic historical price data based on user-defined volatility parameters.
- Monte Carlo Forecasting: Predict future stock prices through Monte Carlo simulations.
- Interactive Visualizations: Visualize both historical and predicted price movements.
- Accuracy Metrics: Evaluate prediction accuracy using metrics like MAE (Mean Absolute Error), RMSE (Root Mean Square Error), and Percentage Error.
- Python 3.7 or higher
pippackage manager
-
Clone the Repository
git clone https://github.com/git-devisha/Stock-AI.git cd Stock-AI -
Install Dependencies
Install the required Python packages:
pip install -r requirements.txt
Alternatively, install packages individually:
pip install streamlit numpy pandas
-
Run the Application
streamlit run test3.py
-
Access the Web Interface
After running the above command, Streamlit will provide a local URL (typically
http://localhost:8501). Open this URL in your web browser to interact with the application.
Stock-AI/
βββ test3.py # Main Streamlit application script
βββ requirements.txt # List of required Python packages
βββ README.md # Project documentation
Note: Include screenshots or GIFs here to showcase the application's interface and features.
Contributions are welcome! If you'd like to enhance the application, fix bugs, or add new features:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name. - Commit your changes:
git commit -m 'Add new feature'. - Push to the branch:
git push origin feature-name. - Open a pull request detailing your changes.