Skip to content

Fix gainers/losers logic in exchange (#22) #30

Conversation

roaraf
Copy link
Member

@roaraf roaraf commented Apr 15, 2026

No description provided.

roaraf added 2 commits April 15, 2026 19:38
Added private method getTopStocks to avoid duplicate code, and change getGainers and getLosers to use getTopStocks.
Added test methods for getGainers and getLosers that also target getTopStocks.
@roaraf roaraf changed the base branch from main to develop April 15, 2026 17:48
@roaraf roaraf merged commit 1a98d8a into develop Apr 15, 2026
@roaraf roaraf deleted the hotfix/22-fix-getgainers-and-getlosers-in-exchange-and-add-junit-test branch April 15, 2026 17:49
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant