financial-trading

Guides market analysis, strategy validation, and position sizing using quantitative trading frameworks.

Updated Sep 17, 2026
One-click install
npx skills add https://github.com/tanujkumar38/unified-mcp-gateway --skill financial-trading-tanujkumar38
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: financial-trading
Source: https://github.com/tanujkumar38/unified-mcp-gateway/tree/main/.agents/skills/financial-trading
Command: npx skills add https://github.com/tanujkumar38/unified-mcp-gateway --skill financial-trading-tanujkumar38

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Traders and analysts often make decisions based on intuition rather than mathematical expectancy, leading to overleveraged positions, overfitted backtests, and emotional execution errors. This Skill enforces a disciplined, quantitative workflow for market analysis, strategy development, and risk management. ## Core Features & Use Cases - Structured Market Analysis: Six-step SOPs covering regime identification, market structure (BOS, CHOCH, liquidity sweeps), and supply/demand zone mapping across equities, forex, futures, options, and crypto. - Deterministic Position Sizing: A bundled Python CLI calculates fixed-fractional sizing, ATR-based stops, Kelly/Half-Kelly fractions, expected value, and risk of ruin. - Strategy Validation Framework: Walk-forward analysis, bias elimination (survivorship, look-ahead, selection), and overfitting detection with Sharpe/Sortino/Calmar benchmarks. - Use Case: Before entering a swing trade on Nifty futures, run the EV and position-size calculations, verify the setup against the liquidity audit checklist, and log the plan in the trade journal template. ## Quick Start Ask the agent to analyze a trade setup on EUR/USD with a 1% risk limit and calculate the correct position size using the position size calculator script.

Frequently Asked Questions about financial-trading

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

FAQPage Schema
How do I calculate position size for a trade with a fixed risk percentage?

Run the position_size_calculator.py script with the fixed-risk subcommand, providing account equity, risk percentage, entry price, and stop-loss price. It outputs the number of units, notional value, and effective leverage for the trade.

How to validate a trading strategy backtest for overfitting?

Use walk-forward analysis by optimizing parameters on in-sample windows and testing on untouched out-of-sample periods. Reject strategies with Sharpe above 3.0, win rate above 75%, or walk-forward efficiency below 40%.

What is the Kelly criterion and should I use full Kelly for position sizing?

The Kelly criterion computes the optimal capital fraction maximizing long-term logarithmic growth from win rate and payoff ratio. Full Kelly produces severe drawdowns, so the skill mandates Half-Kelly as the institutional standard.

Does this skill provide financial advice or execute live trades?

No. It produces technical, mathematical, and market structure analysis only, and explicitly disclaims personalized financial advice. It does not connect to brokers or place orders; it guides analysis, sizing, and validation workflows.

What markets and asset classes does the trading analysis cover?

The framework covers equities, indices, forex, commodities, futures, options, and cryptocurrencies. References detail each asset class's settlement mechanics, leverage profiles, and session-specific volatility characteristics.

Why does my backtest show great results but fail in live trading?

Common causes are survivorship bias, look-ahead bias, selection bias from data snooping, and ignoring transaction costs. The skill's validation reference prescribes point-in-time data, lagged indicators, friction modeling, and out-of-sample testing.