Repository navigation
Feat/pee pea history - #3
Merged
Merged
Conversation
make-patches.sh now diffs against WOOB_REF from the Dockerfile (no fetch needed) and writes one patch per module, none for a module without changes. The esalia module patch also exports the operations and the unit price history of every fund to /var/lib/kresus/esalia-history.json, and the boursedirect module gets a 60 s timeout. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…d unit prices With PEE_HISTORY=1 the bridge sends one valuation per past date (parts held x unit price) from the first operation on, read from esalia-history.json, once and then only the missing days. 'sure-bridge.py pee-history' previews the curve (first and last dates, largest one-day moves, last point against today's valuation) without contacting Sure or Kresus. The reconstruction was checked against the real positions. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…a-rebuild) The boursedirect module now writes the rows of its account history page to boursedirect-history-<account>.json, merged across syncs. 'sure-bridge.py pea-rebuild' rebuilds the state at the start of the window backwards from today's positions (quantity, opening average cost solved from the PRU, opening cash) and replays the operations with their real dates. It prints a plan with --dry-run, writes only with --yes, and refuses when the PEA account in Sure is not empty, so positions cannot be counted twice. The state is left ready for the daily differential sync. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…rmations Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
No description provided.