From c0cfba1260b58b446fe888b28558fbee782ed84d Mon Sep 17 00:00:00 2001 From: dual-token-model Date: Mon, 16 Mar 2020 09:09:50 +0000 Subject: [PATCH] 0.1.3 --- dual-token-model.ipynb | 116 +++++++++-------------------------------- 1 file changed, 25 insertions(+), 91 deletions(-) diff --git a/dual-token-model.ipynb b/dual-token-model.ipynb index 4681568..5a84242 100644 --- a/dual-token-model.ipynb +++ b/dual-token-model.ipynb @@ -248,7 +248,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "ae0f2f927840437095ed7a9cdff1f215", + "model_id": "f6116af485e148a683afc2a97ae00a73", "version_major": 2, "version_minor": 0 }, @@ -287,7 +287,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "aa943a7445424be7bf77dd0722c29020", + "model_id": "6634b7a1023549f5b34f05fd87e6f593", "version_major": 2, "version_minor": 0 }, @@ -342,7 +342,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "3d11d68607dd4881bcac9a71e91a30c1", + "model_id": "fe8c71b89b524a028f35523696638663", "version_major": 2, "version_minor": 0 }, @@ -463,14 +463,23 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 9, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "SyntaxError", + "evalue": "EOL while scanning string literal (, line 4)", + "output_type": "error", + "traceback": [ + "\u001b[0;36m File \u001b[0;32m\"\"\u001b[0;36m, line \u001b[0;32m4\u001b[0m\n\u001b[0;31m G=ipywidgets.widgetstable_baselines.ACKTR('Mls.FloatSlider(min=0, max=100, step=1, value=2)\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m EOL while scanning string literal\n" + ] + } + ], "source": [ "# YOU DON'T NEED TO READ THIS SECTION UNLESS YOU WANT TO KNOW THE IMPLEMENT DETAILS OF FIGURES\n", "class retial_investor(solution):\n", " A=ipywidgets.widgets.FloatSlider(min=0, max=1000, step=10, value=100)\n", - " G=ipywidgets.widgetstable_baselines.ACKTR('Mls.FloatSlider(min=0, max=100, step=1, value=2)\n", + " G=ipywidgets.widget.ACKTR('Mls.FloatSlider(min=0, max=100, step=1, value=2)\n", " N=ipywidgets.widgets.FloatSlider(min=0, max=100, step=1, value=10)\n", " I = ipywidgets.widgets.FloatSlider(min=10**6, max=10**8, step=10**6, value=10**7)\n", " U = ipywidgets.widgets.FloatSlider(min=10**8, max=10**8, step=10**8, value=10**8)\n", @@ -562,24 +571,9 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "ddfe855be1b542dc80fad2c1ba74e71e", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "interactive(children=(FloatSlider(value=0.6366197723675814, description='S', max=1.2732395447351628, step=0.06…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "@retial_investor.decorator()\n", "def draw(S, T, K, A, G, N, I, U, R, W):\n", @@ -617,24 +611,9 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "0eaf8dddecf541568c198b246d2ace36", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "interactive(children=(FloatSlider(value=0.6366197723675814, description='S', max=1.2732395447351628, step=0.06…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "@retial_investor.decorator()\n", "def draw(S, T, K, A, G, N, I, U, R, W):\n", @@ -672,24 +651,9 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "0c5a24477c324b2da5ab42ebdd6367d8", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "interactive(children=(FloatSlider(value=0.6366197723675814, description='S', max=1.2732395447351628, step=0.06…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "@retial_investor.decorator()\n", "def draw(S, T, K, A, G, N, I, U, R, W):\n", @@ -727,24 +691,9 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "f90d812922bd438ab63eb11fbc23cf5f", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "interactive(children=(FloatSlider(value=0.6366197723675814, description='S', max=1.2732395447351628, step=0.06…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "@retial_investor.decorator()\n", "def draw(S, T, K, A, G, N, I, U, R, W):\n", @@ -782,24 +731,9 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "f664cadee643404c8d3684ac230f9d30", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "interactive(children=(FloatSlider(value=0.6366197723675814, description='S', max=1.2732395447351628, step=0.06…" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "@retial_investor.decorator()\n", "def draw(S, T, K, A, G, N, I, U, R, W):\n",