plot_rendite: Plot Profits

Description Usage Arguments Value Author(s) Examples

Description

Plot the portfolio-development in comparison to BTC, ETH and XRP within the examined timeframe

Usage

1
2
plot_rendite(returns, portfolio, returns_safe, date_margin, label,
  legend_pos, lwd_thick, lwd_thin)

Arguments

returns

A xts with several columns consisting of data

portfolio

A vector defining the portfolio weights

date_margin

A string specifying the start- and enddates

label

How to define the examined portfolio within the legend

legend_pos

where to set the legend

lwd_tick

thickness of main line

lwd_tin

thickness of other lines

Value

A xts with development of portfolio

Author(s)

Philipp Giese

Examples

1
2
3
data<-calculate_mutliple_cc("CCCAGG",c("BTC","LTC","DASH"),"USD",7,T)
portf<-c(0.3,0.4,0.3)
get_portf_dev(data,portf,"201810/")

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