Total gain of portfolio including sold stocks?
You could create your own spreadsheet of Cash Flows and use the XIRR function in Excel: The formula is:
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Total gain of portfolio including sold stocks?

### Response:
You could create your own spreadsheet of Cash Flows and use the XIRR function in Excel: The formula is: