plot_rendite_comp: Plot Returns of different portfolios

Description Usage Arguments Value Author(s) Examples

Description

Plot one portfolio-development in comparison to two other ones

Usage

1
2
plot_rendite_comp(returns_safe, portf_safe, returns_medium, portf_medium,
  returns_risky, portf_risky, date_margin, legend_pos)

Arguments

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

Value

A plot with development of tree portfolios

Author(s)

Philipp Giese

Examples

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")

philbtcecho/btcecho documentation built on June 6, 2019, 10:59 a.m.