MeridianAlgo - The Complete Quantitative Finance Platform for Professional Developers
Project description
MeridianAlgo
The Complete Quantitative Finance Platform
MeridianAlgo is a comprehensive Python platform designed for institutional-grade quantitative finance. It provides a robust suite of tools for trading research, portfolio analytics, liquidity analysis, options pricing, and high-frequency execution.
Designed for scalability and performance, MeridianAlgo integrates seamlessly into quantitative workflows, offering professional-grade modularity and performance.
Key Features
| Feature | MeridianAlgo | QuantLib | Zipline | Pyfolio |
|---|---|---|---|---|
| Portfolio Analytics | Included | Limited | Partial | Included |
| Options Pricing | Included | Included | Not Included | Not Included |
| Market Microstructure | Included | Not Included | Not Included | Not Included |
| Backtesting | Included | Not Included | Included | Not Included |
| Execution Algorithms | Included | Not Included | Partial | Not Included |
| Risk Management | Included | Included | Not Included | Partial |
| Factor Models | Included | Not Included | Partial | Not Included |
| Machine Learning | Included | Not Included | Not Included | Not Included |
| Liquidity Analysis | Included | Not Included | Not Included | Not Included |
| Performance Metrics | Included | Not Included | Not Included | Included |
Installation
Standard Installation
Install the base package via pip:
pip install meridianalgo
Optional Dependencies
MeridianAlgo supports several optional feature sets:
# Machine learning support (PyTorch/TensorFlow)
pip install meridianalgo[ml]
# Full suite (recommended for researchers)
pip install meridianalgo[full]
# Distributed computing support (Ray/Dask)
pip install meridianalgo[all]
Basic Usage
import meridianalgo as ma
# Quick analysis of market data
data = ma.get_market_data_quick(['AAPL', 'MSFT', 'GOOGL'], start='2023-01-01')
analysis = ma.quick_analysis(data['AAPL']['Close'])
print(f"Sharpe Ratio: {analysis['sharpe_ratio']:.2f}")
print(f"Max Drawdown: {analysis['max_drawdown']:.1%}")
print(f"Win Rate: {analysis['win_rate']:.1%}")
Core Modules
Portfolio Analytics
Generate comprehensive performance metrics and tear sheets, similar to Pyfolio but enhanced for modern workloads.
from meridianalgo.analytics import TearSheet
ts = TearSheet(returns, benchmark=spy_returns)
ts.create_full_tear_sheet(filename='report.pdf')
metrics = ts.get_metrics_summary()
Market Microstructure
Analyze order book dynamics, toxicity, and liquidity using state-of-the-art models.
from meridianalgo.liquidity import OrderBookAnalyzer, VPIN
# Order book insights
analyzer = OrderBookAnalyzer()
imbalance = analyzer.order_imbalance()
# Flow toxicity estimation
vpin = VPIN(trades)
toxicity = vpin.current_vpin()
Risk Management
Institutional risk metrics including VaR, CVaR, and stress testing.
from meridianalgo.risk import RiskAnalyzer
risk = RiskAnalyzer(returns)
var_95 = risk.value_at_risk(0.95, method='cornish_fisher')
stress_results = risk.stress_test({'Market Crash': -0.20})
Testing
MeridianAlgo maintains a high standard of code quality with extensive test coverage.
# Run the full test suite
pytest tests/ -v
# Run with coverage report
pytest tests/ --cov=meridianalgo --cov-report=term
Governance and Community
MeridianAlgo is committed to maintaining a professional and secure environment for contributors and users.
- Contributing: Guidelines for contributing to the project.
- Code of Conduct: Our expectations for community behavior.
- Security Policy: Procedures for reporting vulnerabilities.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Citation
If you use MeridianAlgo in your research or business, please cite it:
@software{meridianalgo2026,
title = {MeridianAlgo: The Complete Quantitative Finance Platform},
author = {Meridian Algorithmic Research Team},
year = {2026},
version = {6.0.0},
url = {https://github.com/MeridianAlgo/Python-Packages}
}
MeridianAlgo Empowering Finance for Everyone
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-6.1.0.tar.gz.
File metadata
- Download URL: meridianalgo-6.1.0.tar.gz
- Upload date:
- Size: 389.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
999907f84a53273a4353c6dc279b7bbfaa63774d4309ff0cfb1287de2d14f871
|
|
| MD5 |
c5ae8d9f363fc4aec1f4e105becbe337
|
|
| BLAKE2b-256 |
85c285edd101dddba0ae3d9b1cc9061b736526df00fe34ce5b44aca220e35504
|
File details
Details for the file meridianalgo-6.1.0-py3-none-any.whl.
File metadata
- Download URL: meridianalgo-6.1.0-py3-none-any.whl
- Upload date:
- Size: 355.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be0809388018a18de28529ea1e1477706b151dd0039f2065598b671bff570348
|
|
| MD5 |
e4eff470cf584e5d91b1593c0894753b
|
|
| BLAKE2b-256 |
01da14f62c676f817c58d58d9594117274165e818d817f33eeb4081de5a6f43d
|