Skip to content

Wheeler: roll an open PUT/CALL to a new strike/expiry - #148

Merged
heyitsStylez merged 1 commit into
mainfrom
feat/wheeler-roll
Oct 15, 2026
Merged

heyitsStylez merged 1 commit into
mainfrom
feat/wheeler-roll

Conversation

@heyitsStylez

Copy link
Copy Markdown
Owner

Summary

  • Roll ↻ quick-action on Wheeler open option rows/cards opens a modal: buy-back cost, roll date, new expiry/strike/contracts/premium, live net credit/debit.
  • Saves as two ordinary trades: the old leg goes to CLOSED (closeCost = buy-back, closeDate = roll date) and a new OPEN leg is added with rolledFrom set (and lotNum kept for calls). Lot engine and P&L are unchanged.
  • Position History tags rolled closed legs with ↻ rolled, worked out from rolledFrom.

Test plan

  • python3 build.py --check
  • npm test: 204 pass (new test/unit/roll.test.js + Wheeler integration roll test)
  • Manually roll a PUT and a covered CALL on gowheeler preview

🤖 Generated with Claude Code

Roll ↻ quick-action on open option rows/cards opens a modal (buy-back
cost, roll date, new expiry/strike/contracts/premium, live net
credit/debit). Saves as the old leg CLOSED + a new OPEN leg carrying
rolledFrom (and lotNum for calls), so lot engine and P&L are unchanged.
Position History tags rolled closed legs with ↻ rolled.
@vercel

vercel Bot commented Oct 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
gowheeler Ready Ready Preview Oct 15, 2026 1:50pm UTC
hyperwheel Ready Ready Preview Oct 15, 2026 1:50pm UTC

@heyitsStylez
heyitsStylez merged commit 371b0ae into main Oct 15, 2026
5 checks passed
@heyitsStylez
heyitsStylez deleted the feat/wheeler-roll branch October 15, 2026 13:50

This branch was successfully deployed

2 active deployments
Preview – gowheeler — 3180f93a Deployed Oct 15, 2026 by vercel[bot]
Preview – hyperwheel — 3180f93a Deployed Oct 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant