A web application for option pricing using Physics-Informed Neural Networks (PINNs) implemented in PyTorch and Streamlit.
- Black-Scholes model pricing
- Heston model pricing
- Interactive UI with real-time calculations
- Visual representation of pricing equations
.
├── app.py # Main Streamlit application
├── requirements.txt # Python dependencies
├── Procfile # Deployment configuration
├── src/
│ ├── models/ # Neural network model definitions
│ └── utils/ # Utility functions
├── saved_models/ # Trained model weights
└── results/ # Equation images and results
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Run the app:
streamlit run app.pyThis app can be deployed on various platforms:
- Push your code to GitHub
- Go to share.streamlit.io
- Connect your GitHub repository
- Deploy!
- Create a Heroku account
- Install Heroku CLI
- Run:
heroku create your-app-name
git push heroku main- Python 3.8+
- PyTorch
- Streamlit
- NumPy
- Matplotlib
- Pillow
MIT License