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 个工具