Editors' picksOPEN-SOURCE SCRIPT

Portfolio Performance

By QuantNomad
Updated
This indicators will help you to compute portfolio performance and display results with a stats table and a nice monthly chart.

In this script you can do following:
  • Compose portfolio with up to 15 instruments
  • Change Initial capital / date range / rebalancing period
  • Compare portfolio performance with a benchmark
  • Compute basic stats
  • Compute instruments contribution
  • Display monthly performance of portfolio and benchmark
  • Change style for almost everything you see on your chart


Hope it will be useful for you!

Thanks to MUQWISHI for helping me coding it.

Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Release Notes
Small fixes
portfolioportfolio-allocationPortfolio managementportfolioperformanceportfoliorepositioningportfoliosportfoliostockportfoliotracker
QuantNomad
🎓 Cohort courses: qntly.com/101
💻 Online Courses: qntly.com/courses
📝 Trials: qntly.com/trial
📖 Docs: qntly.com/docs

📰 Newsletter: qntly.com/news
𝕏: qntly.com/x
📩Telegram: qntly.com/tel

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer