Build error in mainCalculateAnnualReturn()

I am getting build error in mainCalculateAnnualReturn(). Rest testcases has passed.
Can anyone guide on which to take buy and sell price after getting response from api.
When I run the testcase for the function individually, I get different values from expected values. I think error might be choosing price but don’t know properly on which to take.

Buy price is the opening price on start date. Sell price is the closing price on end date.


Thanks a lot :smile:

Thanks a Ton man!! you just gave me the epiphany i was looking for all day.
I was looking to solve that 1 little JUnit to no avail.

Keep up the great work man

Thank you :slight_smile:. Please upvote it if you liked it.