Margin accounts

This interactive simulation demonstrates the mechanics of margin accounts for both Buying on Margin and Short Selling.

Interactive Simulation

Choose your strategy and move the slider to see how the stock price evolution affects your margin account over 22 days.

Note

Assumptions:

  • Initial Stock Price: $100
  • Number of Shares: 100
  • Initial Margin Requirement: 50%
  • Maintenance Margin: 30%
  • Annual Interest Rate on Loan (Buy on Margin): 8%
  • Interest on Short Proceeds: 0%
  • Stock Dividends: None
  • Time Horizon: 63 days (approx. 3 months)
  • Year: 365 days

Account Details

Note

Notes:

  • Stock Return: Daily percentage change: \((P_t - P_{t-1}) / P_{t-1}\). Recall that the stock does not pay dividends in this simulation.
  • Account Return: Daily return on account value: \((Equity_t - \text{PrevEquity}^*) / \text{PrevEquity}^*\), where \(\text{PrevEquity}^*\) is the equity at the end of the previous day plus any margin call deposit.
  • Account Equity / Margin Account: Reported after any margin call deposit is added for the day.
  • Pre-call Equity: Equity before any margin call deposit.
  • Margin Level (Buy): \(\frac{\text{Equity}}{\text{Market Stock Value}}\).
  • Margin Level (Short): \(\frac{\text{Equity}}{\text{Market Stock Value}} = \frac{\text{Total Cash} - \text{Stock Value}}{\text{Market Stock Value}}\).
  • Pre-call Margin: Margin level before any margin call deposit.
  • Leverage: Both buying on margin and short selling are leveraged positions, so account returns can be amplified relative to stock returns, increasing both upside potential and downside risk.

For more details on how these calculations are done, refer to buying on margin and short sales pages.