strategy_profit_take_v2

Execute incremental sell orders at predefined gain thresholds for Alpaca paper trading positions.

2|4|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/khoks/ClaudeTrading --skill strategy-profit-take-v2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strategy_profit_take_v2
Source: https://github.com/khoks/ClaudeTrading/tree/main/.claude/skills/strategy_profit_take_v2
Command: npx skills add https://github.com/khoks/ClaudeTrading --skill strategy-profit-take-v2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

Manually timing profit exits for paper trading positions is tedious and error-prone, often leading to missed opportunities to lock in gains as stock prices rise. This skill automates the process, ensuring consistent, rule-based profit-taking without constant market monitoring.

Core Features & Use Cases

  • Rule-Based Partial Exits: Triggers incremental sell orders at predefined absolute gain thresholds (10%, 20%, 35%, 50% by default) from your position's cost basis, scaling out of winning positions gradually to lock in incremental profits.
  • Seamless Strategy Coordination: Works in tandem with the trailing stop strategy to capture gains both during upward momentum and on price reversals, with clear per-action attribution for daily trade reporting.
  • Automatic State Reset: Rebuilds profit thresholds from the new cost basis automatically when additional buys lower your position's average price, avoiding duplicate sells at the same price level.
  • Compliance Guardrails: Enforces the mandatory 2-trading-day cooldown after any partial sell to help users avoid unintended pattern day trader classification. Use Case: For paper traders using the ClaudeTrading system, this skill automatically manages profit-taking for all eligible positions during each scheduled trading tick, removing the need to manually track gain levels and place sell orders.

Quick Start

Use the strategy_profit_take_v2 skill to automatically execute partial profit-taking sell orders for all eligible positions in your current sellable set during the next scheduled trading tick.

Frequently Asked Questions about strategy_profit_take_v2

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

FAQPage Schema
How do I automate partial profit exits in Alpaca paper trading?

Yes, you can scale out of winning positions automatically by setting absolute gain thresholds. The skill triggers incremental sell orders at predefined percentage gains, such as 10%, 20%, 35%, and 50%, from the position's cost basis to lock in incremental profits.

What is the best way to avoid pattern day trader status with automated profit taking?

The best way to avoid pattern day trader status with automated profit taking is enforcing a mandatory 2-trading-day cooldown after any partial sell. This skill enforces these compliance guardrails automatically to prevent unintended PDT classification.

How does a trailing stop strategy work with partial profit exits?

A trailing stop strategy coordinates with partial profit exits by capturing gains during upward momentum and managing reversal risk. This skill provides clear per-action attribution for daily trade reporting alongside the trailing stop logic.

Does this automated profit taking tool reset thresholds after averaging down?

Yes, the automated profit taking tool rebuilds profit thresholds from the new cost basis automatically when additional buys lower your position's average price. This avoids duplicate sells at the same price level.

Do I need jq to run automated paper trading sell orders?

Yes, you need jq installed to run automated paper trading sell orders. The skill relies on jq as a dependency to parse position data and execute incremental sell orders during scheduled trading ticks.