I have several activity records which include several transaction types:
I understand the impact of
sell on the Unrealized, Daily and Realized P&L of a security or Portfolio.
However, how do you deal with a
short position in a security? Is everything just in reverse (i.e.
buy * -1)?