MeridianAlgo Quant Packages - The Complete Quantitative Finance Platform for Professional Developers
Project description
MeridianAlgo
The complete quantitative finance platform for Python. Portfolio optimization, risk management, derivatives pricing, backtesting, machine learning, execution algorithms, and more — in one library.
Installation
pip install meridianalgo
Optional extras add heavier capabilities on demand:
pip install "meridianalgo[ml]" # scikit-learn, torch, statsmodels, hmmlearn
pip install "meridianalgo[optimization]" # cvxpy, cvxopt
pip install "meridianalgo[volatility]" # arch (GARCH family)
pip install "meridianalgo[all]" # everything
The core install imports cleanly on its own; modules that need an optional
dependency report as unavailable via meridianalgo.ModuleRegistry until the
matching extra is installed.
Quick Start
import meridianalgo as ma
# Market data and returns
data = ma.get_market_data(["AAPL", "MSFT", "GOOGL"], start_date="2023-01-01")
returns = data.pct_change().dropna()
# One-call performance and risk summary
print(ma.tearsheet(returns["AAPL"]))
# Portfolio optimization
opt = ma.PortfolioOptimizer(returns)
result = opt.optimize_portfolio(method="sharpe")
# Risk analysis
var = ma.VaRCalculator(returns["AAPL"]).value_at_risk(confidence=0.95)
What's Inside
| Domain | Highlights |
|---|---|
| Portfolio | Mean-Variance, HRP, Black-Litterman, Risk Parity, Kelly, CPPI |
| Risk | VaR, CVaR, stress testing, scenario analysis, risk budgeting |
| Derivatives | Black-Scholes, Greeks, implied vol, binomial trees, exotics |
| Volatility | GARCH/EGARCH/GJR, realized-vol estimators, HAR-RV, regimes |
| Monte Carlo | GBM, Heston, jump-diffusion, CIR, variance reduction |
| Credit | Merton model, CDS pricing, Z-spread, expected loss |
| Fixed Income | Bond pricing, duration/convexity, yield curves |
| Backtesting | Event-driven engine, order management, slippage |
| Machine Learning | LSTM models, walk-forward CV, feature engineering |
| Execution | VWAP, TWAP, POV, implementation shortfall |
| Signals | 40+ technical indicators (functional and OOP APIs) |
Links
- Documentation: https://meridianalgo.readthedocs.io
- Source & Issues: https://github.com/MeridianAlgo/Python-Packages
- Changelog: https://github.com/MeridianAlgo/Python-Packages/blob/main/CHANGELOG.md
License
MIT License. For research and educational purposes — trading involves substantial risk of loss, and past performance does not guarantee future results.
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 meridianalgo-7.2.0.tar.gz.
File metadata
- Download URL: meridianalgo-7.2.0.tar.gz
- Upload date:
- Size: 468.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8cf529bcdb1b08881ac99592dbe7f01c8fe6cf721c4543ee5374ad54ac711fe
|
|
| MD5 |
4155e415c641f51d3fe643934413e92e
|
|
| BLAKE2b-256 |
01b9a2bd4fd3759f5917b6a8faedced98eaf11d294d6be3691dc0f0c0f9b0a52
|
File details
Details for the file meridianalgo-7.2.0-py3-none-any.whl.
File metadata
- Download URL: meridianalgo-7.2.0-py3-none-any.whl
- Upload date:
- Size: 411.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
565dd8c79c314763232b1958741a21afbaab529ec0860d2b65ce1e4fb03cad4b
|
|
| MD5 |
4cb252326c7e7d429dfce129ec42f908
|
|
| BLAKE2b-256 |
e52e403f625ff281a756587b903e28c739fecb8b2606d469d2234a226a5429cf
|