Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

16. Margin Strategy & Broker Optimization

Independent / quantitative investing

Overview

This section documents the margin ROI framework, broker selection criteria, and the system changes required to support multiple brokers.

16.1 Margin Fundamentals

Margin is borrowed money from your broker used to purchase additional securities beyond your cash balance. It amplifies both gains AND losses and carries a daily interest charge that creates a hurdle rate your investments must exceed.

Core margin equation: Net Margin ROI = (Investment Return × Margin Amount)

16.2 Hurdle Rate — The Most Important Number

Your margin investment must generate a return ABOVE the margin interest rate just to break even. Any return below the margin rate loses money even if the stock goes up.

Etrade margin rates (approximate by debit tier):

Debit balanceAnnual rateMonthly cost per $10K
0−0 - 10,000~12.50%~$104
10K−10K - 25K~11.50%~$96
25K−25K - 50K~10.00%~$83
$50K+~8.50%~$71

Interactive Brokers rates (approximate):

Debit balanceAnnual rateMonthly cost per $10K
Any balance~6.00%~$50

Key insight: Etrade rates are approximately 2x IBKR rates for small margin balances. At 10,000borrowedtheannualdifferenceis10,000 borrowed the annual difference is 650 — meaningful real money.

16.3 Break-Even Analysis

ROI scenarios using $10,000 margin at 11.5% annual cost:

Investment returnGross gainInterest costNet profit
8%$800$1,150-$350 (loss)
12%$1,200$1,150+$50 (barely)
15%$1,500$1,150+$350
20%$2,000$1,150+$850
25%$2,500$1,150+$1,350

Conclusion: Margin only generates meaningful profit when the investment consistently returns 15%+ annually. In a flat or down year margin costs money regardless of stock selection quality.

16.4 Margin Call Risk

Etrade requires 25% maintenance margin. If account equity falls below this threshold positions are force-liquidated without prior notice.

Margin call triggers by amount borrowed (from $33,298 brokerage base):

BorrowedForce-sell if portfolio drops
$5,00067.6%
$10,00064.0%
$25,00053.1%

These thresholds provide substantial cushion in normal market conditions but can be breached in a severe correction or black swan event.

16.5 Five Margin Rules

Rule 1 — Hurdle rate is 15%+ Never use margin unless the target investment has a realistic path to 15%+ annual return. This provides meaningful net profit after ~12% interest cost.

Rule 2 — Quality requirement Only apply margin to positions meeting ALL of:

Rule 3 — Maximum 20% of brokerage equity Never borrow more than 20% of net brokerage account value. This self-imposed limit prevents overleveraging. Formula: Max_margin = Brokerage_Net_Value × 0.20

Rule 4 — Tighter sell rule on margin positions Standard IBD sell rule: 8% loss from entry Margin position sell rule: 5% loss from entry Rationale: Daily interest means holding losses longer is more expensive. Exit faster to preserve capital.

Rule 5 — Resolve existing debit before adding more Never layer new margin on top of existing margin debit. Pay off current balance first then evaluate new positions.

16.6 Three-Phase Margin Plan

Phase 1 — Resolve existing debit (Now) Current debit: 1,313at 12.51,313 at ~12.5% = 164/year Action: Deposit cash or trim a position to cover Goal: Zero margin debit — clean slate

Phase 2 — First margin position (Week 12+) Prerequisites:

Parameters:

Phase 3 — Scale if profitable (Year 2) Prerequisites:

Parameters:

16.7 Broker Account Structure

IRA accounts cannot legally use margin — the IRS prohibits retirement accounts from using borrowed money. Therefore the margin rate advantage only applies to taxable brokerage accounts.

Recommended permanent structure: Etrade (retirement — keep permanently): Rollover IRA account No margin possible — stays here Roth IRA (planned) No margin possible — stays here Etrade OR IBKR (taxable brokerage): Individual Brokerage Margin active — broker choice matters

Never transfer IRA or Roth IRA to IBKR:

16.8 Broker Optimization — When to Move Brokerage

Moving the brokerage account to Interactive Brokers reduces margin interest rate from ~12.5% to ~6.0% — a 6.5% annual savings on every dollar borrowed.

Annual savings by margin amount:

Margin usedEtrade costIBKR costAnnual savingsBreak-even
$1,313$164$79$8528 months
$5,000$625$300$3257 months
$10,000$1,250$600$6504 months
$25,000$3,125$1,500$1,6252 months

Decision rule:

16.9 System Changes for IBKR Support

If the brokerage account moves to Interactive Brokers the following system files require updates. Core scoring, IBD processing, and briefing generation are broker-agnostic and require no changes.

