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.
A useful feature in the Monte Carlo style function txnsim() is the computation of empirical p-values from the output. The output from simulations of portfolio PL (ie. mcsim) tends to tell us less information about standard sample statistics than metrics like Max Drawdown for instance, and viewing this p-value from the output of mcsim() could be useful to the analyst.
A useful feature in the Monte Carlo style function txnsim() is the computation of empirical p-values from the output. The output from simulations of portfolio PL (ie. mcsim) tends to tell us less information about standard sample statistics than metrics like Max Drawdown for instance, and viewing this p-value from the output of mcsim() could be useful to the analyst.
See, North, Curtis, and Sham mention in "A Note on the Calculation of Empirical P Values from Monte Carlo Procedures" - https://www.ncbi.nlm.nih.gov/pmc/articles/PMC379178/