From ddd9f4adb9dd4980d71649053aa9bbdaf728cb27 Mon Sep 17 00:00:00 2001 From: Oleg Sheynin Date: Tue, 15 Jul 2025 19:29:26 +0000 Subject: [PATCH] progress --- research/notebooks/pt_sliding.ipynb | 40 ++++++++++++++++------------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/research/notebooks/pt_sliding.ipynb b/research/notebooks/pt_sliding.ipynb index 60508bf..b33deba 100644 --- a/research/notebooks/pt_sliding.ipynb +++ b/research/notebooks/pt_sliding.ipynb @@ -43,7 +43,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 25, "metadata": {}, "outputs": [], "source": [ @@ -89,7 +89,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 26, "metadata": {}, "outputs": [], "source": [ @@ -128,7 +128,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 27, "metadata": {}, "outputs": [], "source": [ @@ -208,7 +208,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 28, "metadata": {}, "outputs": [], "source": [ @@ -295,7 +295,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 29, "metadata": {}, "outputs": [], "source": [ @@ -353,7 +353,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 30, "metadata": {}, "outputs": [], "source": [ @@ -398,7 +398,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 31, "metadata": {}, "outputs": [], "source": [ @@ -490,7 +490,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 32, "metadata": {}, "outputs": [], "source": [ @@ -560,7 +560,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 33, "metadata": {}, "outputs": [], "source": [ @@ -940,7 +940,8 @@ " height=1200,\n", " title_text=f\"Sliding Fit Strategy Analysis - {SYMBOL_A} & {SYMBOL_B} ({TRD_DATE})\",\n", " showlegend=True,\n", - " template=\"plotly_white\"\n", + " template=\"plotly_white\",\n", + " plot_bgcolor='lightgray',\n", " )\n", " \n", " # Update y-axis labels\n", @@ -1102,7 +1103,8 @@ " height=600,\n", " showlegend=True,\n", " template=\"plotly_white\",\n", - " hovermode='x unified'\n", + " hovermode='x unified',\n", + " plot_bgcolor='lightgray',\n", " )\n", "\n", " # Add horizontal line at y=1.0 for reference\n", @@ -1142,7 +1144,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 34, "metadata": {}, "outputs": [], "source": [ @@ -1212,7 +1214,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 35, "metadata": {}, "outputs": [], "source": [ @@ -1271,7 +1273,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 36, "metadata": {}, "outputs": [ { @@ -3040,6 +3042,7 @@ } ], "height": 1200, + "plot_bgcolor": "lightgray", "shapes": [ { "line": { @@ -3988,9 +3991,9 @@ }, "text/html": [ "
\n", - "
\n", - "