From 4d88d201f947191d04b79f19fec6db79c95042f5 Mon Sep 17 00:00:00 2001 From: Camilo1704 Date: Fri, 7 Feb 2020 11:35:14 -0300 Subject: [PATCH] sma image --- .../examples/sma_and_rebalance_example.ipynb | 76 +++++++++---------- 1 file changed, 36 insertions(+), 40 deletions(-) diff --git a/asset_backtester/examples/sma_and_rebalance_example.ipynb b/asset_backtester/examples/sma_and_rebalance_example.ipynb index a9d1cf0..ef3631f 100644 --- a/asset_backtester/examples/sma_and_rebalance_example.ipynb +++ b/asset_backtester/examples/sma_and_rebalance_example.ipynb @@ -9,7 +9,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 18, "metadata": { "scrolled": true }, @@ -20,7 +20,7 @@ "DataTransformerRegistry.enable('default')" ] }, - "execution_count": 12, + "execution_count": 18, "metadata": {}, "output_type": "execute_result" } @@ -37,13 +37,13 @@ "import pandas_datareader as pdr\n", "import datetime\n", "\n", - "\n", + "#alt.renderers.enable('jpg')\n", "alt.data_transformers.disable_max_rows()" ] }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -53,7 +53,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -64,7 +64,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -78,7 +78,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 5, "metadata": {}, "outputs": [], "source": [ @@ -90,7 +90,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 6, "metadata": { "scrolled": true }, @@ -102,7 +102,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 7, "metadata": { "scrolled": true }, @@ -113,7 +113,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 8, "metadata": { "scrolled": true }, @@ -121,10 +121,10 @@ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 19, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } @@ -140,7 +140,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 9, "metadata": { "scrolled": true }, @@ -162,7 +162,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 10, "metadata": { "scrolled": true }, @@ -172,7 +172,7 @@ "output_type": "stream", "text": [ "0% [██████████████████████████████] 100% | ETA: 00:00:00\n", - "Total time elapsed: 00:00:47\n" + "Total time elapsed: 00:00:43\n" ] }, { @@ -727,7 +727,7 @@ "[2517 rows x 5 columns]" ] }, - "execution_count": 21, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -746,7 +746,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 19, "metadata": { "scrolled": true }, @@ -755,10 +755,10 @@ "data": { "text/html": [ "\n", - "
\n", + "
\n", "