I have tried many suggestions from the forum to solve this issue but none of then worked. I don’t know what is the problem in my code. Can anyone please help me to solve this issue?
Hey, can you please go through this forum query -
Hope this helps in resolving you query.
@Nehal_21 if its the only test case you are getting wrong ,its probably because you have not sorted the list of annualizedreturn in descending order (refer TODO)
1 Like
./gradlew run --args=‘trades.json 2019-09-01’
use this test to make sure output is sorted in descending by the double annualizedreturn which you calculated for symbols
Done. Thank you so much I forget to sort it in descending order.