Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:48:58 +08:00
commit df092d8cd2
127 changed files with 62057 additions and 0 deletions

View File

@@ -0,0 +1,585 @@
# Risk Management for Traders
The single most important factor determining trading success.
---
## Why Risk Management Matters
**The brutal truth:**
- 90% of traders lose money
- Most blow up their accounts
- #1 reason: Poor risk management
**What separates winners from losers:**
- NOT better analysis
- NOT better indicators
- NOT market prediction
- **Risk management and discipline**
**Your job as a trader:**
- Protect capital FIRST
- Make money SECOND
---
## The 1% Rule
**Never risk more than 1% of account on single trade**
### Why 1%?
**Survival math:**
- 10 losses in a row = -10% drawdown
- 20 losses in a row = -20% drawdown
- Still in the game
**Compare to 5% risk:**
- 10 losses in a row = -50% drawdown
- Need 100% return just to break even
- Likely game over
### How to Calculate
```
Risk Amount = Account Size × 0.01
Example:
$50,000 account × 1% = $500 max risk per trade
```
### Position Sizing with 1% Rule
```
Shares = Risk Amount / (Entry - Stop)
Example:
- Account: $50,000
- Risk: $500 (1%)
- Entry: $100
- Stop: $98
- Risk per share: $2
- Position: $500 / $2 = 250 shares
```
**Key insight:** Position SIZE changes, but RISK stays constant
---
## Daily Loss Limits
**Hard stop when you hit daily loss limit**
### Recommended Limits
| Trader Type | Daily Loss Limit |
|-------------|------------------|
| Conservative | -1% |
| Moderate | -2% |
| Aggressive | -3% |
### Why Daily Limits Matter
**Prevents:**
- Revenge trading
- Emotional spirals
- Blowup days
- Tilt-induced disasters
**Example:**
- $50,000 account
- 2% daily limit = -$1,000
- Hit limit → DONE for the day
- No exceptions
### What to Do When Hit
1. Close ALL positions
2. Step away from computer
3. Physical activity (walk/exercise)
4. Review trades later (not now)
5. Resume next day with clear head
**Remember:** There's always tomorrow
---
## Maximum Drawdown
**Stop trading at X% drawdown from peak**
### Recommended Limits
- Conservative: 10%
- Moderate: 15%
- Aggressive: 20%
### When Hit
1. **STOP trading immediately**
2. Take minimum 1 week break
3. Full trade review
4. Identify systematic issues
5. Paper trade only
6. Return with reduced size
### Why This Matters
**Psychology of drawdown:**
- -10% requires +11% to recover
- -20% requires +25% to recover
- -50% requires +100% to recover
**Each % down becomes harder to recover**
---
## Risk:Reward Ratios
**Only take trades with favorable R:R**
### Minimum Standards
**Conservative:** 3:1
**Moderate:** 2:1
**Aggressive:** 1.5:1
### The Math
With 2:1 R:R, you can be profitable at 40% win rate:
```
10 trades:
- 4 wins × 2R = +8R
- 6 losses × 1R = -6R
- Net: +2R profit
```
### How to Calculate
```
R = Risk (Entry - Stop)
Reward = Target - Entry
R:R = Reward / Risk
Example:
- Entry: $100
- Stop: $98 (Risk = $2)
- Target: $106 (Reward = $6)
- R:R = $6 / $2 = 3:1 ✓
```
**Rule:** If R:R < your minimum → SKIP THE TRADE
---
## Position Sizing Methods
### 1. Fixed Dollar Risk (Recommended)
**Same dollar risk every trade**
```
Shares = Risk $ / (Entry - Stop)
```
**Pros:**
- Simple and consistent
- Easy to track
- Protects capital
**Cons:**
- Doesn't scale with wins/losses
---
### 2. Fixed Percentage Risk
**Same % risk every trade**
```
Shares = (Account × Risk %) / (Entry - Stop)
```
**Pros:**
- Scales with account
- Compounds wins
- Simple
**Cons:**
- Also compounds losses
---
### 3. Volatility-Based (ATR)
**Position size based on volatility**
```
Risk $ / (ATR × Multiplier)
```
**Pros:**
- Adapts to market conditions
- Prevents whipsaw
**Cons:**
- More complex
- Requires calculation
---
### 4. Kelly Criterion (Advanced)
**Optimal position sizing based on edge**
```
Kelly % = (Win Rate × Avg Win - Loss Rate × Avg Loss) / Avg Win
```
**WARNING:**
- Can be very aggressive
- Use fractional Kelly (1/4 or 1/2)
- Only for experienced traders
- Requires accurate statistics
---
## Stop-Loss Strategies
### Never Trade Without Stops
**Why stops are mandatory:**
- Limits losses
- Removes emotion
- Protects from disasters
- Enables risk calculation
**No exceptions. Ever.**
### Stop-Loss Methods
**1. Fixed Percentage**
- X% below entry
- Simple and clear
- Example: 2% below entry
**2. Technical Level**
- Below support
- Below swing low
- Makes logical sense
**3. ATR-Based**
- 1.5-2× Average True Range
- Adapts to volatility
- Prevents whipsaw
**4. Time Stop**
- Exit if no progress in X days
- Frees capital
- Cuts losers
### Stop-Loss Rules
**✓ DO:**
- Set stop BEFORE entry
- Use actual stop orders (not mental)
- Place stops at logical levels
- Honor stops always
**✗ NEVER:**
- Move stop further from entry
- Remove stop "just this once"
- Use mental stops
- Hope price comes back
---
## Position Concentration
**Don't put all eggs in one basket**
### Maximum Position Limits
**Single position:**
- Conservative: 10% of account
- Moderate: 20% of account
- Aggressive: 30% of account
**Sector exposure:**
- Maximum 30-40% in single sector
- Diversify across sectors
- Correlation matters
**Total exposure:**
- Day trading: 100% (close daily)
- Swing trading: 60-80%
- Position trading: Varies
### Why Concentration Matters
**Example:**
- 50% in one position
- Stock drops 20%
- Account drops 10%
- Hard to recover
**Better:**
- 10% in one position
- Stock drops 20%
- Account drops 2%
- Manageable
---
## Correlation Risk
**Avoid correlated positions**
### Understanding Correlation
**High correlation example:**
- Long tech stock A
- Long tech stock B
- Both move together
- Double exposure to tech risk
**Better diversification:**
- Different sectors
- Different market caps
- Different strategies
- True diversification
---
## Leverage and Margin
**Leverage amplifies BOTH gains and losses**
### Margin Risk
**2:1 Margin:**
- 50% loss = margin call
- Forced liquidation
- Game over
**Recommended:**
- Use margin sparingly
- Never max out margin
- Maintain buffer
- Understand margin requirements
### Options Leverage
**Options can expire worthless**
- 100% loss possible
- Time decay (theta)
- Volatility risk (vega)
- Requires different risk management
**Options risk limit:**
- Max 5-10% of account in options
- Treat each option as high risk
- Never bet the farm
---
## Risk Management Checklist
**Before EVERY trade:**
- [ ] Position size calculated
- [ ] Risk ≤ 1% (or your limit)
- [ ] Stop-loss identified
- [ ] R:R ≥ 2:1 (or your minimum)
- [ ] Within daily loss limit
- [ ] Not overexposed to sector
- [ ] Account for correlation
- [ ] Emotionally prepared to take loss
**If ANY unchecked → DON'T TAKE TRADE**
---
## Account Preservation
**Capital preservation rules:**
1. **Never go all-in**
- Keep reserves
- Opportunities come again
2. **Accept losses quickly**
- Small losses are OK
- Don't let small become big
3. **Don't average down**
- Adding to losers doubles risk
- Compounds mistakes
4. **Take breaks after losses**
- Prevent revenge trading
- Clear your head
5. **Reduce size in drawdown**
- Trade smaller when losing
- Build confidence back
---
## Common Risk Management Mistakes
### ❌ Fatal Errors
**1. No stop-loss**
Result: One trade wipes account
**2. Risk too much per trade**
Result: Few losses = blown account
**3. Moving stops**
Result: Invalidates risk management
**4. Revenge trading**
Result: Emotional decisions, bigger losses
**5. Averaging down**
Result: Doubling down on mistakes
**6. Over-leveraging**
Result: Margin call, forced exit
**7. Ignoring correlation**
Result: Concentrated risk in disguise
### ✓ Best Practices
**1. Consistent position sizing**
Same risk every trade
**2. Hard daily loss limits**
Stop when hit, no exceptions
**3. Honest stop placement**
Logical levels, not wishes
**4. R:R minimum**
Quality over quantity
**5. Diversification**
Don't concentrate risk
**6. Regular reviews**
Track and improve
---
## Risk vs Reward Balance
**High Probability vs High R:R**
### High Win Rate (60-70%)
- Smaller R:R (1.5:1)
- More trades
- Steady equity curve
- Example: Mean reversion
### High R:R (3:1+)
- Lower win rate (30-40%)
- Fewer trades
- Volatile equity curve
- Example: Trend following
**Both can be profitable if managed correctly**
---
## Position Sizing Examples
### Example 1: Moderate Risk
```
Account: $50,000
Risk per trade: 1% = $500
Entry: $50
Stop: $48
Risk per share: $2
Position: $500 / $2 = 250 shares
Position value: $12,500 (25% of account)
Actual risk: $500 (1% of account)
```
### Example 2: Tight Stop
```
Account: $50,000
Risk per trade: 1% = $500
Entry: $100
Stop: $99
Risk per share: $1
Position: $500 / $1 = 500 shares
Position value: $50,000 (100% of account)
Actual risk: $500 (1% of account)
```
**Key:** Position SIZE varies, but RISK stays constant
---
## Emergency Procedures
### When Things Go Wrong
**Circuit breaker triggered:**
1. Stop trading immediately
2. Close positions if possible
3. Assess damage
4. Don't panic trade
**Flash crash:**
1. Don't chase
2. Check your stops
3. Wait for stability
4. Review risk exposure
**Account down big:**
1. STOP trading
2. Take mandatory break
3. Full review
4. Return with smaller size
---
## Risk Management Quotes
**"Rule No. 1: Never lose money. Rule No. 2: Never forget rule No.1"** - Warren Buffett
**"The goal of a successful trader is to make the best trades. Money is secondary."** - Alexander Elder
**"Risk comes from not knowing what you're doing."** - Warren Buffett
**"Don't focus on making money; focus on protecting what you have."** - Paul Tudor Jones
---
## Summary
**Risk management is:**
- Your edge
- Your protection
- Your discipline
- Your success factor
**Remember:**
- Small consistent gains > Home runs
- Protect capital first
- There's always another trade
- Survive to trade tomorrow
**The math is simple:**
- Lose 50% → Need 100% to recover
- Lose 10% → Need 11% to recover
**Trade small, trade smart, trade long-term**

