docs: correct 2026-09-01 expiry report P&L to broker truth - #117
Merged
Merged
Conversation
added 2 commits
September 1, 2026 16:28
… algo / -1165 book) Initial automated report showed +2046.85 PROFIT but whitelisted only positions.json symbols, missing the algo-traded 24000 CE/PE pair that was pruned mid-session. Broker GET_POSITIONS truth: algo P&L -76.05, full NIFTY01SEP book -1164.80 (incl. niftyicif -1088.75).
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.
Summary
Correct the 2026-09-01 NIFTY expiry report P&L to broker-verified truth.
Why
The initial automated report (PR #116) showed +₹2046.85 PROFIT, but broker GET_POSITIONS shows the day was a LOSS. Root cause: the report generator whitelists symbols from positions.json, which was pruned/rebuilt mid-session (11:59 reconcile) — so the algo-traded 24000 CE (−6835.40) / 24000 PE (+4712.50) pair was excluded from the P&L. Adding those back:
Change
expiry-reports/expiry-NIFTY-2026-09-01.mdwith all 14 broker legs (not just the 8 whitelisted), corrected totals, and a prominent CORRECTION note.Verification
Follow-up