optionlab
A Python library for evaluating option trading strategies.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
It has changed since its scan on 11 Nov 2026.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/rgaveiga/optionlab with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/rgaveiga/optionlab'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/rgaveiga--optionlab)HTML
<a href="/listings/rgaveiga--optionlab"><img src="/api/listings/rgaveiga--optionlab/badge.svg" alt="findsafeskills safety rating" /></a>Install
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
The easiest way to install **OptionLab** is using **pip**:
pip install optionlab
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 70 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
- 
- # OptionLab
- This package is a lightweight library designed to provide quick evaluation of options trading
- strategies. It produces various outputs:
- - the profit/loss profile of the strategy on a user-defined target date
- - the range of stock prices for which the strategy is profitable (i.e., generating a return of
- at least \$0.01)
- - the Greeks (delta, theta, rho, vega and gamma) associated with each leg of the strategy
- - the resulting debit or credit on the trading account
- - the maximum and minimum returns within a specified lower and higher price
- range of the underlying asset
- - The expected profit when the strategy is profitable and the expected loss if it proves unprofitable
- - the strategy's probability of profit.
- ## Contact
- If you have any questions, corrections, comments or suggestions, just
- [drop a message](mailto:roberto.veiga@ufabc.edu.br).
- You can also reach me on [Linkedin](https://www.linkedin.com/in/roberto-gomes-phd-8a718317b/) or
- follow me on [X](https://x.com/rgaveiga).
- > [!NOTE]
- > If you want to support this and other open source projects that I maintain, become a
- >[sponsor on Github](https://github.com/sponsors/rgaveiga).
- ## Installation
- The easiest way to install **OptionLab** is using **pip**:
- ```
- pip install optionlab
- ```
- ## Documentation
- You can access the API documentation for **OptionLab** on the
- [project's GitHub Pages site](https://rgaveiga.github.io/optionlab).
- ## Contributions
- Contributions are welcome.
- This repository uses [poetry](https://python-poetry.org/) as a package manager and
- [git hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) with
- [pre-commit](https://pre-commit.com/) to customize actions on the repository.
- Source code must be formatted using [black](https://github.com/psf/black).
- ## Disclaimer
- This is free software and is provided as is. The author makes no guarantee that its
- results are accurate and is not responsible for any losses caused by the use of the
- code.
- Bugs can be reported as issues.
- > [!CAUTION]
- > Options are very risky derivatives and, like any other type of financial vehicle,
- > trading options requires due diligence. This code is provided for educational and
- > research purposes only.
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.