Markets and trading · Independent · 23 Oct 2026

rgaveiga/optionlab

A Python library for evaluating option trading strategies.

← Markets and trading
OptionLab: option strategy tester. Calculates profit profiles and risk metrics for stock options.

In simple English

This tool helps you test stock option trading ideas before you spend any money. It calculates your potential profit and loss on a specific future date. It shows you the chance of making money based on historical data. You need some basic Python knowledge to run it. It costs nothing to download and use.

What it is

OptionLab (a Python (a programming language for general-purpose software development) library for evaluating option trading strategies) is a package that calculates potential returns and risks for stock options. It computes profit profiles, Greeks (delta, theta, rho, vega, and gamma), and break-even stock price ranges.

What it is good for

Solo traders and researchers who want to simulate complex options strategies programmatically instead of using a spreadsheet.

Stars581
LicenceGPL-3.0
LatestNo tagged releasechecked 23 Oct 2026
Last code change2026-09-09
Written inPython
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Calculates profit and loss profiles for complex option combinations on a target date.
  • Computes the probability of profit and expected returns automatically.
  • Shows the Greeks for each individual leg of your strategy.
Watch for
  • Requires writing Python code to set up and run your tests.
  • Provides no graphical user interface, so all results appear in text or data frames.
  • Free software provided as-is without any guarantee of accurate financial results.
Replaces

Spreadsheet templates for option pricing and manual risk calculations.

Works well with

pandas (a Python library for data manipulation and analysis)

Similar repositories
  • quantlib/QuantLib43 stars

    A massive C++ library for quantitative finance with Python bindings, offering much deeper modelling at the cost of high complexity.

Also reviewed on Repo Radar
  • jesse-ai/jesse8.7k stars

    A Python framework for writing crypto trading strategies, testing them against past prices, and running them live.

  • hummingbot/hummingbot20k stars

    A free framework for writing and running automated trading programs on cryptocurrency exchanges.

  • lballabio/QuantLib7.7k stars

    The long-established free library for pricing and risk-managing financial instruments.

Install
pip install optionlab

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Trading & Investing › Market Research & Analysis › Options Analytics.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.