Skip to content

Trade Log count matches the table (excludes spot HOLDINGs) - #138

Merged
heyitsStylez merged 2 commits into
mainfrom
fix-trade-count-exclude-holdings
Aug 19, 2026
Merged

Trade Log count matches the table (excludes spot HOLDINGs)#138
heyitsStylez merged 2 commits into
mainfrom
fix-trade-count-exclude-holdings

Conversation

@heyitsStylez

Copy link
Copy Markdown
Owner

The top-right Trade Log count read displayRows.length, which included spot HOLDINGs — but HOLDINGs render as cards, not table rows. So the header (e.g. "4 trades") disagreed with Open Positions + Position History (e.g. 2 open).

Now it counts non-HOLDING rows (open + history), matching what's actually in the table.

Build + 183 tests pass.

🤖 Generated with Claude Code

…tory)

The top-right count read displayRows.length, which included spot HOLDINGs
(rendered as cards, not table rows) — so it disagreed with Open Positions +
Position History. Count non-HOLDING rows instead.
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
gowheeler Ready Ready Preview Aug 19, 2026 5:13am
hyperwheel Ready Ready Preview Aug 19, 2026 5:13am

@heyitsStylez
heyitsStylez merged commit 573a650 into main Aug 19, 2026
5 checks passed
@heyitsStylez
heyitsStylez deleted the fix-trade-count-exclude-holdings branch August 19, 2026 05:14
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