Skip to content
Back to skills

Options Lean

ASecurity

Export fixed option legs to a local LEAN backtest bundle or import completed tagged results. Use when handing a plan to a historical engine, not modeled-premium strategy backtests.

  • 12 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agents

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add Iman/agent-driven-options-desk-and-skills --skill options-lean --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Options Lean?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Options Lean
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iman-options-lean/badge)](https://www.skillsdirectory.com/skills/iman-options-lean)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: options-lean
description: Export fixed option legs to a local LEAN backtest bundle or import completed tagged results. Use when handing a plan to a historical engine, not modeled-premium strategy backtests.
---

# Options Lean

Use `option_lean` with action export or import. Export requires plan, start, end, exercise_style, multiplier and data_mode. MCP writes a new bundle under the desk artifact directory. The CLI also accepts an explicit destination.

```sh
optiondesk lean export --plan PLAN.json --destination NEW_DIRECTORY --start 2016-01-04 --end 2016-01-06 --exercise-style american --multiplier 100 --data-mode user-licensed
optiondesk lean import --result RESULT.json --bundle NEW_DIRECTORY/plan.json
```

Replace the example paths and dates with the actual plan and test interval. Only single-expiry American US equity option legs with integer contract quantities and multiplier 100 are supported. Stock legs, time spreads and degraded plans are refused. Model premiums do not become fill prices.

The export provides main.py and plan.json; a local LEAN runtime, configuration and permitted historical data are separate requirements. The template permits backtests only, enters at the first common quote slice and liquidates on the final date using separate orders. It does not validate point-in-time selection, atomic spread fills or historical data coverage.

Import requires completed status, fully filled orders, matching source-plan tags and data mode. Report degraded status first: passing those checks does not validate data coverage or financial model suitability. Preserve LEAN statistic units and distinguish synthetic fixtures from historical results. Assignment-generated orders without the plan tag are refused; do not label that path validated.

Research software, not investment advice. See DISCLAIMER.md.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.