Confusion in mainReadQuotes() function

In task board it is written that we have to return a list of sorted stocks. What is stock here? The return type of this function is list of string. what variable should we put in this list, date or closing price(after converting it to string from double).

Hey shrey! Just go through the Data transfer object(DTO) folder and see if you can use anything. Also check which class member is of type String and return only that after sorting it based on the other data member of that class. I know this is very indirect way of answering but once you find the class, read it and you will understand.

Upvote if useful. Happy coding. :slightly_smiling_face:

TODOs says, return a list of symbols which are sorted in an ascending order based on close price of the end date.

  • analysis the json file.
  • Go to the json file and check what it means by symbols.