Repository navigation
feat: add order book depth, fx indexer, investor scoring, and announcements endpoints - #665
Merged
Merged
Conversation
|
@Omoboi-dev Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
This pull request implements the requested endpoints, route handlers, data contracts, and unit tests across secondary market visualization, oracle FX rates, investor reputation scoring, and issuer announcement feeds:
GET /invoices/:id/orderbook(mounted on/api/v1/invoicesand/invoices) returning bids and asks grouped by price level with price, cumulative amounts, order counts, and a 15-second cache header.createFxRoutermounted at/api/v1/fxand/fx.GET /fx/ratesreturning all currency pairs with staleness indicators andGET /fx/rates/:pairreturning single-pair rate details with a 60-second cache header.GET /investors/:wallet/scorereturning score, tier, and last updated timestamp with 60-second cache headers.GET /investors/:wallet/score/historyreturning cursor-paginated score change events with delta.GET /invoices/:id/announcementsreturning cursor-paginated announcement summaries per invoice.GET /invoices/announcements/:announcementId/contentreturning full content with caching indicators.src/types/market.ts.tests/unit/market-features.test.ts.Closes #660
Closes #661
Closes #663
Closes #664