Position Risk Manager for Openclaw

A professional-grade risk management engine for stock portfolios, focusing on position sizing and exit strategies rather than stock selection.

georgetao730
v1.3.0
Mar 21, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install position-risk-manager

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install position-risk-manager using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Position Risk Manager?

The Position Risk Manager is a specialized tool within the Openclaw Skills ecosystem designed for investors who already hold positions and need clinical, rational guidance on when to exit, trim, or rebalance. It moves beyond simple stock picking by focusing on the most critical aspect of trading: position management. By utilizing four core scientific models, this skill helps users maximize profits during uptrends and minimize drawdowns during volatility.

The skill acts as a rational partner to overcome human emotions like greed and fear. Whether you are dealing with a massive unrealized profit or a deep loss, the Position Risk Manager provides actionable, data-driven advice. It integrates seamlessly with existing workflows to provide precise buy/sell suggestions and psychological coaching to maintain trading discipline.

Position Risk Manager Use Cases

  • Managing large unrealized gains to lock in profits without exiting too early.
  • Handling deep losses with rational stop-loss or recovery strategies.
  • Rebalancing portfolios where a single stock has grown to represent an unsafe percentage of total capital.
  • Implementing Core-Satellite strategies to lower cost basis through swing trading while holding long-term positions.

How Position Risk Manager Works

  1. Status Diagnosis: The skill calculates profit/loss ratios and assesses current position size relative to the total portfolio.
  2. Trend Assessment: It evaluates the market context, identifying phases such as bottom reversals, main uptrends, high-level oscillations, or breakdown downtrends.
  3. Strategy Matching: Based on the diagnosis, it selects the optimal model: Trailing Stop, Scaled Take-Profit, Core-Satellite, or Dynamic Rebalancing.
  4. Actionable Planning: The skill generates a precise report including specific price targets, sell percentages, and defensive support levels.

Position Risk Manager Setup

To get started with this component of Openclaw Skills, ensure you have the necessary environment and scripts ready:

# Navigate to your local Openclaw Skills repository
cd openclaw-skills/position-risk-manager

# Run the position calculator to analyze a current holding
python3 scripts/position_calculator.py --cost 30 --current 42 --position 50

Position Risk Manager Data Schema & Taxonomy

The skill organizes its logic and reference data through a structured file system within Openclaw Skills:

Directory Description
scripts/ Python utilities for calculating trailing stops (trailing_stop.py), scaled exits (scaled_exit.py), and general position metrics.
references/ Technical guides on risk rules, trading psychology, and exit patterns.
logs/ (Optional) Historical logs of generated diagnosis reports.

Metadata Taxonomy: Positions are classified as High Profit (>20%), Slight Profit (0-10%), Slight Loss (-5-0%), or Deeply Trapped (<-15%).

Position Risk Manager Advanced Features

  • Multi-Model Integration: Combines Trailing Stops with Scaled Take-Profit for complex exit scenarios.
  • Dynamic Portfolio Rebalancing: Automatically triggers alerts when a single position exceeds a 30-40% threshold of total capital.
  • Psychological Coaching: Includes a specialized module for trading psychology to help users adhere to their stop-loss discipline.
  • Automated CLI Analysis: Rapidly processes stock data via command-line arguments for quick decision-making.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*