Open source · AGPL-3.0 · Built on QuantLib

An open derivatives pricing platform.

Quantra prices interest-rate, credit, inflation and equity derivatives on your own infrastructure: a C++ QuantLib engine, a Python orchestration API and a web portal, in a single repository.

$ git clone https://github.com/joseprupi/quantra
$ cd quantra && docker compose up
portal ready · http://localhost:5173
Market data

Connect market data

Quantra ships with connectors for four public sources (the Bank of England, the US Treasury, the ECB and FRED) and a pipeline that normalises everything into one catalog your curves and products price from. Plug in your own feeds through the same interface: licensed vendors, internal systems, or plain CSV. How ingestion and scheduling work is covered in the documentation.

see it running on live data at app.quantra.io

The platform

Six products, and the pipeline behind every price

Rates

Interest-rate swaps

Vanilla fixed-for-float off real OIS curves, custom or catalog indices on the float leg.

Rates

Bonds

Fixed and floating-rate bonds priced off government or swap curves, MD-resolved quotes.

Volatility

Swaptions

Constant and ATM-matrix vol surfaces, a sampling workbench, Hull-White calibration.

Credit

CDS

Credit curves from par spreads or flat hazard, protection legs priced through QuantLib.

Equity

Equity options

European options on Black vol surfaces with dividend and rate curve inputs.

Inflation

Inflation swaps

ZCIIS and year-on-year swaps on CPI/HICP indices with real fixing histories.

Every price ships with its trace: the inputs, the resolved market data, and the exact request the engine saw. Open the Investigate view and follow the number back to its sources.

Architecture

System overview

portalReact web client
orchestratorFastAPI · pricing + data API
quantraserverC++ · QuantLib · stateless
market dataread-only internal API
Postgresapp.* user data · md.* market data
ingesterBoE · UST · ECB · FRED daily

The engine never touches the database; the request-path services can’t write market data. Least privilege by construction.

Code

Two repositories

Platform · AGPL-3.0

joseprupi/quantra

The application: web portal, pricing and data API, market data services, database schema, and the docker compose that runs the whole stack. This is the repository you clone to run or contribute to Quantra.

Engine · BSD

joseprupi/quantraserver

The pricing engine: a stateless C++ gRPC server built on QuantLib. A separate project with its own releases, usable on its own without the platform.

License

What the license means

The platform is AGPL-3.0: use it, modify it, run it commercially, and if you offer a modified version as a service, share your changes. The pricing engine is BSD, like QuantLib itself.

Get started

Three ways in

Self-host

docker compose up

Clone the repo and start the full platform on your machine. Real market data ingests on first boot; the portal is live in minutes.

Browser

app.quantra.io

The public demo runs the same build on real Bank of England and Treasury data. Price a swap right now, nothing to install.

Source

github.com/joseprupi

The platform (quantra) and the engine (quantraserver), all on GitHub.

Contact

Questions, ideas, problems

Send a note: a bug, a feature you need, or anything about running Quantra.