Summary
The 24h volume helper uses a rolling time window but its boundary behaviour — trades exactly at the 24h mark — has no unit test coverage. Tests should confirm trades at the boundary are included and trades one millisecond outside are excluded.
Scope
- Test a trade timestamped exactly 24 hours ago is included in the volume
- Test a trade timestamped 24 hours and 1 millisecond ago is excluded
- Test a trade timestamped 1 second ago is included
- Test the helper returns 0 when all trades fall outside the window
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The 24h volume helper uses a rolling time window but its boundary behaviour — trades exactly at the 24h mark — has no unit test coverage. Tests should confirm trades at the boundary are included and trades one millisecond outside are excluded.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram