Meridian¶
The open platform for builders.
Build financial insights, not infrastructure. Backtest a trading idea in 15 lines of Python.
from meridian import LocalClient, SignalEngine
client = LocalClient(starting_cash=100_000)
client.load_bars("AAPL", "prices.csv")
class Momentum(SignalEngine):
def on_data(self, window):
bars = window.bars("AAPL", lookback=20)
if len(bars) >= 20:
ret = (bars[-1].close - bars[0].close) / bars[0].close
if ret > 0.03:
self.submit_order("AAPL", "BUY", 100)
Momentum(client).run(warmup=20)
print(client.positions()) # What you hold
print(client.cash()) # Cash remaining
print(client.fills()) # Trade history
That's it. No infrastructure. No Docker. No API keys. Just Python and your idea.
-
Explore
See why investment management software is ready for disruption — and how Meridian's plugin architecture changes the game.
-
Build
Go from zero to running strategy in 5 minutes. Write a signal engine, a data adapter, or a broker connector.
-
Partner
Already building financial tools? Ship them as Meridian plugins — institutional-grade infrastructure, startup-speed delivery.
How It Works¶
You focus on trading logic. Meridian handles everything else — message routing, order lifecycle, position tracking, access control, audit logging. You build the interesting parts as plugins; the kernel handles the infrastructure.
graph LR
DS["Data Sources"] --> SE["Signal Engines"] --> OM["Order Management"] --> EX["Execution"] --> BR["Broker"]
BR -- "Positions, fills, audit trail" --> DS
Every plugin runs alongside a sidecar that handles pub/sub, access control, health monitoring, and state recovery. Plugins communicate only with their local sidecar on localhost:9191 — never directly with the bus or other plugins. Swap, upgrade, or replace any plugin without touching the others.
How it works in detail The plugin ecosystem
Built for Developers¶
| Open Source | Apache 2.0 for the kernel, SDKs, CLI, and documentation. The control plane (meridian-platform) is proprietary |
| 6 SDKs | Python, Go & TypeScript production-ready. Java, C++, Rust in development |
| Automated Testing | Comprehensive conformance suite ensures your plugin thrives in the ecosystem |
| Event-Sourced | Every state change logged. Crash and recover without data loss |
| Plugin Architecture | Swap, extend, or replace any component independently |
| Swap Anything | Replace any component without touching the rest |
SDKs¶
| Language | Status | Install |
|---|---|---|
| Python | Production-ready (84 API operations) | pip install open-meridian |
| Go | Production-ready (84 API operations) | go get github.com/Societal-Lab-Inc/meridian-go |
| Java | In development | Coming soon |
| C++ | In development | Coming soon |
| Rust | In development | Coming soon |