Stockprice challenge

i am not able to figure out error in the code.