Package: |
tawny |
Type: |
Package |
Version: |
2.1.7 |
Date: |
2018-04-20 |
License: |
GPL-3 |
There are a number of ways to use this package. At a high level, the estimation
techniques can be
applied to a portfolio and optimized portfolio weights are returned. This is
followed by calculation of basic portfolio statistics and comparison functions
to provide a quick, visual check to the results. It is possible to embark on
further study using other packages (e.g. PerformanceAnalytics). If a zoo object
already exists, then this is as simple as calling optimizePortfolio and
specifying an appropriate (and built-in) function for generating a correlation
matrix.
In addition to these functions there are a number of convenience methods for
constructing simple portfolios for a given date range via quantmod. This
includes getPortfolioReturns and ensure.
To get started using the package, the only requirement is to have a history of
returns for the assets in the portfolio. The length of the portfolio is the sum
of the window selected and the time frame to optimize against,
For people interested in studying the core behavior of Random Matrix Theory, theunderlying mp.* functions are available. These functions provide direct control
over eigenvalue density histogram plotting, theoretical distributions as
specified by Marcenko and Pastur, and optimization functions for fitting the
two. In most cases the functions are designed to be pluggable as they climb the
tree of abstraction, meaning that an arbitrary optimization function can be
plugged into the fitting function, and so on.
For people interested in studying shrinkage estimation techniques, these
functions are primarily exposed as shrinkage.*.
NOTE: This is an alpha release and the high-level portfolio functions have not
been fully ported nor tested.
. Use PerformanceAnalytics for performance analysis
. Clean up optimization workflow
. Clean up back testing vs single day workflows