固定风险仓位管理

Calculate position size from account balance, risk percentage, entry price, and stop loss distance.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/phpmac/trader --skill -phpmac
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: 固定风险仓位管理
Source: https://github.com/phpmac/trader/tree/main/.claude/skills/%E5%9B%BA%E5%AE%9A%E9%A3%8E%E9%99%A9%E4%BB%93%E4%BD%8D%E7%AE%A1%E7%90%86
Command: npx skills add https://github.com/phpmac/trader --skill -phpmac

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

交易中常见的问题是没有固定的风险边界,容易造成单笔亏损过大与情绪化下单。本技能提供固定风险金额的仓位管理方法,通过将风险金额与止损距离换算,自动调整仓位规模,使每笔交易的最大亏损保持在可控范围内。

Core Features & Use Cases

  • 固定R值概念:将账户资金乘以风险比例得到每笔交易的风险额,并据此计算仓位。
  • 自动调整:止损近时放大仓位,止损远时缩小仓位,提升风险回报效率。
  • 实战场景:适用于趋势跟随、反转入场等多场景的固定风险仓位管理。

Quick Start

在进入交易前输入账户资金、风险比例、入场价格和止损价格,系统将输出推荐的初始仓位和R值。

Frequently Asked Questions about 固定风险仓位管理

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate position size based on a fixed risk per trade?▼

Calculate fixed risk per trade by multiplying your account balance by a set risk percentage. This risk amount is then divided by the stop loss distance to determine the appropriate position size, ensuring each trade's maximum loss remains strictly controlled.

What is fixed risk position sizing and how does it protect trading capital?▼

Fixed risk position sizing is a capital protection method that defines a strict monetary risk limit per trade. By calculating position size from your account balance and risk percentage, it prevents single-trade losses from exceeding your predetermined risk boundary.

Does position sizing automatically adjust when the stop loss distance changes?▼

Yes, position sizing automatically adjusts to stop loss distance variations. A closer stop loss results in a larger position size, while a wider stop loss reduces the position size, maintaining a consistent fixed risk amount across different breakout or pullback entries.

What inputs do I need to calculate fixed risk position size for a trend reversal?▼

To calculate fixed risk position size for a trend reversal, you need to input your total account balance, the risk percentage per trade, the intended entry price, and the stop loss price. The system then outputs the recommended position size and R value.

Why should I use fixed risk position sizing instead of trading with static lot sizes?▼

Using fixed risk position sizing standardizes your maximum loss amount per trade, unlike static lot sizes. It dynamically scales your position based on stop loss distance, preventing oversized losses from volatile breakouts and improving overall risk-reward efficiency.

Can I apply fixed risk position sizing across different trading strategies like pullbacks and breakouts?▼

Yes, you can apply fixed risk position sizing across breakout entries, pullbacks, and trend reversals. The calculation adapts the position size dynamically based on the specific entry price and stop loss distance for each individual trading scenario.