Summary
The trade history endpoint accepts optional from and to date parameters but has no integration test confirming the filter works correctly. A test should seed trades across multiple dates and assert the response only includes trades within the specified range.
Scope
- Seed five trades: two before the range, one inside, two after
- Call the endpoint with
from and to params enclosing only the middle trade
- Assert exactly one trade is returned and it matches the expected trade
- Assert trades outside the range are absent from the response
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The trade history endpoint accepts optional
fromandtodate parameters but has no integration test confirming the filter works correctly. A test should seed trades across multiple dates and assert the response only includes trades within the specified range.Scope
fromandtoparams enclosing only the middle tradeAcceptance Criteria
fromabsent from responsetoabsent from responsefromandto) includedETA: 12 hours
Coordinate on Telegram