Set the last price after a deal
Using rather than typedef
Add tests