Wheeler: monthly summary card + SPY/QQQ benchmark context - #142
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a Wheeler-only Monthly Summary card above the P&L Calendar with month nav (current month = "Month to Date"):
computePnl.realisedByMonth)Zero-bookkeeping by design: portfolio figure is absolute dollars, no account-NAV input, no forced head-to-head.
How
07c-render-monthly-summary.js(puremonthlySummary()dual-exported; self-gates on_isTradfi()like the calendar)type=timeseriesbranch on the Twelve Data/api/quoteproxy for daily closes; benchmark %s cached inlocalStorage(wheeler_bench) — past months permanent, current month refetched dailyrender();#msum-secmount inbody.html; styles + crypto-hide instyles.cssNotes
Not yet verified
The
time_seriesproxy branch is a thin passthrough not exercised offline — needs a liveTWELVEDATA_KEY. Will verify response shape ({ values: [{datetime, close}] }) on the live site.