StocksVolatility=function(AdjClose,NumberOfDays=10){
#ToDo: Verstehen und Anwenden
requireNamespace('TTR')
return(TTR::volatility(AdjClose,n=NumberOfDays,calc='close',N=260,mean0=FALSE))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.