B.4 Tax and Legal
Understand the tax treatment of trading income, when (and when not) to pursue Trader Tax Status or an LLC, how the wash sale rule traps you, and what to track all year so April isn't a disaster.
Bonus Layer — Chapter 4 (Final Chapter) Goal: Understand the tax treatment of trading income, when (and when not) to pursue Trader Tax Status or an LLC, how the wash sale rule traps you, and what to track all year so April isn't a disaster.
⚠️ This is education, not tax advice. Tax law is complex, changes yearly, and depends on your individual situation. Before making major decisions (TTS election, LLC formation, Section 475 election), consult a CPA who specializes in traders. The cost of a one-hour consultation ($200-500) is trivial compared to the cost of getting this wrong.
The Core Idea
By default, the IRS treats you as an investor, not a trader. That status has consequences:
- Short-term capital gains (holdings < 1 year) are taxed as ordinary income — same rate as your W-2 salary
- Long-term capital gains (holdings > 1 year) get preferential rates (0%, 15%, or 20% depending on income)
- The wash sale rule disallows losses on substantially identical securities bought within 30 days of selling at a loss
- You can deduct up to $3,000 in net capital losses per year against ordinary income; the rest carries forward
For an active swing trader, most of this is bad news. Almost all your gains are short-term (ordinary income rates), and wash sales can trap you with disallowed losses across year-end.
There are advanced strategies to mitigate this — Trader Tax Status (TTS) and the Section 475(f) mark-to-market election — but they require qualifying and have meaningful downsides. Most swing traders, especially at a $9K account size, are better off optimizing the basics first.
Default Tax Treatment (Investor Status)
This is you, by default, when you open a brokerage account and trade.
Short-Term vs Long-Term Capital Gains
| Holding period | Tax treatment | 2026 federal rate (single filer) |
|---|---|---|
| < 1 year ("short-term") | Ordinary income | 10% / 12% / 22% / 24% / 32% / 35% / 37% based on bracket |
| ≥ 1 year ("long-term") | Preferential rate | 0% (up to ~$48K) / 15% (up to ~$534K) / 20% (above) |
Swing trading implication: Almost everything you do is short-term. A trade held 3 days, 3 weeks, or 9 months — all taxed at your marginal income rate. There is no "trader discount."
Example
You make $50,000 at your W-2 job and another $20,000 trading swing setups (all short-term). For federal taxes (single filer, 2026 brackets), the trading income is taxed roughly at the 22% bracket — about $4,400 in federal tax on those gains.
Add NC state tax: 3.99% × $20,000 = $798.
Total: ~$5,200 owed on $20K of trading profit, or about 26% effective. Plan for this. Don't reinvest your gains and then discover you can't pay April's tax bill.
Capital Loss Treatment
| Net result | Treatment |
|---|---|
| Net capital gain | Add to taxable income, taxed per holding period |
| Net capital loss | Up to $3,000/year deductible against ordinary income |
| Excess loss | Carries forward indefinitely (until used or you die) |
If you lose $20,000 trading in a year and have no offsetting gains, you can deduct $3,000 this year and carry $17,000 forward to future years. This is generous compared to many countries — but the $3,000 cap is a hard limit that hurts when you have a bad year.
The Wash Sale Rule (Your Biggest Trap)
This is the rule that bites every active retail trader at some point.
What it says: If you sell a security at a loss and buy a "substantially identical" security within 30 days before or after the sale (a 61-day window total), the loss is disallowed and added to the basis of the replacement shares.
Practical translation: You can't take a tax loss and then immediately buy the same stock back.
Example
- Jan 5: Buy 100 AAPL @ $180 = $18,000
- Jan 15: Sell 100 AAPL @ $170 = $17,000 (loss of $1,000)
- Jan 28: Buy 100 AAPL @ $172 (you're bullish again)
The $1,000 loss is disallowed. Instead, your basis in the new shares becomes $172 + $10 = $182. The loss is deferred until you eventually sell those replacement shares.
This is not the end of the world for active traders within a year — the loss eventually comes through when you close the replacement position. The real damage happens across year-end.
The Year-End Trap
Active traders often have wash sale losses pile up across multiple round trips of the same ticker. If you have positions open on Dec 31 that contain disallowed losses, those losses don't help your current year tax bill — they're embedded in the basis of open positions for next year.
The clean exit: Close all positions and stay out of any wash-sale-conflicting tickers for at least 30 days at year-end if you want all your losses recognized. For most traders this is impractical, but knowing the rule lets you make conscious choices.
What's "Substantially Identical"?
| Same ticker | Yes (obviously) |
|---|---|
| Same company, different share class (e.g., GOOG vs GOOGL) | Probably yes |
| Stock vs option on the same stock | Yes, typically |
| Different stocks in the same sector | No |
| Different ETFs tracking the same index (SPY vs VOO) | Gray area, conservatively yes |
Wash Sales Across Accounts
Wash sales apply across all your accounts — including your spouse's, your IRA, and any other taxable accounts. The most painful version: selling at a loss in a taxable account and buying the same stock in your IRA within 30 days permanently disallows the loss (it can't be added to IRA basis the way it can for taxable accounts).
What Your 1099-B Will Show
At year-end, your broker sends you a 1099-B with:
- Total proceeds (sells)
- Total cost basis (buys)
- Wash sale adjustments (Box 1g)
- Realized gains/losses
For active traders, this form can be hundreds of pages. Brokers track wash sales per account, so cross-account wash sales are your problem to identify and report.
Cost Basis Methods
When you sell part of a position, which shares are you selling? It matters for taxes.
| Method | What it does | When to use |
|---|---|---|
| FIFO (First In, First Out) | Default at most brokers. Oldest shares sold first. | Default; long-term gains preferred |
| LIFO (Last In, First Out) | Newest shares sold first | Rarely useful |
| Specific Identification ("Spec ID") | You pick which lot to sell | Maximize tax efficiency |
| Average Cost | Average basis across all shares (mutual funds only typically) | Mutual funds |
Spec ID is the most powerful tool — it lets you sell your highest-basis lot first to minimize taxable gain (or sell your lowest-basis lot first to harvest loss). Most brokers support it but you have to set it up in advance.
For swing traders: FIFO is fine for most cases. Active spec ID management is a bigger optimization for buy-and-hold investors with multi-year tax planning.
Trader Tax Status (TTS)
Here's where things get interesting (and where most retail confusion lives).
What It Is
TTS is an IRS designation (not a formal application — you just qualify or you don't) that lets you treat trading as a business activity for tax purposes. It enables:
- Deduct trading-related business expenses (home office, computer, data feeds, education) on Schedule C
- Deduct margin interest as a business expense (not just investment interest)
- Eligibility to elect Section 475(f) mark-to-market treatment (huge — see below)
- Establish an entity (LLC, S-Corp) for retirement plan benefits
What It's NOT
- TTS does not change how your gains are taxed by itself. Without a Section 475 election, your trades are still capital gains/losses on Schedule D.
- It's not an election you file — you either qualify based on activity or you don't. If audited, you must defend it.
- It's not "self-employed" status for Social Security/Medicare. Trading gains are still investment income, not self-employment income.
Qualifying for TTS
There's no bright-line test, but case law and IRS guidance suggest:
| Factor | Rough target |
|---|---|
| Frequency of trades | 4+ per day on average (most authorities say) |
| Trading days per year | 75%+ of available trading days |
| Total trades per year | 720+ (4/day × 180 days) |
| Holding period | Short-term (days to weeks) |
| Hours spent | Substantial — multiple hours per day |
| Intent | Profit from short-term price movement, not dividends/long-term appreciation |
| Equipment | Dedicated setup, charting software, real-time data |
This is a high bar. Most swing traders do not qualify. If you take 2-5 swing trades per week and hold them for several days to weeks, you're an investor, not a trader, by IRS standards.
When TTS Is Worth Pursuing
- You're trading full-time (or close to it)
- You have $100K+ in account size
- You're making consistent net profits (not losing money — you need active business not hobby losses)
- You have meaningful expenses to deduct
- You've consulted a trader-specialized CPA
At $9K Account Size, Swing Trading Part-Time
You don't qualify. Don't worry about TTS. Optimize the basics: track cost basis, manage wash sales, file Schedule D correctly. Revisit TTS when (if) you scale to $100K+ and trade full-time.
Section 475(f) Mark-to-Market Election
This is the biggest tax benefit available to qualified traders, and the most misunderstood.
What It Does
Under Section 475(f), if you have TTS and elect mark-to-market:
-
All gains and losses are treated as ordinary (not capital). You lose the long-term cap gains preference, but you also lose the $3,000 capital loss limit — you can deduct unlimited losses against ordinary income.
-
Wash sale rules don't apply. Massive simplification for active traders.
-
All positions are marked-to-market at year-end — you have to recognize unrealized gains/losses on open positions as of Dec 31, as if you sold them. (This can create a phantom tax bill on positions you still hold.)
Pros
- Wash sale rules disappear — no more 1099-B nightmares
- Unlimited loss deduction against ordinary income
- Cleaner record keeping (no FIFO/LIFO concerns)
- Aligns tax treatment with how active traders actually operate
Cons
- Irrevocable without IRS permission (and they rarely grant it). You're locked in.
- Lose long-term capital gains rates on any winners you'd held > 1 year (probably irrelevant for swing traders)
- Year-end mark-to-market can create tax on unrealized gains
- Requires election by April 15 of the year you want it to apply (for new traders, by the due date of the prior year's return)
- You must actually qualify for TTS to make this election
When It's Worth It
If you have TTS, trade frequently, and have any significant year with large losses, Section 475 saves you. The wash sale relief alone is worth it for high-volume traders.
When It's NOT Worth It
- You don't actually qualify for TTS
- You sometimes hold positions long-term for tax-favored treatment
- You're not sure you'll keep trading full-time
At your stage: Don't elect. Revisit if and when you qualify for TTS.
LLC for Trading (Almost Always Overkill at Small Account Size)
Online "trader gurus" love to push LLC formation. For 95% of retail traders, it's unnecessary or counterproductive.
Why People Form an LLC for Trading
- Liability protection (rarely relevant for trading your own money)
- Establish "business" status for TTS clarity (not actually required)
- Set up a Solo 401(k) or SEP-IRA for retirement contributions
- Deduct business expenses cleanly
- Separation of personal and business finances
Why It's Usually Not Worth It
- Liability protection is almost meaningless when trading your own capital — you have no employees, no customers to sue you, no products that can hurt people. The LLC's main protection (limited liability) addresses risks you don't have.
- Costs money: Filing fees ($100-500 state-dependent), registered agent ($50-200/yr), separate tax return ($500-2,000 to prepare), potentially state franchise tax (in some states)
- Doesn't change taxation unless you elect S-Corp treatment (which has its own complications and requires reasonable salary)
- An LLC doesn't grant TTS — you still have to qualify based on trading activity
When an LLC Could Make Sense
- You have $250K+ in your trading account
- You're trading full-time and qualify for TTS
- You want to set up a Solo 401(k) for retirement contributions (more contribution room than IRA)
- You have other family members involved (spouse co-trading, etc.)
- You're planning to trade other people's money (then you need formal structures — but that's a different game entirely, regulated, requires licensing)
NC LLC Specifics (Concord, NC)
If you ever do form one in NC:
- File Articles of Organization with NC Secretary of State (~$125)
- Annual report required ($202/yr as of 2026, check current)
- No state franchise tax for single-member LLCs (taxed as disregarded entity by default)
- Registered agent required (can be yourself if you have a NC address)
At your stage: Don't bother. Forming an LLC for a $9K swing trading account is like buying a forklift to move a coffee table.
Record Keeping (Do This All Year)
This is the most important section of this chapter for you right now. Bad records mean tax filing pain in April; good records make it trivial.
What to Track (Per Trade)
- Ticker symbol
- Entry date and exact time
- Entry price (executed, not order)
- Number of shares
- Exit date and time
- Exit price
- Commissions/fees (likely $0 at Robinhood, but log them anyway)
- Proceeds (shares × exit price - fees)
- Cost basis (shares × entry price + fees)
- Realized gain/loss
- Holding period (short-term basically always)
- Account where trade occurred (if multi-account)
- Wash sale flag (if applicable)
Your broker tracks all this for you — but only within that account. If you trade the same ticker in multiple accounts (taxable + IRA, for example), wash sale tracking falls on you.
What to Track (For TTS Defense, If Ever Relevant)
If you ever scale up and might claim TTS:
- Trade journal showing intent (swing trade, not investment)
- Hours spent per day on trading (calendar/timesheet)
- Number of trading days per year
- Trading-related expenses with receipts (computer, monitors, software, data, education, home office)
- Subscriptions (TradingView, financial news, brokerage data fees)
Tools
| Tool | What it does | Cost |
|---|---|---|
| Your broker's 1099-B | Auto-generated yearly tax form | Free |
| Cointracker / Koinly | Crypto only — separate problem | $0-200/yr |
| GainsKeeper / TradeLog | Active trader tax software, handles wash sales across accounts | $200-500/yr |
| TraderFyles | Excel-based, supports Section 475 | $30/yr |
| TurboTax Premier / H&R Block | Consumer tax prep, imports broker 1099-B | $80-130/yr |
| TurboTax + Schedule D help from CPA | If active trader with 500+ trades | $300-1,500 |
| Your own SQLite trade journal | What you'll build per Chapter B.3 | Free |
Recommendation for $9K swing trader: Robinhood 1099-B + TurboTax Premier. If you grow to 500+ trades/year or multi-account, upgrade to GainsKeeper or pay a CPA.
Estimated Quarterly Tax Payments
If you owe more than $1,000 in federal tax that isn't covered by W-2 withholding, you're required to pay estimated quarterly taxes. Penalty if you don't: typically 5-8% of the underpayment.
Safe Harbor Rules
You avoid the penalty if either:
- You pay 100% of last year's total tax liability (110% if AGI > $150K), spread across the year via withholding + estimated payments, OR
- You pay 90% of this year's total tax liability
Quarterly Due Dates
| Quarter | Period | Due |
|---|---|---|
| Q1 | Jan 1 – Mar 31 | April 15 |
| Q2 | Apr 1 – May 31 | June 15 |
| Q3 | Jun 1 – Aug 31 | September 15 |
| Q4 | Sep 1 – Dec 31 | January 15 (following year) |
For Swing Traders With W-2 Job
The easiest path: increase your W-2 withholding (file a new W-4) by enough to cover expected trading taxes. This avoids quarterly payments entirely because W-2 withholding is treated as paid evenly throughout the year (even if it happens late in the year).
Example: You expect $5,000 in trading taxes for the year. Increase W-2 withholding by $200/paycheck (bi-weekly, 25 paychecks = $5,000). Done. No quarterlies needed.
Don't Forget NC State
Same safe harbor concept but at the state level. NC also requires quarterly payments if expected liability is > $1,000.
Specific Asset Type Notes
Options
- Same wash sale rules apply
- Some option strategies create unique tax situations (covered calls, broad-based index options under Section 1256)
- Broad-based index options (SPX, NDX) get 60/40 treatment — 60% long-term, 40% short-term regardless of holding period. Huge advantage for active traders.
- Equity options (single-stock options) get normal short-term treatment
Crypto
- IRS treats as property, not currency or security
- Every trade (BTC → ETH) is a taxable event
- No wash sale rule currently for crypto (Congress has tried to change this; check current rules)
- Track every transaction across every exchange — this is the worst record-keeping situation in retail finance
Futures
- Section 1256 contracts (most futures)
- Automatic 60/40 long/short-term treatment
- Mark-to-market at year-end (no need to elect)
- Lower record-keeping burden than equities
- Outside the scope of swing trading at your level
Dividends
- Qualified dividends (most US stocks, held > 60 days): taxed at long-term cap gains rate
- Ordinary dividends (REITs, some foreign stocks): taxed as ordinary income
- For swing traders holding briefly: dividends are usually a minor consideration
Practical Tax Workflow for a Part-Time Swing Trader
All Year
- Log every trade in your journal (automated per B.3) with entry/exit dates and prices
- Track wash sale candidates if you re-enter the same ticker within 30 days
- Save broker monthly statements (PDFs)
- Track any trading-related expenses if you might eventually pursue TTS
Q4 (October-December)
- Project total trading P&L for the year
- Estimate your tax liability (use last year's effective rate as a starting point)
- Consider tax-loss harvesting: close losing positions before Dec 31 to offset winners (mind the wash sale rule — don't buy back within 30 days)
- Adjust W-2 withholding if needed to avoid underpayment penalty
Year-End (December)
- Decide on positions: keep them or close for clean tax treatment
- If you have any positions with disallowed wash sale losses, understand they roll into next year
- Print year-end positions report from broker
January-February
- Wait for broker 1099-B (usually mid-February)
- Reconcile against your own journal — discrepancies happen
- If multi-account, manually identify cross-account wash sales
March-April
- Import 1099-B to TurboTax or hand to CPA
- File by April 15 (or extension if needed — but pay estimated by April 15 regardless)
- File NC state return at the same time
Common Mistakes
❌ Not setting aside tax money during the year. Profitable traders often reinvest every dollar and then can't pay April's bill. Set aside ~30% of gains in a savings account.
❌ Triggering wash sales unintentionally across year-end. You harvest a December loss, buy back in early January, and discover the loss is disallowed.
❌ Cross-account wash sales (taxable + IRA). Buying the same ticker in your IRA within 30 days of a taxable loss permanently destroys the deduction.
❌ Forming an LLC because someone on YouTube said to. Most retail traders don't benefit.
❌ Electing Section 475 without qualifying for TTS first. The election requires TTS qualification. Without it, you're vulnerable on audit.
❌ Assuming swing trading qualifies for TTS. It almost never does. The IRS bar is "frequent, regular, continuous" — closer to day trading than swing trading.
❌ Ignoring NC state tax. It's flat at 3.99% in 2026 — don't forget to add this to your tax planning.
❌ Bad record keeping all year, scramble in March. You'll miss wash sales, miscount cost basis, and probably overpay.
❌ Mixing trading and investment accounts. Keep a clear line. If you have a long-term retirement portfolio, don't trade it.
❌ Not consulting a CPA for major decisions. A $300 consultation prevents a $5,000 mistake.
A Mental Model
Think of the IRS like a silent partner in your trading business who takes ~25-35% of every winner (federal + state + nothing if loss).
- They show up at year-end with a bill
- They don't care that you "reinvested the gains"
- They have rules (wash sale, holding period) that affect when they collect, not whether
- They give back $3K/yr on losses — generous compared to most expenses, stingy compared to actual loss
- You can become a different kind of partner (TTS + Section 475) but you need to do real work to qualify
The trader who plans for this silent partner — sets aside cash, harvests losses correctly, watches wash sales — keeps more of their profit. The trader who ignores tax until April loses 5-15% of their net P&L to avoidable inefficiency.
Practical Takeaways
-
Set aside ~30% of every winner for taxes. Federal + NC state can hit 25-37% combined depending on bracket.
-
You're an investor by default. Active swing trading doesn't qualify for Trader Tax Status. Don't claim it without consulting a CPA.
-
Wash sale rule is your biggest practical problem. Avoid re-entering losing tickers within 30 days, especially across year-end.
-
Don't form an LLC at $9K account size. It costs money and provides no benefits you can't get otherwise.
-
Don't elect Section 475 without TTS qualification. It's irrevocable and you have to qualify first.
-
NC flat income tax is 3.99% in 2026 — add this to federal in your tax planning.
-
Track every trade all year. Your future self in March will thank you. Automate per Chapter B.3.
-
Use TurboTax Premier (or similar) + Robinhood 1099-B for now. Upgrade to GainsKeeper / a CPA when you exceed 500 trades/year or trade across multiple accounts.
-
Increase W-2 withholding instead of paying quarterlies if possible. Simpler, treats payments as evenly distributed.
-
Consult a trader-CPA before major moves. TTS election, Section 475, LLC formation, multi-account strategies — these are not DIY decisions.
-
Section 1256 contracts (broad index options, futures) get 60/40 treatment. Useful to know if you ever expand beyond stocks.
-
Tax-loss harvest in December — but watch wash sale rules religiously.
Quick Self-Check
- I understand short-term cap gains are taxed as ordinary income, same as W-2 salary
- I know the wash sale rule (30 days before and after, 61-day window total)
- I know wash sales apply across all my accounts, including IRA
- I understand TTS requires substantial activity (4+ trades/day, 75%+ trading days) and I don't currently qualify
- I understand Section 475 is irrevocable and requires TTS first
- I know an LLC is overkill for my $9K account
- I will set aside ~30% of trading profits for taxes throughout the year
- I will track every trade all year, not scramble in March
- I know NC flat income tax is 3.99% for 2026
- I will consult a trader-CPA before any major tax election
🎉 You've Completed the Bonus Layer
You now have:
- ✓ B.1: Swing Trading Specifics — The three core setups, account size realities, day job constraints
- ✓ B.2: Building Your Own System — Written rules, when to modify (rarely), system version control
- ✓ B.3: Automation — Tech stack, scanners, alerts, semi-automated workflow, kill switches
- ✓ B.4: Tax and Legal — Wash sales, TTS, Section 475, LLC realities, year-round record keeping
🎓 You've Completed the Entire Curriculum
Across 5 layers + bonus, you've covered:
- Layer 1: Market Plumbing — what you're buying, order book, order types, participants, exchanges, market hours, fees, regulations, brokers, account types, settlement
- Layer 2: Chart Literacy — candlesticks, patterns, support/resistance, trendlines, volume, moving averages, multi-timeframe analysis, chart types, time vs tick, common visual fallacies
- Layer 3: Technical Indicators — RSI, MACD, Bollinger Bands, ATR, volume indicators, divergence and confluence
- Layer 4: Market Structure & Context — market regimes, sector rotation, breadth, VIX, intermarket relationships, macro, earnings cycles, options flow, news, narrative cycles
- Layer 5: The Meta Game — expected value, risk of ruin, position sizing, variance, backtesting, stop losses, trade management, psychology, routines, journaling, survival rules
- Bonus: Swing trading specifics, system building, automation, tax/legal
This is the curriculum. What's left is the work itself.
What Now?
You have ~200 concepts checkboxed across 52 chapters. The knowledge is necessary but not sufficient. The next phase is execution:
-
Paper trade for 50-100 trades. No real money. Practice your system. Build the journal habit. Learn what you actually feel during drawdowns.
-
Then go live at 1/4 size. Real money, real fear, real lessons — but small stakes. Trade the same system you paper-tested.
-
After 100 live trades, evaluate honestly. Is your expectancy positive? Are you following your rules? Are you journaling? If yes to all three, scale up gradually.
-
Build the scanner + journal automation (Chapter B.3) in parallel — but only as it serves trading, not as a substitute for trading.
-
Stay alive. A trader who survives 5 years and breaks even has out-performed 90% of people who tried. A trader who survives and makes 10-20% annually is doing remarkable work.
The market will be here next year, next decade, next century. Your account will not be here if you blow it up. Survival first. Profits second. Edge eventually.
Good luck, Maverick. Now go put in the reps.
Previous: B.3 Automation Next: This is the final chapter. Return to the README or Table of Contents.