Skip to main content

MeridianAlgo Quant Packages - The Complete Quantitative Finance Platform for Professional Developers

Project description

MeridianAlgo

PyPI version Python versions License

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

License

MIT License. For research and educational purposes — trading involves substantial risk of loss, and past performance does not guarantee future results.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meridianalgo-7.2.0.tar.gz (468.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meridianalgo-7.2.0-py3-none-any.whl (411.6 kB view details)

Uploaded Python 3

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

Hashes for meridianalgo-7.2.0.tar.gz
Algorithm Hash digest
SHA256 c8cf529bcdb1b08881ac99592dbe7f01c8fe6cf721c4543ee5374ad54ac711fe
MD5 4155e415c641f51d3fe643934413e92e
BLAKE2b-256 01b9a2bd4fd3759f5917b6a8faedced98eaf11d294d6be3691dc0f0c0f9b0a52

See more details on using hashes here.

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

Hashes for meridianalgo-7.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 565dd8c79c314763232b1958741a21afbaab529ec0860d2b65ce1e4fb03cad4b
MD5 4cb252326c7e7d429dfce129ec42f908
BLAKE2b-256 e52e403f625ff281a756587b903e28c739fecb8b2606d469d2234a226a5429cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page