Catalog/trade-risk-reward

Calculators

Risk/reward ratio API

Risk/reward ratio R:R = |target − entry| / |entry − stop|, plus the minimum breakeven win-rate = 1/(1+R:R). Deterministic trade-quality math. Answers 'what's my risk reward','is this a 3 to 1 trade','what win rate do I need to break even at this R:R'.

Price$0.01per request
MethodPOST
Route/v1/calc/trade-risk-reward
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calctradingrisk-rewardratiobreakevenstop-losstake-profitmoney-management
API URLhttps://x402.hexl.dev/v1/calc/trade-risk-reward
Integration docs
Example request
{
  "entry": 100,
  "stop": 95,
  "target": 115
}
Example response
{
  "entry": 100,
  "stop": 95,
  "target": 115,
  "direction": "long",
  "risk": 5,
  "reward": 15,
  "riskRewardRatio": 3,
  "breakevenWinRatePct": 25,
  "rating": "excellent",
  "formula": "R:R = |target − entry| / |entry − stop|"
}
Input schema
{
  "type": "object",
  "required": [
    "entry",
    "stop",
    "target"
  ],
  "properties": {
    "entry": {
      "type": "number",
      "examples": [
        100
      ]
    },
    "stop": {
      "type": "number",
      "examples": [
        95
      ]
    },
    "target": {
      "type": "number",
      "examples": [
        115
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}