margin-operations

Calculate margin requirements and manage margin call procedures for brokerage accounts.

164|33|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/JoelLewis/finance_skills --skill margin-operations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: margin-operations
Source: https://github.com/JoelLewis/finance_skills/tree/main/plugins/trading-operations/skills/margin-operations
Command: npx skills add https://github.com/JoelLewis/finance_skills --skill margin-operations

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill demystifies the complex world of margin lending, requirements, and calls, enabling users to confidently manage brokerage and advisory accounts, understand leverage, and avoid costly mistakes.

Core Features & Use Cases

  • Margin Requirement Calculation: Accurately determine initial and maintenance margin for various securities and account types.
  • Margin Call Management: Understand the different types of margin calls, their triggers, and resolution procedures.
  • Portfolio Margin Analysis: Evaluate the benefits and risks of portfolio margining for hedged portfolios.
  • Use Case: A financial advisor can use this Skill to explain to a client why their account is facing a margin call, what the specific requirements are, and what options they have to resolve it, such as depositing funds or liquidating specific assets.

Quick Start

Use the margin-operations skill to calculate the Reg T buying power for an account with $50,000 in SMA.

Frequently Asked Questions about margin-operations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate Regulation T initial margin and maintenance margin for brokerage accounts?

Regulation T initial margin and FINRA or exchange maintenance margin requirements are calculated by applying specific percentage thresholds to the market value of purchased securities. This process determines the minimum equity needed to open and hold leveraged positions in brokerage and advisory accounts.

What is a margin call and how does the forced liquidation process work?

A margin call occurs when account equity falls below the required maintenance margin. If unresolved through depositing funds or securities, the forced liquidation process automatically sells assets to restore the account to the minimum equity level.

How does portfolio margin methodology differ from standard margin requirements?

Portfolio margin methodology evaluates the overall risk of a hedged portfolio rather than applying fixed percentages to individual securities. This approach calculates requirements based on potential market moves, often resulting in lower margin needs for balanced, offsetting positions.

What is Special Memorandum Account (SMA) and how do I calculate Reg T buying power?

Special Memorandum Account (SMA) tracks the unused margin buying power in a brokerage account. Reg T buying power is calculated by doubling the SMA balance, allowing investors to determine how many additional leveraged assets they can purchase.

How do securities-backed lines of credit (SBLOC) interact with margin lending risk management?

Securities-backed lines of credit (SBLOC) function as non-purpose loans using portfolio assets as collateral. Margin risk management ensures sufficient equity is maintained to prevent forced liquidation if the pledged securities decline in value.

What triggers a margin call in advisory accounts and what options do clients have to resolve it?

Margin calls in advisory accounts trigger when equity drops below exchange or FINRA maintenance margin requirements. Clients can resolve these calls by depositing cash, adding securities, or liquidating specific assets to restore the required balance.