Used to log morgan stream data with request body into MongoDb database.
Different calculations to analyse portfolio.