knitr::opts_chunk$set(collapse = TRUE, comment = "#>", fig.width = 7, fig.height = 7, fig.align = "center") library(scales) library(RColorBrewer)
This package is disigned to provide functions to compute indicators of investment strategies.
The input must be a dataframe like follows.
head(stradeinfo_bp)
bt <- backtest(stradeinfo_bp, cash = 100000)
plot(bt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.