RiskReward Trading Calculators

Free fee-aware position sizing, net risk/reward and trade performance. Read-only, no API key.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
100%
命名品質
100%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~2,221Token(工具定義)
~7.7 KB典型回應大小
中等的注意力影響(128k 上下文的 1.74%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "calculators": {
      "url": "https://riskreward.pro/mcp"
    }
  }
}

遠端端點

https://riskreward.pro/mcpstreamable-http

它能做什麼

工具清單

工具(3)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢calculate_position_size(instrumentType, quoteCurrency, entryPrice, stopPrice, fees, ...)

Calculate position quantity and notional for a linear crypto futures trade from user-specified account balance, risk percentage, entry and stop. Includes separate entry/stop fees and optional target profit and net R. Direction is derived. Use when asked how much to buy or sell for a specified risk budget. Ask for missing prices or risk preference; do not invent them. Does not calculate liquidation, leverage, inverse contracts, exchange lot rounding, signals, or execute orders.

輸入結構描述

{
  "type": "object",
  "properties": {
    "instrumentType": {
      "description": "Linear quote-margined instruments only. Inverse contracts and liquidation are unsupported.",
      "type": "string",
      "const": "linear"
    },
    "quoteCurrency": {
      "description": "Currency shared by all monetary inputs. Defaults to USD; no currency conversion is performed.",
      "type": "string",
      "pattern": "^[A-Z][A-Z0-9]{1,9}$"
    },
    "entryPrice": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000000,
      "description": "Planned entry price in quote currency per base unit."
    },
    "stopPrice": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000000,
      "description": "Planned stop price. Direction is derived from entry and stop."
    },
    "fees": {
      "description": "User-supplied rates. Omission explicitly assumes zero fees; no exchange rate lookup is performed.",
      "type": "object",
      "properties": {
        "entryPercent": {
          "type": "number",
          "minimum": 0,
          "exclusiveMaximum": 100,
          "description": "Entry fee percent, e.g. 0.05 means 0.05%, not 5%."
        },
        "stopPercent": {
          "type": "number",
          "minimum": 0,
          "exclusiveMaximum": 100,
          "description": "Stop exit fee percent, e.g. 0.05."
        },
        "targetPercent": {
          "description": "Target exit fee percent; defaults to stopPercent.",
          "type": "number",
          "minimum": 0,
          "exclusiveMaximum": 100
        }
      },
      "required": [
        "entryPercent",
        "stopPercent"
      ],
      "additionalProperties": false
    },
    "accountBalance": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000000,
      "description": "Account balance in the same quote currency as prices."
    },
    "riskPercent": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 100,
      "description": "User-chosen account risk percentage, e.g. 1 means 1%. Never infer a risk preference."
    },
    "targetPrice": {
      "description": "Optional profit target, opposite the stop relative to entry.",
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000000
    }
  },
  "required": [
    "entryPrice",
    "stopPrice",
    "accountBalance",
    "riskPercent"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "tool": {
      "type": "string",
      "enum": [
        "calculate_position_size",
        "calculate_net_risk_reward",
        "analyze_trade_performance"
      ]
    },
    "calculationVersion": {
      "type": "string",
      "const": "1.0.0"
    },
    "inputs": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "metrics": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "value": {
            "type": [
              "number",
              "null"
            ]
          },
          "unit": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "unit",
          "label"
        ],
        "additionalProperties": false
      }
    },
    "assumptions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "formulas": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "documentationUrl": {
      "type": "string",
      "format": "uri"
    },
    "reproduceUrl": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "tool",
    "calculationVersion",
    "inputs",
    "metrics",
    "assumptions",
    "warnings",
    "formulas",
    "documentationUrl",
    "reproduceUrl"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢calculate_net_risk_reward(instrumentType, quoteCurrency, entryPrice, stopPrice, fees, ...)

Compare gross and fee-adjusted reward-to-risk, loss and profit per unit, and breakeven win rate for a linear trade with known entry, stop and target. Accepts distinct entry/stop/target fee percentages. Use for questions about a planned R ratio or how fees change it. Direction is derived from entry and stop. Does not fetch venue fees or predict execution, liquidation, or trade outcomes.

輸入結構描述

