Add support for different kinds of liabilities, like mortgages, cash credits, etc.
-
Liabilities should be tracked together or separately from the rest of portfolio. Whenever a quantity on the position is negative it becomes a liability.
-
Any asset can become a liability if it is allowed to. You should be able to short stocks, borrow cash or make an overdraft on your bank account.
-
Liabilities should be connected to assets they funded by linking transactions together with double entry bookkeeping. So that you can understand where the money comes from and how much of it is repaid.