Share your insights or perspective on the financial matter presented in the input.

How to account for Capital Gains (Losses) in double-entry accounting?
First, the balance sheet is where assets, liabilities, & equity live. Balance Sheet Identity: Assets = Liabilities (+ Equity) The income statement is where income and expenses live. General Income Statement Identity: Income = Revenue - Expenses If you want to model yourself correctly (like a business), change your "income" account to "revenue". Recognized & Realized If you haven't yet closed the position, your gain/loss is "recognized".  If you have closed the position, it's "realized". Recognized Capital Gains(Losses) Assuming no change in margin requirements: Margin interest should increase margin liabilities thus decrease equity and can be booked as an expense on the income statement. Margin requirements for shorts should not be booked under liabilities unless if you also book a contra-asset balancing out the equity.  Ask a new question for details on this. Realized Capital Gains(Losses) Balance Sheet Identity Concepts One of the most fundamental things to remember when it comes to the balance sheet identity is that "equity" is derived. If your assets increase/decrease while liabilities remain constant, your equity increases/decreases. Double Entry Accounting The most fundamental concept of double entry accounting is that debits always equal credits. Here's the beauty: if things don't add up, make a new debit/credit account to account for the imbalance.  This way, the imbalance is always accounted for and can help you chase it down later, the more specific the account label the better.