NDVR interview question

Coding question - complete a task to fetch prices and process them in a specific way.