Skip to content

Hide resolved loss positions - #5

Merged
novatechflow merged 1 commit into
mainfrom
fix/resolved-loss-positions
Sep 8, 2026
Merged

Hide resolved loss positions#5
novatechflow merged 1 commit into
mainfrom
fix/resolved-loss-positions

Conversation

@novatechflow

Copy link
Copy Markdown
Owner

Resolved losing positions remain in the Polymarket positions API after the website hides them. Exclude positions with redeemable=true and curPrice=0 before caching and rendering them. Keep unresolved zero-price positions and winners awaiting redemption.

Validation: go test ./... and go vet ./... passed; regression coverage includes mixed and empty portfolios. Docker build could not run because the Docker daemon is unavailable.

@novatechflow
novatechflow merged commit e0b9aab into main Sep 8, 2026
1 check passed
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