I have several activity records which include several transaction types: buy
, sell
, short
, cover
, etc.
I understand the impact of buy
and 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
)?