cost-density-net-rr-calculator

Community

Quantify cost-density impact on risk-reward.

Authorfatfingererr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

這個技能將固定成本與點差整合為成本密度指標,量化成本對於風險報酬的影響,讓交易策略的摩擦成本可視化。

Core Features & Use Cases

  • 成本密度計算:將佣金與點差轉換為成本密度,並與停損大小比較。
  • 淨風險報酬分析:在有成本情境下計算 RR_net、Loss_RR、WR_min 與 P_critical。
  • 風險管控與回測支援:協助策略回測時以 RR_net 作為核心績效指標,辨識高摩擦區。

Quick Start

使用示例:給定 RR_g=3.0、P=20、c=7、s=1.5、V=10,執行成本密度計算,輸出包括 cost_density=2.2、x=0.11、RR_net=2.60、WR_min=0.277、P_critical=3.67。你也可以改變 P、c、s、V 以觀察輸出變化。

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cost-density-net-rr-calculator
Download link: https://github.com/fatfingererr/macro-skills/archive/main.zip#cost-density-net-rr-calculator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.