RESTful API for managing stock portfolio