Learn R Programming

⚠️There's a newer version (0.1.8) of this package.Take me there.

Authors

David Kane, dave.kane at gmail.com

Ziqi Lu, ziqi.lu at williams.edu

Fan Zhang, fan.zhang at williams.edu

Miller Zijie Zhu, zijie.zhu at williams.edu

About

backtestGraphics package creates an interactive graphical interface to visualize backtest results for different financial instruments, including but not limited to equities, futures, and credit default swaps. The package does not run backtests, but instead displays the backtest results graphically. Available summary statistics include average gross market value, cumulative profit and loss, sharpe ratio, top three drawdowns, etc. Available plots include cumulative and point-in -time profit and loss, and gross and net market value, etc. backtestGraphics also support backtest results with different strategies, substrategies, and overlapping portfolios, if the necessary columns are provided.

If you want to play with backtestGraphics, please visit here!

Maintainer

Miller Zijie Zhu, zijie.zhu at williams.edu

Copy Link

Version

Install

install.packages('backtestGraphics')

Monthly Downloads

244

Version

0.1.6

License

GPL-3

Maintainer

Miller Zijie Zhu

Last Published

October 21st, 2015

Functions in backtestGraphics (0.1.6)

next_trading_day

Next trading day
cumpnl_plot

Draw an interactive line plot for cumulative P&L
slice_data

Slice Data Set
cleanup_column

Clean up the input data set
sum_data

Summarize data for the overall portfolio
commodity

Commodity Futures Data from 2003 to 2005.
stat_calculation

Calculate Statistics
backtestGraphics

Interactive Backtest Graphics
equity

Equity Data from 2005 to 20014.
best_worst_three

Find the three best-performing and worst-performing commodities
calc_pnl

Calculate cumulative pnl, mean pnl, dollar sharpe ratio
trade_freq

Find Trading Frequency
best_worst_month

Find the best-performing and the worst-performing months
backtestGraphics-package

A package to visualize backtest results
drawdown

The Three Biggest Drawdowns in the portfolio
interactive_plot

Interactive plot with dygraph
credit

Credit Default Swap Data from 2007 to 2009.