我正面临一个问题,我正在尝试使用PHP对象缓冲区打印内容。如果内容超过4MB,则表示超时。
代码:
GMVPort=timeSeries(cumprod(GMVRetFac),charvec = names (GMVRetFac) )
CVARPort=timeSeries(cumprod(CVARRetFac),charvec = names (CVARRetFac))
## Plotting of portfolio values
ylims=range(cbind(GMVPort, CVARPort))
plot (GMVPort, ylim = ylims , xlab = "",ylab = "Portfolio Value (Index)")
lines (CVARPort, col = "blue")
legend(" topleft ",legend = c ( "Minimum−Variance","Minimum−CVaR" ),col = c("black" , "blue") , lty = 1)
## Relative performance
RelOutPerf=((CVARPort−GMVPort)/GMVPort)∗100