agentleFS
ShubhamkumartrichyShubhamkumartrichy/claude-trading-skills-india/skills/risk-reward-ratio/SKILL.md

risk-reward-ratio

Skill64 starsChanged 17 days agoMITView on GitHub

Risk-reward evaluation for Indian trades after real costs: R multiples per target, weighted R for scale-outs, breakeven win rate, expectancy, trade-filter thresholds, and option-specific R:R (theta, IV, premium). risk.py rr computes everything including Indian round-trip charges.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the maths doesn't work after costs, skip the trade.

    line 15
  2. Very specific:

    If the user doesn't know their win rate, assume 40–45% and require at least 2R after costs.

    line 51
  3. Distinctive:

    Stop realism: if the stop is inside daily noise (under 1 ATR), the "great R:R" is an illusion of a tight stop.

    line 67

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Risk-Reward Ratio

If the maths doesn't work after costs, skip the trade. R:R is the cheapest filter there is.

Calculator

python3 ../position-sizing/scripts/risk.py rr --entry 1800 --stop 1700 --target 2100
python3 ../position-sizing/scripts/risk.py rr --entry 1800 --stop 1700 \
    --target 1900:50 --target 2000:30 --target 2200:20 --win-rate 45 --cost-pct 0.25
python3 ../position-sizing/scripts/risk.py rr --entry 450 --stop 470 --target 410 --cost-pct 0.05   # short

Weights after : are the % of the position exited at each target. --cost-pct is the round-trip cost (delivery ≈0.25, intraday ≈0.05, futures ≈0.06, or exact from trading-costs).

Core maths

R per target   = (Target − Entry) ÷ (Entry − Stop)              long; mirror for shorts
R after costs  = (Reward − cost) ÷ (Risk + cost)
Weighted R     = Σ weight × R
Breakeven win% = 1 ÷ (1 + R_after_costs)
Expectancy (R) = W × R_after_costs − (1 − W)

Example: entry ₹1,800, stop ₹1,700, scale out 50/30/20 at ₹1,900/₹2,000/₹2,200 gives a weighted 1.90R. With 0.25% delivery costs it is 1.78R, so the breakeven win rate is 36%. At a 45% win rate, expectancy is +0.25R per trade.

Minimum R by win rate

Win rateBreakeven RRecommended min R (after costs)
30%2.333.0
40%1.502.0
50%1.001.5
60%0.671.0

If the user doesn't know their win rate, assume 40–45% and require at least 2R after costs. risk.py journal measures the real win rate from their trades.

Filter

R after costsDecision
< 1Skip
1 – 1.5Only with a proven >55% win rate
1.5 – 2Acceptable
2 – 3Good (standard swing)
> 3Excellent, but check the target is realistic (below the next major resistance)

Making R honest

  • Target realism: the target must sit at or before the next real resistance (ta.py levels), the Fib extension, or the expected move. A target above three resistance levels is fantasy R.
  • Stop realism: if the stop is inside daily noise (under 1 ATR), the "great R:R" is an illusion of a tight stop.
  • Costs and slippage: small targets in small caps lose a lot to spread and impact.

Options

  • Long options: R:R depends on the move and its timing. Price the target premium with options.py greeks at the target date and IV (IV often falls after events: IV crush). A ₹100 → ₹200 target needs the underlying move before theta eats the premium.
  • Short options: typical credit trades risk 2–4 units to make 1 (R ≈ 0.25–0.5) with a high win rate. Judge them on expectancy and tail loss, not R. options.py payoff gives max profit, max loss, breakevens and probability of profit.

Checklist

  • Specific target(s) at real levels
  • Stop at a technical invalidation point, ≥1 ATR away
  • R ≥ 1.5–2 after costs
  • Position risk ≤ 1–2% of capital
  • Positive expectancy at a realistic win rate

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.