braverock / blotter

blotter provides transaction infrastructure for defining transactions, portfolios and accounts for trading systems and simulation. Provides portfolio support for multi-asset class and multi-currency portfolios. Actively maintained and developed.
114 stars 50 forks source link

added coredata(dailyPL) for tseries arg in tsboot() as opposed to just dailyPL #34

Closed jaymon0703 closed 8 years ago

jaymon0703 commented 8 years ago

Added coredata(dailyPL) to the tsboot() function to replace dailyPL which is an xts object and resulted in inaccurate cash max drawdowns.

This ensures accurate cash max drawdown calculations for the statistic arg in tsboot, which yields a more accurate hist.mcsim histogram.