Advanced Quantitative Forecasting with SPDE, GARCH, and LLMs
Project description
SPDE Monte Carlo Simulator
A Python package for simulating various stochastic partial differential equations commonly used in financial modeling. https://huggingface.co/time-series-foundation-models/Lag-Llama
Features
- Geometric Brownian Motion (GBM)
- Heston Model
- Cox-Ingersoll-Ross (CIR) Model
- Ornstein-Uhlenbeck (OU) Process
- Merton Jump Diffusion (MJD) Model
Installation
poetry install
Usage
from spde_mc_simulator import SPDEMCSimulator
# Initialize simulator
simulator = SPDEMCSimulator(
symbol='AAPL',
start_date='2022-01-01',
end_date='2022-03-01',
dt=1,
num_paths=1000,
eq='gbm'
)
# Run simulation
simulator.download_data()
simulator.set_parameters()
simulator.simulate()
simulator.plot_simulation()
Models
Geometric Brownian Motion (GBM)
Standard model for stock price movements assuming log-normal distribution.
Heston Model
Stochastic volatility model that captures volatility clustering.
Cox-Ingersoll-Ross (CIR)
Mean-reverting square-root process, commonly used for interest rates.
Ornstein-Uhlenbeck (OU)
Mean-reverting process useful for modeling mean-reverting financial quantities.
Merton Jump Diffusion (MJD)
Extends GBM with jump components to capture sudden price movements.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awt_quant-0.1.0.tar.gz.
File metadata
- Download URL: awt_quant-0.1.0.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61a99ce365344326a0d89e29dd1d95083482a388eee255e77bc7f811d7cda5e0
|
|
| MD5 |
7b5ebdb70a9e5d94f6d27529eab67b24
|
|
| BLAKE2b-256 |
9c938331ba0822f2862d1976c088cac29326387605611c54f07348d7cb153027
|
File details
Details for the file awt_quant-0.1.0-py3-none-any.whl.
File metadata
- Download URL: awt_quant-0.1.0-py3-none-any.whl
- Upload date:
- Size: 45.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
765004f280888a4d50158d5eab1e61a9b3a230a972bf2328259be466cc4b11f9
|
|
| MD5 |
c11875df61f2dacc347967cd9649cba4
|
|
| BLAKE2b-256 |
ed81840f7e3ce92de6dcd9854995ed62cf81583d3dced2c460def89419e04d7e
|