Skip to content

Add a trade history table to the user portfolio page listing all past buys and sells with price and timestamp #784

Description

@Chucks1093

Summary

The portfolio page shows current holdings but no record of past trades. A trade history table fetched from the server and paginated with load-more should give users a full audit trail of their activity.

Scope

  • Add a Trade History tab to the portfolio page
  • Fetch trades from GET /users/:wallet/trades with cursor pagination
  • Display key name, trade type (Buy/Sell), quantity, price per key, total cost, and timestamp per row
  • Colour Buy rows with a green left border and Sell rows with a red left border
  • Add a Load More button to fetch the next page when more trades exist

Acceptance Criteria

  • Trade history tab renders on the portfolio page
  • Trades fetched and displayed with correct fields
  • Buy rows have green left border, Sell rows have red
  • Load More fetches next page and appends rows
  • Empty state shown when user has no trade history

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar 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