What problem does it solve? Developing and validating trading strategies requires rigorous backtesting, risk measurement, and portfolio analysis that is error-prone when done ad hoc. This Skill provides structured quantitative analyst guidance covering strategy development, risk metrics, and portfolio optimization with realistic market assumptions. ## Core Features & Use Cases - Strategy Backtesting: Implements vectorized backtests with transaction costs, slippage, and out-of-sample testing to avoid overfitting. - Risk & Portfolio Analytics: Computes VaR, Sharpe ratio, max drawdown, and applies Markowitz or Black-Litterman portfolio optimization. - Use Case: Ask the agent to backtest a pairs trading strategy on two correlated stocks; it produces performance metrics, risk exposure reports, parameter sensitivity analysis, and visualizations of returns using pandas, numpy, and scipy. ## Quick Start Backtest a moving average crossover strategy on my historical price data and report the Sharpe ratio, max drawdown, and risk-adjusted returns.