View File

@@ -0,0 +1,660 @@
# Trading Psychology
Master your mind, master the markets.
---
## Why Psychology Matters
**Technical analysis:** 20% of success
**Risk management:** 30% of success
**Psychology:** 50% of success
**The hard truth:**
- You are your own worst enemy
- Emotions destroy accounts
- Discipline beats intelligence
- The market exposes psychological weaknesses
---
## The Emotional Cycle of Trading
### Stage 1: Optimism
- First wins
- "This is easy!"
- Overconfidence building
- Taking bigger positions
### Stage 2: Excitement
- String of wins
- Feeling invincible
- Breaking rules
- Maximum risk
### Stage 3: Thrill
- Biggest position yet
- Ignoring warnings
- "I can't lose"
- Peak overconfidence
### Stage 4: Euphoria
- Top of cycle
- Taking ANY trade
- No risk management
- Disaster imminent
### Stage 5: Anxiety
- First big loss
- "Just bad luck"
- Revenge trading starts
- Doubling down
### Stage 6: Denial
- "Market is wrong"
- Moving stops
- Averaging down
- Refusing to accept loss
### Stage 7: Fear
- Watching losses grow
- Paralyzed
- Can't exit
- Hope replacing strategy
### Stage 8: Desperation
- All-in trades
- Gambling, not trading
- Breaking all rules
- Account in danger
### Stage 9: Panic
- Forced exits
- Margin calls
- Capitulation
- Major loss realized
### Stage 10: Capitulation
- Give up
- "Trading doesn't work"
- Blame external factors
- Quit or start over
### Stage 11: Despondency
- Depression
- Lost confidence
- Consider quitting
- Seeking answers
### Stage 12: Depression
- Lowest point
- Questioning everything
- But...learning begins
### Stage 13: Hope
- Education phase
- Developing plan
- Paper trading
- Slow rebuild
### Stage 14: Relief
- Small wins return
- Following plan
- Confidence building
- Sustainable approach
**Then cycle repeats at smaller scale**
**Goal:** Flatten the cycle through discipline
---
## Common Psychological Traps
### 1. Revenge Trading
**What it is:**
- Trading to "get back" losses
- Emotional, not strategic
- Larger positions
- Breaks all rules
**Why it happens:**
- Ego hurt
- Feel need to "win"
- Loss aversion
- Impatience
**How to avoid:**
- Hard daily loss limits
- Mandatory cool-down periods
- Accept losses as business cost
- Focus on process, not money
---
### 2. FOMO (Fear of Missing Out)
**What it is:**
- Chasing moves without setup
- Entering late
- Ignoring risk
- "Everyone else is making money"
**Why it happens:**
- Social comparison
- Greed
- Impatience
- Scarcity mindset
**How to avoid:**
- Wait for YOUR setup
- Ignore what others are doing
- Abundance mindset (opportunities come again)
- Follow plan strictly
---
### 3. Overconfidence
**What it is:**
- Taking outsized risk after wins
- Ignoring risk management
- "I can't lose"
- Breaking rules
**Why it happens:**
- Recent wins
- Confirmation bias
- Ego
- Misunderstanding edge
**How to avoid:**
- Fixed position sizing always
- Review losers, not just winners
- Remember: market is humbling
- Track compliance, not just P&L
---
### 4. Analysis Paralysis
**What it is:**
- Over-analyzing
- Can't pull trigger
- Waiting for "perfect" setup
- Missing trades
**Why it happens:**
- Fear of being wrong
- Perfectionism
- Too many indicators
- No clear plan
**How to avoid:**
- Simple setup criteria
- Binary decision framework
- Accept imperfect trades
- Losses are part of game
---
### 5. Loss Aversion
**What it is:**
- Refusing to take small loss
- Moving stops
- Hoping for recovery
- Small loss becomes big
**Why it happens:**
- Pain of being wrong
- Sunk cost fallacy
- Ego protection
- Loss hurts more than gain feels good
**How to avoid:**
- Stops are non-negotiable
- View losses as business expense
- Protect capital first
- Smaller losses = stay in game
---
### 6. Confirmation Bias
**What it is:**
- Seeking info that confirms view
- Ignoring contrary evidence
- Refusing to exit losing trade
- Doubling down on mistakes
**Why it happens:**
- Need to be right
- Selective perception
- Ego protection
- Prior commitment
**How to avoid:**
- Actively seek contrary evidence
- Play devil's advocate
- Follow price action, not opinion
- Be wrong quickly
---
## Discipline Framework
### Pre-Trade
**Checklist before EVERY trade:**
- [ ] Meets setup criteria?
- [ ] R:R acceptable?
- [ ] Position size calculated?
- [ ] Stop-loss identified?
- [ ] Within daily risk limit?
- [ ] Calm and focused?
- [ ] Following plan?
**If ANY "no" → Don't trade**
### During Trade
**Rules while in position:**
- Check portfolio 2-3x max per day
- Don't watch every tick
- Trust your stop
- Don't interfere unless rule-based
- Avoid social media/chat
### Post-Trade
**After every trade:**
- Log trade in journal
- Note what went right/wrong
- Capture lessons
- Review compliance
- Don't dwell on outcome
---
## Emotional State Management
### Pre-Market Routine
**Daily checklist (15-30 min):**
- [ ] Adequate sleep (7+ hours)?
- [ ] Hydrated and fed?
- [ ] Calm and centered?
- [ ] No major life stress?
- [ ] Ready to accept losses?
- [ ] Following plan today?
**If feeling off → Reduce size or skip day**
### Recognizing Tilt
**Warning signs:**
- Increasing position size
- Abandoning stops
- Taking marginal setups
- Checking P&L constantly
- Feeling anxious/desperate
- Anger at market
- Rushing into trades
**When tilting:**
1. STOP immediately
2. Close positions
3. Walk away
4. Physical reset (exercise)
5. Don't resume until calm
### Cool-Down Periods
**After any loss:**
- Minimum 15-30 minutes
- Walk, breathe, reset
- Review trade objectively
- Return only when calm
**After 2 consecutive losses:**
- 1 hour minimum
- Full review of both trades
- Confirm plan compliance
- Reduce size if continuing
**After 3 consecutive losses:**
- DONE for the day
- Full day review tomorrow
- Don't force it
- Tomorrow is new day
---
## Mindset Shifts
### From Outcome to Process
**Wrong focus:**
- "I need to make $X today"
- "I need to win this trade"
- "I can't afford to lose"
**Right focus:**
- "Did I follow my plan?"
- "Was my risk management correct?"
- "What can I learn?"
### From Prediction to Probabilities
**Wrong thinking:**
- "This trade WILL work"
- "I know what market will do"
- "I can't be wrong"
**Right thinking:**
- "This has good probability"
- "I don't know, but R:R is good"
- "I can be wrong and still profitable"
### From Money to Process
**Wrong focus:**
- Daily P&L
- "How much did I make?"
- Comparing to others
**Right focus:**
- Plan compliance
- "Did I execute well?"
- Personal improvement
---
## Handling Losses
### Accept Losses as Business Cost
**Truth:**
- Losses are inevitable
- Even 70% win rate = 30% losses
- Losses are data, not failure
- Cost of doing business
**Mindset:**
- "This is expected"
- "I planned for this"
- "On to next trade"
- No emotion
### Learn from Every Loss
**After each loss ask:**
- Did I follow my plan?
- Was setup valid?
- Was risk management correct?
- What can I improve?
**Categories of losses:**
1. **Good loss:** Followed plan, just didn't work
2. **Bad loss:** Broke rules
3. **Learning loss:** New insight gained
**Good losses are OK. Learn from bad ones.**
---
## Handling Wins
### Don't Get Overconfident
**After big win:**
- Resist urge to increase size
- Follow plan as always
- One win doesn't mean edge
- Stay humble
### Avoid Euphoria
**Warning signs:**
- Feeling invincible
- "I figured it out"
- Itching to trade more
- Looking for any setup
**Remedy:**
- Stick to plan
- Take break if needed
- Remember: regression to mean
- Past performance ≠ future
---
## Daily Practices
### Morning
**Before market open:**
- Review plan
- Check emotional state
- Set intentions
- Prepare workspace
- Identify setups
- Set risk limits
### During Session
**While trading:**
- Follow checklist
- One trade at a time
- Take breaks
- Stay hydrated
- Avoid news during trades
- Trust process
### Evening
**After market close:**
- Journal all trades
- Calculate P&L
- Review compliance
- Note lessons
- Prepare for tomorrow
- Disconnect from markets
---
## Accountability Systems
### Trade Journal
**Required entries:**
- Setup and reasoning
- Emotional state
- Rule compliance
- Mistakes made
- Lessons learned
### Performance Review
**Weekly:**
- Win rate
- Avg win/loss
- Compliance %
- Emotional patterns
- Improvement areas
**Monthly:**
- Full performance analysis
- Goal progress
- Strategy refinement
- Psychological assessment
### External Accountability
**Consider:**
- Trading buddy
- Mentor
- Trading journal app
- Community (carefully)
---
## Meditation & Mindfulness
### Why It Helps
**Benefits for traders:**
- Emotional regulation
- Impulse control
- Focus and clarity
- Stress reduction
- Better decisions
### Simple Practice
**Daily meditation (10 min):**
1. Sit comfortably
2. Focus on breath
3. Notice thoughts
4. Return to breath
5. No judgment
**Before trading:**
- 5 minutes breathing
- Center yourself
- Set intention
- Begin calm
---
## Physical Health
### Sleep
**Critical for trading:**
- 7-9 hours minimum
- Consistent schedule
- No trading if tired
- Sleep > trading
### Exercise
**Benefits:**
- Stress management
- Mental clarity
- Emotional regulation
- Energy levels
**Recommendation:**
- 30 min daily minimum
- Before or after trading
- Not during market hours
### Nutrition
**Avoid:**
- Excessive caffeine
- Sugar spikes
- Trading hungry
**Prefer:**
- Balanced meals
- Steady energy
- Hydration
---
## Dealing with Drawdowns
### Normal Part of Trading
**Reality:**
- All traders have drawdowns
- Expect them
- Plan for them
- Survive them
### During Drawdown
**Actions:**
1. Review all trades
2. Verify plan compliance
3. Reduce position size
4. Take break if needed
5. Focus on process
6. Trust recovery
**Don't:**
- Increase size to "get back"
- Abandon plan
- Change strategy mid-stream
- Panic
---
## Quotes for Mindset
**"The goal of a successful trader is to make the best trades. Money is secondary."** - Alexander Elder
**"In trading, the impossible happens about twice a year."** - Henri M. Simoes
**"The market is a device for transferring money from the impatient to the patient."** - Warren Buffett
**"The most important quality for an investor is temperament, not intellect."** - Warren Buffett
**"Rule No. 1: Never lose money. Rule No. 2: Don't forget rule No. 1."** - Warren Buffett
**"It's not whether you're right or wrong, but how much money you make when you're right and how much you lose when you're wrong."** - George Soros
---
## Psychological Checklist
**Before trading session:**
- [ ] Adequate sleep
- [ ] Calm and focused
- [ ] No major stress
- [ ] Following plan
- [ ] Prepared to lose
- [ ] No revenge mindset
**During trading:**
- [ ] Checking P&L minimally
- [ ] Following checklist
- [ ] Taking breaks
- [ ] Trusting stops
- [ ] No tilt signs
**After trading:**
- [ ] Journaled all trades
- [ ] Reviewed objectively
- [ ] Noted lessons
- [ ] Disconnected
- [ ] Ready for tomorrow
---
## Summary
**Trading psychology is:**
- 50% of success
- Controllable
- Improvable
- Critical
**Master these:**
- Emotional control
- Discipline
- Process focus
- Loss acceptance
- Patience
**Remember:**
- Markets are uncertain
- Outcomes are random
- Process is controllable
- Discipline wins long-term
**Your edge isn't prediction. It's consistency.**