| print.backtest_result | R Documentation |
S3 print method for backtest results. Shows key performance metrics.
## S3 method for class 'backtest_result'
print(x, ...)
x |
backtest_result object |
... |
Additional arguments (unused) |
Invisible copy of x
data("sample_prices_weekly")
mom <- calc_momentum(sample_prices_weekly, lookback = 12)
sel <- filter_top_n(mom, n = 10)
W <- weight_equally(sel)
res <- run_backtest(sample_prices_weekly, W)
print(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.