Skip to content

Web trade: market stats header #340

Description

@0xMegie

Area: apps/web/src/features/trade/components/MarketStatsHeader.tsx

Goal: Verify 24h volume, open interest, and mark/index price render from fixtures.

Tasks:

  • Render with a fixed market stats fixture.
  • Assert volume, open interest, and price values use shared formatters.
  • Test missing/unavailable stat fallbacks.

Acceptance:

  • No NaN or raw protocol-scale numbers leak to the UI.
  • bun run --cwd apps/web test passes.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions