Skip to content

Opening book details…

About this document

Calculate Realized and Unrealized P/L by tusharkopenai is a document available to read on EtoBox.

The document describes a problem involving the calculation of realized and unrealized profit/loss (P/L) for a stock portfolio based on given stock purchase and selling information. It outlines the input format, constraints, and provides examples to illustrate how to compute the P/L at a specific time. The output includes the realized P/L from sold stocks and the unrealized P/L from stocks that have not been sold yet.

Author
tusharkopenai
Language
EN