Skip to content

fix: unify buying power read provenance - #109

Merged
zaydiscold merged 2 commits into
mainfrom
fix/balance-buying-power-semantics
Sep 11, 2026
Merged

zaydiscold merged 2 commits into
mainfrom
fix/balance-buying-power-semantics

Conversation

@zaydiscold

Copy link
Copy Markdown
Owner

What changed

  • Moves CLI and custom MCP buying-power reads onto one shared engine.
  • Keeps regular buying power, cash, intraday BP, and portfolio/margin fields distinct.
  • Adds per-surface asOf receipt timestamps because the broker endpoints are sequential live reads, not an atomic portfolio snapshot.

Verification

  • Added deterministic frozen-fixture regression coverage for distinct cash/BP mapping and as-of provenance.
  • pnpm test passed.
  • Live CLI and custom-MCP reads confirmed regular BP and cash remain distinct with provenance.
  • gitleaks clean for origin/main..HEAD.

@zaydiscold
zaydiscold merged commit 7867edc into main Sep 11, 2026
8 checks passed
@zaydiscold
zaydiscold deleted the fix/balance-buying-power-semantics branch September 11, 2026 13:19
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