Initial Roxygenize sync
Enable roxygenize
Fixed: Error in `[.data.frame`(x, i, j) : object 'Instrument' not found.
Added Depends: data.table in the DESCRIPTION file as per: http://stackoverflow.com/questions/10527072/using-data-table-package-inside-my-own-package
added strategy.R with functions stubs
Updated description majorly
newStrategy, saveStrategy stubs and export
Raise Error: TradePrices must be defined
data.table dependency added
if(!exists("Buy")) Buy <- quote(FALSE)
export(AddColumn)
R object assigned now to .GlobalEnv to avoid later error in AddColumn(Buy) : Error in `[.data.table`(R, , `:=`(substitute(name), eval(x, envir = .SD)),  :
  (converted from warning) Invalid .internal.selfref detected and fixed by taking a copy of the whole table so that := can add this new column by reference.
Fixed error below. R assigned to .GlobalEnv in the showInstruments function.
Error in `[.data.table`(R, , `:=`(substitute(name), eval(x, envir = .SD)),  :
  (converted from warning) Invalid .internal.selfref detected and fixed by taking a copy of the whole table so that := can add this new column by reference.
Exported AddColumn with stub documentation
TODO comment moved to GitHub Issue/Enhancement Tracking System
fixed AddColumn LHS assignment to data.table
fixed AddColumn heading parsing - Take 2
Two example strategies now working in Rmd: Buy&Hold, Simple moving average