S4 method for the plot generic for portfolio insurance strategy classes
## S4 method for signature 'GenericStrat' plot( x, y = NULL, title = "Strategy plot", xlab = "", ylab.1 = "Price", ylab.2 = "Hedge %", pcols = c("#F8766D", "steelblue3", "gray60", "gray80"), legend = "bottom" )
x
: instance of the strategy class created by the corresponding strategy functiony
: NULLtitle
: plot titlexlab
: label for x-axisylab.1
: label for y-axis on price plot in top panelylab.2
: label for y-axis on hedge plot in bottom panelpcols
: vector with four color codes for plotlegend
: legend position in c("top", "bottom")a two-panel chart with daily values for (top panel) target price, market price and portfolio price and (bottom) portfolio hedge rate
Useful links