Skip to content

Add a trade history CSV export button on the portfolio page #857

Closed

Description

@Chucks1093

Summary

Investors who want to report gains or do their own analysis have no way to export their trade history. A CSV export button on the trade history tab should fetch all trades for the wallet and download them as a formatted CSV file.

Scope

  • Add an Export CSV button to the trade history tab header on the portfolio page
  • Fetch all trades from GET /users/:wallet/trades without pagination on export click
  • Generate a CSV with columns: Date, Key Name, Type, Quantity, Price per Key, Total, Fee
  • Trigger a file download with filename trades-[wallet-truncated]-[date].csv
  • Show a loading spinner on the Export button while the fetch is in progress

Acceptance Criteria

  • CSV downloaded with correct columns and data
  • Filename includes truncated wallet and current date
  • Loading spinner shown during fetch
  • All trades included without pagination limit
  • Button accessible only when the user is authenticated

ETA: 12 hours


Coordinate on Telegram

Activity

  1. Meet-hybrid commented on Aug 30, 2026

    @Meet-hybrid

    @Meet-hybrid has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Please can I work on this?

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Meet-hybrid to this issue.

  2. Paulotoide commented on Aug 30, 2026

    @Paulotoide

    @Paulotoide has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I would like to work on this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Paulotoide to this issue.

  3. directorfloo commented on Aug 30, 2026

    @directorfloo

    @directorfloo has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I would love to work on this issue professionally, please assign it to me

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @directorfloo to this issue.

  4. Risktaker001 commented on Aug 30, 2026

    @Risktaker001

    @Risktaker001 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi, I'd like to claim this issue.

    I will implement the trade history CSV export on the portfolio page:

    • Add an Export CSV button with a loading spinner to the trade history tab header, accessible for authenticated users.
    • Fetch all wallet trades via GET /users/:wallet/trades without pagination limits upon click.
    • Format and trigger the CSV file download with the required columns (Date, Key Name, Type, Quantity, Price per Key, Total, Fee) and filename scheme (trades-[wallet-truncated]-[date].csv).
    • Verify data formatting, loading states, and edge cases.
      ETA:12HOURS

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Risktaker001 to this issue.

  5. sojetunde8 commented on Aug 30, 2026

    @sojetunde8
    Contributor

    @sojetunde8 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I'd like to work on this.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @sojetunde8 to this issue.

  6. olalois commented on Aug 31, 2026

    @olalois

    @olalois has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hello Maintainer, I would love to work on this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @olalois to this issue.

  7. drips-wave commented on Aug 31, 2026

    @drips-wave

    Congratulations, @Risktaker001! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @Risktaker001: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  8. Ayomide3271 commented on Oct 15, 2026

    @Ayomide3271

    @Ayomide3271 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hello Maintainer, I’ve taken the time to carefully examine the issue, understand the requirements, and consider the expected outcome. After reviewing everything, I’m confident that I have the relevant knowledge and experience to work on this task effectively. I’m ready to take ownership of the issue, investigate it thoroughly, and work toward a proper and maintainable solution. Kindly assign the issue to me so I can begin. Thank you for your consideration. I look forward to contributing to the project.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Ayomide3271 to this issue.

  9. somotochukwu-dev commented on Oct 15, 2026

    @somotochukwu-dev

    @somotochukwu-dev has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hi
    Please assign this issue to me, I would really like to work on this issue thanks.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @somotochukwu-dev to this issue.

  10. AminMG044 commented on Oct 16, 2026

    @AminMG044

    @AminMG044 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hi Maintainer, I reviewed the affected functionality and believe I can resolve this issue effectively. I have a straightforward implementation plan and would be happy to contribute.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @AminMG044 to this issue.

  11. iyanukid2008-pixel commented on Oct 16, 2026

    @iyanukid2008-pixel

    @iyanukid2008-pixel has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    I’ve gone through the issue in detail and have a clear understanding of the expected outcome. I’d like to take this on and approach the implementation with a focus on correctness, maintainability, and consistency with the current codebase.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @iyanukid2008-pixel to this issue.

  12. Chinko21 commented on Oct 16, 2026

    @Chinko21

    @Chinko21 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    I would like to fix this, kindly assign me

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Chinko21 to this issue.

  13. whitezaddy commented on Oct 16, 2026

    @whitezaddy
    Contributor

    @whitezaddy has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    I would like to work on this issue because I have the experience

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @whitezaddy to this issue.

  14. drips-wave commented on Oct 16, 2026

    @drips-wave

    Congratulations, @whitezaddy! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @whitezaddy: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  15. added a commit that references this issue on Oct 22, 2026
  16. grantfox-oss commented on Oct 22, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @whitezaddy's PR #1266 was approved and merged by @Chucks1093.

    🏆 @whitezaddy: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (952 total points). Track your full progress on GrantFox.

    👏 Great work, @whitezaddy! Keep contributing to accesslayerorg.

  17. drips-wave commented on Oct 22, 2026

    @drips-wave

    This issue has been completed by @whitezaddy as part of the Stellar Wave Program's 10th Wave 🥳

    😎 @whitezaddy: You earned 150 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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