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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions