S4 method for the plot generic for portfolio insurance strategy classes
# S4 method for GenericStrat
plot(
x,
y = NULL,
title = "Strategy plot",
xlab = "",
ylab.1 = "Price",
ylab.2 = "Hedge %",
pcols = c("#F8766D", "steelblue3", "gray60", "gray80"),
legend = "bottom"
)instance of the strategy class created by the corresponding strategy function
NULL
plot title
label for x-axis
label for y-axis on price plot in top panel
label for y-axis on hedge plot in bottom panel
vector with four color codes for plot
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