Stocks profit and loss calculator