Files requiring updates (estimated 4-6 hours):

normalize_etrade.py

etrade_identify.py

watch_downloads.py

performance_tracker.py

weekly_run.py

dashboard.html

Files requiring NO changes:

16.10 Margin ROI Tracking

Add margin cost as an explicit line item in weekly performance tracking. True portfolio ROI must account for borrowing costs.

# Add to performance_tracker.py
def calculate_margin_adjusted_return(
    portfolio_return_pct: float,
    margin_debit: float,
    portfolio_value: float,
    margin_rate: float = 0.125,
    days: int = 7
) -> dict:
    """
    Calculate true return after margin interest cost.

    margin_cost_weekly = margin_debit × margin_rate × (days/365)
    margin_drag_pct    = margin_cost / portfolio_value × 100
    true_return        = portfolio_return_pct - margin_drag_pct
    """
    margin_cost = margin_debit * margin_rate * (days / 365)
    margin_drag = (margin_cost / portfolio_value) * 100
    true_return = portfolio_return_pct - margin_drag

    return {
        'gross_return_pct':    portfolio_return_pct,
        'margin_cost_weekly':  margin_cost,
        'margin_drag_pct':     margin_drag,
        'true_return_pct':     true_return,
        'margin_rate':         margin_rate,
        'margin_debit':        margin_debit
    }

Add True_Return_Pct and Margin_Cost_Weekly columns to kpi_summary.csv for accurate Jensen’s Alpha calculation. Without subtracting margin cost the alpha figure is overstated.

16.11 Current Status (W16 — April 19, 2026)

ItemStatus
Current margin debit$1,313 (Brokerage account)
Estimated annual cost$164 at ~12.5%
PhasePhase 1 — resolve debit
Broker moveNot warranted at current debit level
Next decision pointWeek 12 after track record established
IBKR move trigger$10,000+ sustained margin use

16.12 Options Strategy — Covered Calls and Cash-Secured Puts

Overview

Two conservative options strategies that complement the IBD momentum methodology without violating IRA or brokerage account restrictions.

Covered Call — sell upside on existing positions Best used: during sideways consolidation or correction Never use: during confirmed uptrend with breakout pending IRA eligible: Yes (Level 1 options approval required) Risk: caps upside if stock breaks out above strike

Cash-Secured Put — get paid to wait for lower entry Best used: when you want to own a stock at lower price Cash required: strike price × 100 shares IRA eligible: Yes (Level 1 options approval required) Risk: forced to buy stock if it drops below strike

When to use covered calls

[OK] Stock in confirmed base, moving sideways [OK] IBD market at 0%-40% exposure (correction) [OK] Position at profit target, willing to sell at strike [NO] Stock approaching IBD breakout target [NO] IBD market at 80%-100% (strong uptrend) [NO] Strong uptrend — never cap best performers

Cash-secured put sizing constraint

Options contracts = 100 shares minimum Cash required = strike price × 100

At 9,855IRAcash:Maximumeligiblestrike: 9,855 IRA cash: Maximum eligible strike: ~98 per share Most conviction names (200−200-1,500) require more cash Strategy becomes viable when cash exceeds $20,000+

Implementation prerequisites

V2 addition

Add options premium tracking to performance_tracker.py as income line item separate from position gains.


16.13 Cash Management — Dual Purpose Account Framework

Context

The Brokerage account account serves dual purpose:

  1. Personal transaction account (bills, expenses)

  2. Investment account (IBD momentum strategy)

This creates a structural tension that must be managed explicitly to prevent forced liquidation of investment positions during personal cash needs.

Three-Tier Cash Structure

Tier 1 — Operating buffer (non-negotiable) Purpose: Monthly bills and regular expenses Amount: 2 months of expenses minimum Location: Sweep/Bank Deposit Program Rule: Never invest below this floor

Tier 2 — Emergency reserve (non-negotiable) Purpose: Unexpected expenses, job loss buffer Amount: 3 months of expenses minimum Location: Sweep or separate HYSA Rule: Never invest below Tier 1 + Tier 2 combined

Tier 3 — Investment capital (discretionary) Purpose: IBD momentum strategy Amount: Everything above Tier 1 + Tier 2 Location: Securities positions Rule: Only invest money not needed in 12 months

Cash Floor Calculation

Monthly expenses × 5 = minimum cash floor (2 months operating + 3 months emergency) Example at 4,000/month:Cashfloor=4,000/month: Cash floor = 20,000 Only invest surplus above $20,000

Weekly Cash Check — Before Any Investment Decision

