OPEN-SOURCE SCRIPT

Multi-Asset: Complete Analysis

44
Description:
Comprehensive performance analysis tool for comparing multiple assets or custom weighted portfolios against benchmarks. Calculates Sharpe ratios across multiple timeframes (30d, 90d, 180d, 252d), total returns, CAGR, and normalized values starting from $100.

Key Features:
Build custom weighted portfolios (default: 50/30/20 allocation)
Compare against SPY, QQQ, and other benchmarks
Dynamic risk-free rate from ^IRX or manual input
Multi-period Sharpe ratio analysis to validate strategy consistency
Total return and annualized return (CAGR) metrics
All assets normalized to common start date for accurate comparison
Toggle individual assets on/off for cleaner chart viewing

Use Case:
Perfect for evaluating whether your custom portfolio allocation justifies its complexity versus simply buying SPY/QQQ. If your risk-adjusted returns (Sharpe) and absolute returns aren't beating the benchmarks, you're overcomplicating your strategy.
Ideal for: Portfolio managers, factor investors, and anyone building custom allocations who need proof their strategy actually works.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.