I have a Position class which represents a stock position like this:
Position
class Position { private: double price_; double amount_; double valu