Merge pull request #20 from snth/docs-fixes

Docs fixes
This commit is contained in:
Thomas Wiecki
2012-11-14 06:06:58 -08:00
2 changed files with 7 additions and 5 deletions
+4 -4
View File
@@ -110,11 +110,11 @@ omitted).
| returns | percentage returns for the entire portfolio over the |
| | period |
+---------------+------------------------------------------------------+
| cumulative_ | The net capital used (positive is spent) during |
| capital_used | the period |
| cumulative\ | The net capital used (positive is spent) during |
| _capital_used | the period |
+---------------+------------------------------------------------------+
| max_capital_ | The maximum amount of capital deployed during the |
| used | period. |
| max_capital\ | The maximum amount of capital deployed during the |
| _used | period. |
+---------------+------------------------------------------------------+
| max_leverage | The maximum leverage used during the period. |
+---------------+------------------------------------------------------+
+3 -1
View File
@@ -49,6 +49,7 @@ Risk Report
| | and self.end_date. |
+-----------------+----------------------------------------------------+
"""
import logbook
@@ -231,7 +232,8 @@ class RiskMetricsBase(object):
"""
.. math::
\beta_a = \frac {\mathrm{Cov}(r_a,r_p)}{\mathrm{Var}(r_p)}
\\beta_a = \\frac{\mathrm{Cov}(r_a,r_p)}{\mathrm{Var}(r_p)}
http://en.wikipedia.org/wiki/Beta_(finance)
"""