Skip to content

Commit

Permalink
Merge pull request #9 from nicolegoldin/this_will_definitely_fix_it
Browse files Browse the repository at this point in the history
for_real
  • Loading branch information
rhahn28 authored Feb 13, 2020
2 parents 045b391 + 73128da commit 6f89174
Showing 1 changed file with 0 additions and 54 deletions.
54 changes: 0 additions & 54 deletions sharpe_ratio.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
"cells": [
{
"cell_type": "code",
<<<<<<< HEAD
"execution_count": 3,
=======
"execution_count": 4,
>>>>>>> b8d2a4ad05688a2dd92d6f03a6941390ef588d46
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -1754,11 +1750,7 @@
},
{
"cell_type": "code",
<<<<<<< HEAD
"execution_count": 5,
=======
"execution_count": 6,
>>>>>>> b8d2a4ad05688a2dd92d6f03a6941390ef588d46
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -1767,7 +1759,6 @@
},
{
"cell_type": "code",
<<<<<<< HEAD
"execution_count": 16,
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -1810,9 +1801,6 @@
{
"cell_type": "code",
"execution_count": 19,
=======
"execution_count": 7,
>>>>>>> b8d2a4ad05688a2dd92d6f03a6941390ef588d46
"metadata": {},
"outputs": [
{
Expand All @@ -1832,11 +1820,7 @@
"Length: 100, dtype: float64"
]
},
<<<<<<< HEAD
"execution_count": 19,
=======
"execution_count": 7,
>>>>>>> b8d2a4ad05688a2dd92d6f03a6941390ef588d46
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -1847,24 +1831,15 @@
},
{
"cell_type": "code",
<<<<<<< HEAD
"execution_count": 81,
"metadata": {},
"outputs": [],
"source": [
"sharpe_dict = sharpe_ratio.to_dict()"
=======
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"sharpe_ratio.plot(kind='bar', figsize=(25,10))"
>>>>>>> b8d2a4ad05688a2dd92d6f03a6941390ef588d46
]
},
{
"cell_type": "code",
<<<<<<< HEAD
"execution_count": 82,
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -1901,35 +1876,6 @@
"for key,value in sharpe_dict.items():\n",
" if value > 2:\n",
" print (f\"{key}: {value}\")\n"
=======
"execution_count": 14,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"GPC 2.910716\n",
"ABC 2.827482\n",
"PPL 2.789727\n",
"NWS 2.749488\n",
"BMY 2.666319\n",
"GIS 2.639886\n",
"EXPE 2.501534\n",
"HOLX 2.477266\n",
"SYF 2.474125\n",
"DISCK 2.330280\n",
"dtype: float64"
]
},
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"sharpe_ratio.sort_values(ascending=False, inplace=True)\n",
"sharpe_ratio.head(10)"
>>>>>>> b8d2a4ad05688a2dd92d6f03a6941390ef588d46
]
},
{
Expand Down

0 comments on commit 6f89174

Please sign in to comment.