realized profit and loss