{
  "type": "object",
  "properties": {
    "instrumentType": {
      "description": "Linear quote-margined instruments only. Inverse contracts and liquidation are unsupported.",
      "type": "string",
      "const": "linear"
    },
    "quoteCurrency": {
      "description": "Currency shared by all monetary inputs. Defaults to USD; no currency conversion is performed.",
      "type": "string",
      "pattern": "^[A-Z][A-Z0-9]{1,9}$"
    },
    "entryPrice": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000000,
      "description": "Planned entry price in quote currency per base unit."
    },
    "stopPrice": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000000,
      "description": "Planned stop price. Direction is derived from entry and stop."
    },
    "fees": {
      "description": "User-supplied rates. Omission explicitly assumes zero fees; no exchange rate lookup is performed.",
      "type": "object",
      "properties": {
        "entryPercent": {
          "type": "number",
          "minimum": 0,
          "exclusiveMaximum": 100,
          "description": "Entry fee percent, e.g. 0.05 means 0.05%, not 5%."
        },
        "stopPercent": {
          "type": "number",
          "minimum": 0,
          "exclusiveMaximum": 100,
          "description": "Stop exit fee percent, e.g. 0.05."
        },
        "targetPercent": {
          "description": "Target exit fee percent; defaults to stopPercent.",
          "type": "number",
          "minimum": 0,
          "exclusiveMaximum": 100
        }
      },
      "required": [
        "entryPercent",
        "stopPercent"
      ],
      "additionalProperties": false
    },
    "targetPrice": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000000,
      "description": "Profit target price, opposite the stop relative to entry."
    }
  },
  "required": [
    "entryPrice",
    "stopPrice",
    "targetPrice"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "tool": {
      "type": "string",
      "enum": [
        "calculate_position_size",
        "calculate_net_risk_reward",
        "analyze_trade_performance"
      ]
    },
    "calculationVersion": {
      "type": "string",
      "const": "1.0.0"
    },
    "inputs": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "metrics": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "value": {
            "type": [
              "number",
              "null"
            ]
          },
          "unit": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "unit",
          "label"
        ],
        "additionalProperties": false
      }
    },
    "assumptions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "formulas": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "documentationUrl": {
      "type": "string",
      "format": "uri"
    },
    "reproduceUrl": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "tool",
    "calculationVersion",
    "inputs",
    "metrics",
    "assumptions",
    "warnings",
    "formulas",
    "documentationUrl",
    "reproduceUrl"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢analyze_trade_performance(quoteCurrency, initialEquity, trades)

Analyze up to 500 chronological closed trades supplied by the user, each with net P&L after costs and original risk. Returns win rate, profit factor, expectancy in currency and R, total net R, and optional closed-trade equity drawdown when initial equity is supplied. Use for reviewing an existing trade sample. No account access, deposits, intratrade drawdown, forecasts, signals, or new risk recommendations.

輸入結構描述

{
  "type": "object",
  "properties": {
    "quoteCurrency": {
      "description": "Currency shared by all monetary inputs. Defaults to USD; no currency conversion is performed.",
      "type": "string",
      "pattern": "^[A-Z][A-Z0-9]{1,9}$"
    },
    "initialEquity": {
      "description": "Starting equity before the ordered trades. Required only for equity drawdown metrics. No deposits or withdrawals are modeled.",
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000000
    },
    "trades": {
      "minItems": 1,
      "maxItems": 500,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "netPnl": {
            "type": "number",
            "minimum": -1000000000000,
            "maximum": 1000000000000,
            "description": "Realized P&L after all fees and costs. Positive is profit; negative is loss."
          },
          "initialRisk": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000000,
            "description": "Original planned risk amount, including planned fees if that is your convention. Do not replace it with a later stop risk."
          }
        },
        "required": [
          "netPnl",
          "initialRisk"
        ],
        "additionalProperties": false
      },
      "description": "Closed trades ordered chronologically, all using the same currency and risk convention. Maximum 500."
    }
  },
  "required": [
    "trades"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "tool": {
      "type": "string",
      "enum": [
        "calculate_position_size",
        "calculate_net_risk_reward",
        "analyze_trade_performance"
      ]
    },
    "calculationVersion": {
      "type": "string",
      "const": "1.0.0"
    },
    "inputs": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "metrics": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "value": {
            "type": [
              "number",
              "null"
            ]
          },
          "unit": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "value",
          "unit",
          "label"
        ],
        "additionalProperties": false
      }
    },
    "assumptions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "formulas": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "documentationUrl": {
      "type": "string",
      "format": "uri"
    },
    "reproduceUrl": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "tool",
    "calculationVersion",
    "inputs",
    "metrics",
    "assumptions",
    "warnings",
    "formulas",
    "documentationUrl",
    "reproduceUrl"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本3 個工具