Skip to content

Commit

Permalink
Case study cleanup and factors added to drafts
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilbert Wassermann authored and Gilbert Wassermann committed Jun 14, 2016
1 parent 095d8cf commit ece6aae
Show file tree
Hide file tree
Showing 4 changed files with 3,139 additions and 5 deletions.
5 changes: 2 additions & 3 deletions case_studies/traditional_value/traditional_value_algorithm.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Backtest ID: 5755e5bf0df6070f801ab8a2
"""
Long/Short Cross-Sectional Momentum
Expand Down Expand Up @@ -336,6 +335,6 @@ def filter_universe():
high_volume_tradable = (AverageDollarVolume(window_length=21,
mask=tradable_filter).percentile_between(70, 100))

mask = high_volume_tradable
screen = high_volume_tradable

return mask
return screen
14 changes: 12 additions & 2 deletions case_studies/traditional_value/traditional_value_notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"\n",
"By Gil Wassermann\n",
"\n",
"Stategy taken from \"130/30: The New Long-Only\" by Andrew Lo and Pankaj Patel\n",
"Strategy taken from \"130/30: The New Long-Only\" by Andrew Lo and Pankaj Patel\n",
"\n",
"Part of the Quantopian Lecture Series:\n",
"* www.quantopian.com/lectures\n",
Expand Down Expand Up @@ -488,7 +488,8 @@
"cell_type": "code",
"execution_count": 7,
"metadata": {
"collapsed": false
"collapsed": false,
"scrolled": true
},
"outputs": [
{
Expand Down Expand Up @@ -880,6 +881,15 @@
"\n",
"*In addition, the content of the website neither constitutes investment advice nor offers any opinion with respect to the suitability of any security or any specific investment. Quantopian makes no guarantees as to accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances.*"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
1,674 changes: 1,674 additions & 0 deletions lectures/drafts/Price Momentum Factor Notebook.ipynb

Large diffs are not rendered by default.

1,451 changes: 1,451 additions & 0 deletions lectures/drafts/Relative Value Factor Notebook.ipynb

Large diffs are not rendered by default.

0 comments on commit ece6aae

Please sign in to comment.