goldspanlabs/optopsy
A nimble options research and backtesting library for Python observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 90
- Release rhythm 72
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1.5
- age_days: 3273
- days_rel: 184
- days_push: 64
- n_releases_24m: 5
Adoption not part of the score
1462 stars · 223 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Optopsy is a Python backtesting and statistics library for options strategies, offering 38 built-in strategies, per-leg delta targeting, trade and portfolio simulation, risk metrics, and slippage/commission modeling. It works natively with pandas DataFrames and any options data source, and includes a data CLI and plugin system.
Use cases
- backtest iron condors on SPX with profit targets and stop losses
- compare 45-DTE options strategies vs holding to expiration
- compute Sharpe, Sortino, VaR and other risk metrics for option spreads
- filter strategy entries with technical indicators like RSI and MACD
- simulate multi-strategy options portfolios with capital tracking
- download and cache historical options chain data
- model commissions and slippage in options backtests
When to choose
- you need to research and backtest options spread strategies in Python
- you want pandas-native results that fit an existing data workflow
- you need per-leg delta targeting, early exits, and realistic fill modeling
- you want quick statistics on options strategies without building a spreadsheet
When to avoid
- you need live order execution or broker integration rather than research/backtesting
- you trade equities, futures, or crypto rather than options
- you require a GUI-first trading platform
- you need a license more permissive than AGPL-3.0
Facets
library · maturity active
trading simulation data-science cli plugin-system fintech data-science developer-tools python cli options-trading backtesting options-strategies pandas risk-metrics slippage-modeling algorithmic-trading trading
3 sources
- readme: https://github.com/goldspanlabs/optopsy · fetched 2026-08-28 · 30a0b070d512
- homepage: https://goldspanlabs.github.io/optopsy/ · fetched 2026-08-29 · 6ec21a3351ad
- registry_pypi: https://pypi.org/pypi/optopsy/json · fetched 2026-08-29 · ea832a6c30de
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| goldspanlabs/optopsy | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="goldspanlabs/optopsy")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem