If you are using a Retrieve from database, you can set the range option to "First" so you only retrieve the first matching item.
You need to store this within the DB.
For example, an entity "PriceHistory" where you make a record each time the price of an item is changed. Make sure to associate it with your item.
Then retrieve via association, all associated PriceHistory objects. Order in whichever direction you want.