LeanETRM

Open source energy trading

Price the deal.
Understand
the risk.

Open source software for futures, financial swaps and market curves. Follow a trade from its terms to the prices, cash flows and exposures behind the result.

Private pilot · Sign in with your invited account

Request a walkthrough

L LeanETRMMarket workspace
THE BOOKSynthetic illustration

Every position.
A clear reference.

03contracts
Illustrative futures holdings, with synthetic quote prices
Contract Holding Quote
NGHenry HubDecember 2026 · gas 12 lots 3.450 USD/MMBtu
PJPJM Western HubDecember 2026 · power 8 lots 46.250 USD/MWh
ERERCOT NorthJanuary 2027 · power 5 lots 51.800 USD/MWh
Follow the market inputs
Dated contractCurvePosition
Explicit units. Retained inputs.
Built around energyNatural gasPowerOutright & basisMonthly & daily

01 / The workspace

The deal and its detail.
In the same place.

Start with a proposed trade, inspect the result, and book it when the terms are ready.

01

Work the trade.

Capture futures and financial swaps in a shared blotter. Keep the counterparty, legal entity and booking record alongside the contract.

02

Price before booking.

Try a deal without creating a position. Inspect swap payments and discounting, or a futures entry price and its open exposure.

03

Keep the context.

Choose the market close. Review versioned inputs and retain the quantities, units and contract references used in a calculation.

02 / The market

Energy has a shape.
Your curves should too.

Delivery periods, location basis and units belong in the model. Explore market curves with the relationships in view.

Explore the pilot
Gas

Benchmark & location basis

Keep directly quoted prices and explicitly linked spread curves distinct. Follow the declared dependencies behind a value.

Power

Delivery & time of use

Preview delivery schedules and unit-aware quantities, including total MWh or a flat MW rate over the selected hours.

History

The selected market close

Inspect dated observations and their versions. Keep historical context attached to the inputs you use.

03 / The exposure

Move the market.
Reprice the book.

See which dated market quotes affect your futures positions, then compare values under shared up and down scenarios.

The pilot reports futures execution P&L and open quote exposure. Complete settlement and variation-margin processing are still in development.

  1. 01

    Identify the inputs.

    Instruments declare the market factors they use, including explicit curve dependencies.

  2. 02

    Share the scenario.

    Apply the same market move across the selected book, so positions are compared on a consistent basis.

  3. 03

    Inspect the change.

    Apply position quantities and compare the base, up and down results for the selected book.

LeanETRM / Open source

Read the code.
Make it yours.

Run your own instance, inspect how a calculation works or contribute to the project.

Explore on GitHub

The hosted pilot is by invitation. The source is open.