TradingView
luminaryfi
Aug 31, 2020 2:29 PM

Portfolio: alpha, beta, stdev, variance, mean, max drawdown... 

S&P 500SP

Description

Portfolio Metrics **New**

'returns'
'log returns'
'geometric returns'

portfolio alpha
portfolio beta
portfolio,market correlation
portfolio standard deviation
portfolio variance
mean portfolio returns
maximum drawdown
maximum gain

Release Notes

Removed log and geometric returns. Will release adjusted returns script.

Release Notes

//corrected errors

Release Notes

//no update - adjusted chart and indicator

Release Notes

adjusted hexidecimal colors for better UX.
default is set to logarithmic returns with lookahead off

Release Notes

hexidecimal color switch

Release Notes

//

Release Notes

Fixed Risk-Free Rate Bug
Added Display Options:
Group-Coefficents (Alpha, Beta)
Group-Proft.Loss (Max Drawdown, Max Gain)
Group-Stats (Standard Deviation, Variance, Correlation, R-Squared)

Release Notes

//

Release Notes

//
Comments
PineCoders
mikeruderman
This is amazing, thank you!
PineCoders
This publication is now featured in our Editors' Picks. In the name of all TradingView traders, thank you for your valuable contribution to the TradingView community, and congrats!
max_well12
Good job
luminaryfi
important note: these scripts will not be accurate for the recent stock splits of TSLA and AAPL. Will release an adjusted returns script.
blackcat1402
Thanks for sharing
Joestrickland
Nice work
Arielwillson
Nice job
Rickycag
keep posting
More