Support for Liabilities

Add support for different kinds of liabilities, like mortgages, cash credits, etc.

  1. Liabilities should be tracked together or separately from the rest of portfolio. Whenever a quantity on the position is negative it becomes a liability.

  2. 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.

  3. 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.