Step 1: What is current sweep balance? Step 2: What is current margin balance? Step 3: Net liquid = sweep + cash - margin Step 4: Is net liquid above cash floor? YES → investment capital available NO → do not invest → rebuild floor first

Margin in Personal Transaction Account

Margin in a personal transaction account is harmful:

Rule: Margin balance must be cleared within 30 days. Never let margin exceed one month of expenses.

Forced Liquidation Risk

Scenario: Market drops 20% + unexpected $3,000 expense Without cash floor: Sell NVDA at loss to cover expense With cash floor: Use Tier 1 buffer, investments untouched

Account Separation Recommendation (Long-term)

Ideal structure eliminates the dual-purpose conflict:

High-Yield Savings Account (Marcus, Ally, SoFi): Tier 1 + Tier 2 cash (operating + emergency) Earning 4-5% APY — better than sweep rates Completely separate from investments

Brokerage account: Investment capital only No personal expenses Margin kept at zero always Cash = dry powder for positions only

Timeline: Establish HYSA when monthly cash flow allows.


Moving Average Framework

Two moving averages serve distinct roles, slotting between the 8% catastrophic stop and the CAN SLIM sell signals.

21-Day Moving Average — Trend Health

Average closing price over 21 trading days (~1 month). The line a true leader rides during an uptrend.

Informational — not a trade trigger by itself.

50-Day Moving Average — Institutional Support

Average close over 50 trading days (~10 weeks). The institutional support line; funds defend positions here.

Hierarchy of Exit Rules

  1. 8% rule — catastrophic stop (hard floor, for losses)

  2. 50-day break on heavy volume — institutional-exit signal (winners)

  3. CAN SLIM climax top — parabolic spike then reversal

  4. Acc/Dis to D/E — institutional distribution

21-day MA = trend-health context informing hold decisions, not a trigger.


16.15 Enhanced Sell Rule Framework — Volume-Adjusted

Enhancement 11 (§4.15): The 8% sell rule is inviolable — always execute when triggered. Use Type 1 vs Type 2 classification after exit only to decide whether the ticker goes on the permanent-exit list or the Thesis Intact Exits re-entry watchlist.

Background

Developed after TSEM and LITE exits April 28, 2026. Both positions recovered fully within 48 hours of exit. Lesson: The 8% rule is correct but needs volume context to distinguish institutional distribution from macro noise.

The Core Distinction

Thesis broken (sell immediately at 8%): Company-specific negative news (earnings miss, guidance cut) Volume on down day is 1.40x+ average (distribution) IBD Composite drops below 75 Acc/Dis drops to D or E Thesis fundamentally changed

Macro noise (consider holding through volatility): Decline driven by broad market/sector news Volume on down day is BELOW average (weak selling) IBD ratings still intact (Composite 85+, RS 80+) Acc/Dis still B or better Own company thesis unchanged

The Three-Question Check

Before executing any 8% sell rule: Q1: WHY is it down? Company news → SELL immediately Macro/sector → check Q2 Q2: What does volume say? 1.40x+ average → institutions selling → SELL Below average → weak hands → check Q3 Q3: Is IBD thesis intact? Composite 85+, RS 80+, Acc/Dis B+ → HOLD with watch Ratings deteriorating → SELL

Adjusted Thresholds

Standard 8% rule (apply when any condition is true):

Extended watch level (8-12%) (apply when ALL true):

At extended watch level: Monitor daily — any volume pickup on continued decline → exit Any recovery above original 8% loss level → back to normal 4th consecutive down day regardless → exit

Real Examples

TSEM April 28, 2026: Down 9.26% on OpenAI Stargate news (macro) Volume: heavy on down day (distribution signal) Applied standard 8% rule → sold correctly Recovered 48 hours later — but heavy volume was correct signal

LITE April 28, 2026: Down 9.05% on same macro news Volume: heavy on down day Applied standard 8% rule → sold correctly Recovered 48 hours later — volume signal was valid

NVDA May 2026 breakout: Failed breakout at $212.19 after 3 sessions Volume was below average on failed days Applied failed breakout rule (different from 8% rule) Sold 5 new shares, kept 141 original shares

Failed Breakout Rule (separate from 8% rule)

When a stock breaks out above a buy point then falls back below that buy point within 1-2 weeks: Exit the breakout entry specifically Do NOT exit original position if cost basis is lower The signal failed — exit the signal not the thesis

The 8% Rule Remains the Default

These conditions allow CONSIDERATION of holding. Never hold a losing position without a specific documented reason. When in doubt — the standard 8% rule applies.