joellewis avatar

Margin Operations

This walks you through margin calculations and operations for brokerage accounts, covering both the regulatory requirements (Reg T initial margin, FINRA maintenance rules) and practical mechanics like SMA calculations, buying power, and margin call procedures. Use it when you're building margin systems, need to understand the difference between fed calls and house calls, or want to figure out portfolio margin eligibility under OCC TIMS. It covers the full spectrum from basic 50% initial requirements through complex portfolio margin stress scenarios and forced liquidation waterfalls. The detail on pattern day trader rules and concentrated position margin is solid if you're dealing with active trading accounts or risk management workflows.

skills.sh installs
702
GitHub stars
224
last updated
Aug 21, 2026

Install

$ npx -y skills add joellewis/finance_skills --skill margin-operations --agent claude-code

Installs into .claude/skills of the current project.

Files

Margin Operations

Core Concepts

Regulation T Initial Margin

The Federal Reserve's Regulation T establishes the initial margin requirement for purchasing securities on credit. Key provisions:

Sponsors

Details

Repository
github.com/joellewis/finance_skills
Categories
Documentation, Finance & Trading
First seen
Jun 3, 2026

More from joellewis/finance_skills

All 84
1gilbarbara avatarreact-joyridegilbarbara/react-joyrideGuide for implementing, configuring, and debugging React Joyride v3 guided tours. Use this skill whenever the user mentions joyride, guided tour, onboarding tou701skills.sh installs
2mohitmishra786 avatarsimd-intrinsicsmohitmishra786/low-level-dev-skillsSIMD intrinsics skill for x86 (SSE/AVX) and ARM (NEON) vectorization. Use when reading auto-vectorization reports, writing SSE2/AVX2/NEON intrinsics, checking C701skills.sh installs
3joellewis avatarcounterparty-riskjoellewis/finance_skillsGuide counterparty credit risk measurement and management for OTC and securities trading, organized around three workflows: assessing a new counterparty, respon700skills.sh installs
4dodopayments avatarlicense-keysdodopayments/skillsGuide for implementing license key management with Dodo Payments - activation, validation, and access control for software products.696skills.sh installs
5joellewis avatarpost-trade-compliancejoellewis/finance_skillsGuide post-trade compliance monitoring and trade surveillance system design. Use when building alert logic to detect churning, front-running, cherry-picking, la691skills.sh installs
6supabase avatarskill-creatorsupabase/agent-skillsGuide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabil691skills.sh installs