mainCalculateReturnsOldTrades - test case failed when I submit my code for Assessment



Only this test CASE is facing when I had submitted my code in Module 4.

And the test file named in test directory is empty. Sir, Please look into this!

Hey @aakashsankritya look into this if this can help

Actually I have gone to this post and I handled the case with no endDates.

Also in test directory the file named “” is empty.

Those are remote test cases which will be checked remotley have you sorted your returning list according to the annualizedretrn.

Sorry for the inconvenience, actually I had commented out the code for sorting the return list.
Sorry for my mistake and Thanks a lot for helping me out . :slight_smile:

For future purposes, you can refer to this FAQ, to understand why your hidden testcases are failing.