TradingView
luminaryfi
31 Th08 2020 14:29

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

S&P 500SP

Mô tả

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

Phát hành các Ghi chú

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

Phát hành các Ghi chú

//corrected errors

Phát hành các Ghi chú

//no update - adjusted chart and indicator

Phát hành các Ghi chú

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

Phát hành các Ghi chú

hexidecimal color switch

Phát hành các Ghi chú

//

Phát hành các Ghi chú

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)

Phát hành các Ghi chú

//

Phát hành các Ghi chú

//
Bình luận
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
Thêm nữa