Description Usage Arguments Value Author(s) Examples
Plot one portfolio-development in comparison to two other ones
1 2 | plot_rendite_comp(returns_safe, portf_safe, returns_medium, portf_medium,
returns_risky, portf_risky, date_margin, legend_pos)
|
returns_safe |
A xts with several columns consisting of data |
portf_safe |
A vector defining the portfolio weights |
returns_medium |
A xts with several columns consisting of data |
portf_medium |
A vector defining the portfolio weights |
returns_risky |
A xts with several columns consisting of data |
portf_risky |
A vector defining the portfolio weights |
date_margin |
A string specifying the start- and enddates |
legend_pos |
where to set the legend |
A plot with development of tree portfolios
Philipp Giese
1 2 3 4 5 6 7 | returns_safe<-calculate_mutliple_cc("CCCAGG",c("BTC","LTC","DASH"),"USD",7,T)
portf_safe<-c(0.3,0.4,0.3)
returns_medium<-calculate_mutliple_cc("CCCAGG",c("ADA","EOS","ZRX"),"USD",7,T)
portf_medium<-c(0.2,0.4,0.4)
returns_risky<-calculate_mutliple_cc("CCCAGG",c("PAY","BNB","ZCL"),"USD",7,T)
portf_risky<-c(0.2,0.4,0.4)
plot_rendite_comp(returns_safe,portf_safe,returns_medium,portf_medium,returns_risky,portf_risky,"20180915/","bottomleft")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.