Skip to content

feat: apples-to-apples fee comparison (HL-comparable coins only) - #2215

Merged
Flotapponnier merged 5 commits into
devfrom
feat/fee-compare-fixes-v3
Aug 30, 2026
Merged

feat: apples-to-apples fee comparison (HL-comparable coins only)#2215
Flotapponnier merged 5 commits into
devfrom
feat/fee-compare-fixes-v3

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Summary

  • Gains-exclusive pairs (not listed on Hyperliquid) are greyed out in the trade table with a "Gains only" badge
  • Their fees are excluded from the Gains → HL fee comparison calculation via walletStats (passes otherSlug now)
  • Gains card shows a footnote: "Incl. $X on pairs not listed on Hyperliquid — excluded from comparison"
  • HL available coins fetched from the /info meta endpoint at request time

Test

Open /fee-compare?venueA=hyperliquid&venueB=gains&wallet=...&days=90 — any trade on a pair Hyperliquid doesn't list should appear dimmed with "Gains only" label, and the comparison total should exclude those fees.

@Flotapponnier
Flotapponnier merged commit 70f44e4 into dev Aug 30, 2026
1 check failed
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