Skip to content

feat: add updatedFrom/updatedTo filters to StableFX fetch trades - #482

Merged
yitianx00 merged 1 commit into
masterfrom
anil/pifx-updated-date-filter
Sep 15, 2026
Merged

yitianx00 merged 1 commit into
masterfrom
anil/pifx-updated-date-filter

Conversation

@anilgangapersaud-circle

Copy link
Copy Markdown
Contributor

Summary

  • Adds updatedFrom and updatedTo filter fields to the StableFX fetch trades debug page
  • Wires the new params through getTrades in lib/stablefxTradesApi.ts as updatedFrom/updatedTo query params

Detail

The underlying API now supports filtering trades by updateDate, enabling incremental polling for status changes. Previously clients had to fetch by create-date window and diff locally.

Related: treasury-exchange-rate#3644 | stablefx-openapi-internal#59

Testing

  • Open the StableFX debug fetch page
  • Enter an ISO 8601 date in "Updated From (Inclusive)" (e.g. 2025-01-01T00:00:00Z) and verify only trades updated after that date are returned
  • Confirm existing create-date and status filters are unaffected

Documentation

API spec updated in stablefx-openapi-internal#59.


Story: https://circlepay.atlassian.net/browse/DAE-4013

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@anilgangapersaud-circle
anilgangapersaud-circle marked this pull request as ready for review September 15, 2026 13:25
@yitianx00
yitianx00 merged commit d55007c into master Sep 15, 2026
4 checks passed
@yitianx00
yitianx00 deleted the anil/pifx-updated-date-filter branch September 15, 2026 13:56
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.

2 participants