Files
QuanTAlib/docs/crossovers.ipynb
T
2022-11-10 22:52:44 -08:00

158 lines
38 KiB
Plaintext

{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"dotnet_interactive": {
"language": "csharp"
},
"vscode": {
"languageId": "dotnet-interactive.csharp"
}
},
"outputs": [
{
"data": {
"text/html": [
"<div><div></div><div></div><div></div></div>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"Loading extensions from `Plotly.NET.Interactive.dll`"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"#r \"nuget: QuanTAlib;\"\n",
"#r \"nuget: Plotly.NET;\"\n",
"#r \"nuget: Plotly.NET.Interactive;\"\n",
"\n",
"using QuanTAlib;\n",
"using Plotly.NET;\n",
"using Plotly.NET.LayoutObjects;\n"
]
},
{
"cell_type": "code",
"execution_count": 49,
"metadata": {
"dotnet_interactive": {
"language": "csharp"
},
"vscode": {
"languageId": "dotnet-interactive.csharp"
}
},
"outputs": [],
"source": [
"Yahoo_Feed data = new(Symbol: \"MSFT\", Period: 200);\n",
"ZLEMA_Series calc1 = new(data.OHLC4,20,true);\n",
"HMA_Series calc2 = new(data.OHLC4,20, true);\n",
"HEMA_Series calc3 = new(data.OHLC4,20, true);"
]
},
{
"cell_type": "code",
"execution_count": 50,
"metadata": {
"dotnet_interactive": {
"language": "csharp"
},
"vscode": {
"languageId": "dotnet-interactive.csharp"
}
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"<div>\n",
" <div id=\"34d44d07-fcaa-4072-9017-5faa3448ff33\"><!-- Plotly chart will be drawn inside this DIV --></div>\r\n",
"<script type=\"text/javascript\">\r\n",
"\r\n",
" var renderPlotly_34d44d07fcaa407290175faa3448ff33 = function() {\r\n",
" var fsharpPlotlyRequire = requirejs.config({context:'fsharp-plotly',paths:{plotly:'https://cdn.plot.ly/plotly-2.6.3.min'}}) || require;\r\n",
" fsharpPlotlyRequire(['plotly'], function(Plotly) {\r\n",
"\r\n",
" var data = [{\"type\":\"candlestick\",\"name\":\"\",\"x\":[\"2022-04-26T13:30:00\",\"2022-04-27T13:30:00\",\"2022-04-28T13:30:00\",\"2022-04-29T13:30:00\",\"2022-05-02T13:30:00\",\"2022-05-03T13:30:00\",\"2022-05-04T13:30:00\",\"2022-05-05T13:30:00\",\"2022-05-06T13:30:00\",\"2022-05-09T13:30:00\",\"2022-05-10T13:30:00\",\"2022-05-11T13:30:00\",\"2022-05-12T13:30:00\",\"2022-05-13T13:30:00\",\"2022-05-16T13:30:00\",\"2022-05-17T13:30:00\",\"2022-05-18T13:30:00\",\"2022-05-19T13:30:00\",\"2022-05-20T13:30:00\",\"2022-05-23T13:30:00\",\"2022-05-24T13:30:00\",\"2022-05-25T13:30:00\",\"2022-05-26T13:30:00\",\"2022-05-27T13:30:00\",\"2022-05-31T13:30:00\",\"2022-06-01T13:30:00\",\"2022-06-02T13:30:00\",\"2022-06-03T13:30:00\",\"2022-06-06T13:30:00\",\"2022-06-07T13:30:00\",\"2022-06-08T13:30:00\",\"2022-06-09T13:30:00\",\"2022-06-10T13:30:00\",\"2022-06-13T13:30:00\",\"2022-06-14T13:30:00\",\"2022-06-15T13:30:00\",\"2022-06-16T13:30:00\",\"2022-06-17T13:30:00\",\"2022-06-21T13:30:00\",\"2022-06-22T13:30:00\",\"2022-06-23T13:30:00\",\"2022-06-24T13:30:00\",\"2022-06-27T13:30:00\",\"2022-06-28T13:30:00\",\"2022-06-29T13:30:00\",\"2022-06-30T13:30:00\",\"2022-07-01T13:30:00\",\"2022-07-05T13:30:00\",\"2022-07-06T13:30:00\",\"2022-07-07T13:30:00\",\"2022-07-08T13:30:00\",\"2022-07-11T13:30:00\",\"2022-07-12T13:30:00\",\"2022-07-13T13:30:00\",\"2022-07-14T13:30:00\",\"2022-07-15T13:30:00\",\"2022-07-18T13:30:00\",\"2022-07-19T13:30:00\",\"2022-07-20T13:30:00\",\"2022-07-21T13:30:00\",\"2022-07-22T13:30:00\",\"2022-07-25T13:30:00\",\"2022-07-26T13:30:00\",\"2022-07-27T13:30:00\",\"2022-07-28T13:30:00\",\"2022-07-29T13:30:00\",\"2022-08-01T13:30:00\",\"2022-08-02T13:30:00\",\"2022-08-03T13:30:00\",\"2022-08-04T13:30:00\",\"2022-08-05T13:30:00\",\"2022-08-08T13:30:00\",\"2022-08-09T13:30:00\",\"2022-08-10T13:30:00\",\"2022-08-11T13:30:00\",\"2022-08-12T13:30:00\",\"2022-08-15T13:30:00\",\"2022-08-16T13:30:00\",\"2022-08-17T13:30:00\",\"2022-08-18T13:30:00\",\"2022-08-19T13:30:00\",\"2022-08-22T13:30:00\",\"2022-08-23T13:30:00\",\"2022-08-24T13:30:00\",\"2022-08-25T13:30:00\",\"2022-08-26T13:30:00\",\"2022-08-29T13:30:00\",\"2022-08-30T13:30:00\",\"2022-08-31T13:30:00\",\"2022-09-01T13:30:00\",\"2022-09-02T13:30:00\",\"2022-09-06T13:30:00\",\"2022-09-07T13:30:00\",\"2022-09-08T13:30:00\",\"2022-09-09T13:30:00\",\"2022-09-12T13:30:00\",\"2022-09-13T13:30:00\",\"2022-09-14T13:30:00\",\"2022-09-15T13:30:00\",\"2022-09-16T13:30:00\",\"2022-09-19T13:30:00\",\"2022-09-20T13:30:00\",\"2022-09-21T13:30:00\",\"2022-09-22T13:30:00\",\"2022-09-23T13:30:00\",\"2022-09-26T13:30:00\",\"2022-09-27T13:30:00\",\"2022-09-28T13:30:00\",\"2022-09-29T13:30:00\",\"2022-09-30T13:30:00\",\"2022-10-03T13:30:00\",\"2022-10-04T13:30:00\",\"2022-10-05T13:30:00\",\"2022-10-06T13:30:00\",\"2022-10-07T13:30:00\",\"2022-10-10T13:30:00\",\"2022-10-11T13:30:00\",\"2022-10-12T13:30:00\",\"2022-10-13T13:30:00\",\"2022-10-14T13:30:00\",\"2022-10-17T13:30:00\",\"2022-10-18T13:30:00\",\"2022-10-19T13:30:00\",\"2022-10-20T13:30:00\",\"2022-10-21T13:30:00\",\"2022-10-24T13:30:00\",\"2022-10-25T13:30:00\",\"2022-10-26T13:30:00\",\"2022-10-27T13:30:00\",\"2022-10-28T13:30:00\",\"2022-10-31T13:30:00\",\"2022-11-01T13:30:00\",\"2022-11-02T13:30:00\",\"2022-11-03T13:30:00\",\"2022-11-04T13:30:00\",\"2022-11-07T14:30:00\",\"2022-11-08T14:30:00\",\"2022-11-09T14:30:00\",\"2022-11-10T14:30:00\"],\"close\":[270.22,283.22,289.63,277.52,284.47,281.78,289.98,277.35,274.73,264.58,269.5,260.55,255.35,261.12,261.5,266.82,254.08,253.14,252.56,260.65,259.62,262.52,265.9,273.24,271.87,272.42,274.58,270.02,268.75,272.5,270.41,264.79,252.99,242.26,244.49,251.76,244.97,247.65,253.74,253.13,258.86,267.7,264.89,256.48,260.26,256.83,259.58,262.85,266.21,268.4,267.66,264.51,253.67,252.72,254.08,256.72,254.25,259.53,262.27,264.84,260.36,258.83,251.9,268.74,276.41,280.74,278.01,274.82,282.47,283.65,282.91,280.32,282.3,289.16,287.02,291.91,293.47,292.71,291.32,290.17,286.15,277.75,276.44,275.79,278.85,268.09,265.23,262.97,261.47,260.4,256.06,253.25,258.09,258.52,264.46,266.65,251.99,252.22,245.38,244.74,244.52,242.45,238.95,240.98,237.92,237.45,236.41,241.07,237.5,232.9,240.74,248.88,249.2,246.79,234.24,229.25,225.41,225.75,234.24,228.56,237.53,238.5,236.48,236.15,242.12,247.25,250.66,231.32,226.75,235.87,232.13,228.17,220.1,214.25,221.39,227.87,228.87,224.51,242.98],\"open\":[277.5,282.1,285.19,288.61,277.71,283.96,282.59,285.54,274.81,270.06,271.69,265.68,257.69,257.35,259.96,266.11,263.0,253.9,257.24,255.49,257.89,258.14,262.27,268.48,272.53,275.2,264.45,270.31,272.06,266.64,271.71,267.78,260.58,245.11,243.86,248.31,245.98,244.7,250.26,251.89,255.57,261.81,268.21,263.98,257.59,257.05,256.39,256.16,263.75,265.12,264.79,265.65,265.88,250.19,250.57,255.72,259.75,257.58,259.9,259.79,265.24,261.0,259.86,261.16,269.75,277.7,277.82,276.0,276.76,281.8,279.15,284.05,279.64,288.17,290.85,288.48,291.0,291.99,289.74,290.19,288.9,282.08,276.44,275.41,277.33,279.08,265.85,266.67,265.39,258.87,261.7,256.2,254.7,257.51,260.5,265.78,258.84,253.53,249.77,244.26,242.47,242.07,244.27,237.87,239.54,237.05,239.98,236.81,238.89,238.29,235.41,245.09,245.99,247.93,240.9,233.05,227.62,225.4,219.85,235.54,235.82,243.24,237.04,235.77,234.74,243.76,247.26,231.17,231.04,226.24,233.76,234.6,229.46,220.09,217.55,221.99,228.7,227.37,235.43],\"high\":[278.36,290.97,290.98,289.88,284.94,284.13,290.88,286.35,279.25,272.36,273.75,271.36,259.88,263.04,265.82,268.33,263.6,257.67,258.54,261.5,261.33,264.58,267.11,273.34,274.77,277.69,274.65,273.45,274.18,273.13,273.0,272.71,260.58,249.02,245.74,255.3,247.42,250.5,254.75,257.17,259.37,267.98,268.3,266.91,261.97,259.53,259.77,262.98,267.99,269.06,268.1,266.53,265.94,253.55,255.14,260.37,260.84,259.72,264.87,264.89,265.33,261.5,259.88,270.05,277.84,282.0,281.28,277.89,283.5,283.8,283.65,285.92,283.08,289.81,291.21,291.91,294.18,294.04,293.35,291.91,289.25,282.46,278.86,277.23,279.02,280.34,267.4,267.05,267.11,260.89,264.74,257.83,258.83,260.43,265.23,267.45,260.4,254.23,251.4,245.3,245.14,243.51,247.66,243.86,241.13,241.45,241.8,242.33,239.95,240.54,241.61,250.36,250.58,250.34,241.32,234.56,229.06,227.86,236.1,237.24,238.96,243.93,239.61,241.31,243.0,247.84,251.04,238.3,233.69,236.6,234.92,235.74,231.3,220.41,221.59,228.41,231.65,228.63,243.33],\"low\":[270.0,279.16,281.46,276.5,276.22,280.15,276.73,274.34,271.27,263.32,265.07,259.3,250.02,255.35,255.78,262.46,252.77,251.88,246.44,253.43,253.5,257.13,261.43,267.56,268.93,270.04,261.6,268.41,267.22,265.94,269.61,264.63,252.53,241.53,241.51,246.42,243.02,244.03,249.51,250.37,253.63,261.72,263.28,256.32,255.76,252.9,254.61,254.74,262.4,265.02,263.29,262.18,252.04,248.11,245.94,254.77,253.3,253.68,258.91,257.03,259.07,256.81,249.57,258.85,267.87,276.63,275.84,272.38,276.61,280.17,278.68,279.32,277.61,286.94,286.51,286.94,290.11,290.42,289.47,289.08,285.56,277.22,275.4,275.11,274.52,267.98,263.85,260.66,261.33,255.41,254.47,251.94,253.22,254.79,260.29,265.16,251.59,249.86,244.02,242.06,240.85,239.64,238.9,237.57,235.2,236.9,234.5,234.73,234.41,232.73,234.66,244.98,244.1,246.08,233.17,226.73,224.11,223.96,219.13,228.34,235.14,235.37,234.29,234.87,234.5,241.3,245.83,230.06,225.78,226.05,231.15,227.33,220.04,213.98,213.43,221.28,225.84,224.33,235.0],\"increasing\":{\"marker\":{},\"line\":{}},\"decreasing\":{\"marker\":{},\"line\":{}}},{\"type\":\"scatter\",\"name\":\"\",\"mode\":\"lines\",\"x\":[\"2022-04-26T13:30:00\",\"2022-04-27T13:30:00\",\"2022-04-28T13:30:00\",\"2022-04-29T13:30:00\",\"2022-05-02T13:30:00\",\"2022-05-03T13:30:00\",\"2022-05-04T13:30:00\",\"2022-05-05T13:30:00\",\"2022-05-06T13:30:00\",\"2022-05-09T13:30:00\",\"2022-05-10T13:30:00\",\"2022-05-11T13:30:00\",\"2022-05-12T13:30:00\",\"2022-05-13T13:30:00\",\"2022-05-16T13:30:00\",\"2022-05-17T13:30:00\",\"2022-05-18T13:30:00\",\"2022-05-19T13:30:00\",\"2022-05-20T13:30:00\",\"2022-05-23T13:30:00\",\"2022-05-24T13:30:00\",\"2022-05-25T13:30:00\",\"2022-05-26T13:30:00\",\"2022-05-27T13:30:00\",\"2022-05-31T13:30:00\",\"2022-06-01T13:30:00\",\"2022-06-02T13:30:00\",\"2022-06-03T13:30:00\",\"2022-06-06T13:30:00\",\"2022-06-07T13:30:00\",\"2022-06-08T13:30:00\",\"2022-06-09T13:30:00\",\"2022-06-10T13:30:00\",\"2022-06-13T13:30:00\",\"2022-06-14T13:30:00\",\"2022-06-15T13:30:00\",\"2022-06-16T13:30:00\",\"2022-06-17T13:30:00\",\"2022-06-21T13:30:00\",\"2022-06-22T13:30:00\",\"2022-06-23T13:30:00\",\"2022-06-24T13:30:00\",\"2022-06-27T13:30:00\",\"2022-06-28T13:30:00\",\"2022-06-29T13:30:00\",\"2022-06-30T13:30:00\",\"2022-07-01T13:30:00\",\"2022-07-05T13:30:00\",\"2022-07-06T13:30:00\",\"2022-07-07T13:30:00\",\"2022-07-08T13:30:00\",\"2022-07-11T13:30:00\",\"2022-07-12T13:30:00\",\"2022-07-13T13:30:00\",\"2022-07-14T13:30:00\",\"2022-07-15T13:30:00\",\"2022-07-18T13:30:00\",\"2022-07-19T13:30:00\",\"2022-07-20T13:30:00\",\"2022-07-21T13:30:00\",\"2022-07-22T13:30:00\",\"2022-07-25T13:30:00\",\"2022-07-26T13:30:00\",\"2022-07-27T13:30:00\",\"2022-07-28T13:30:00\",\"2022-07-29T13:30:00\",\"2022-08-01T13:30:00\",\"2022-08-02T13:30:00\",\"2022-08-03T13:30:00\",\"2022-08-04T13:30:00\",\"2022-08-05T13:30:00\",\"2022-08-08T13:30:00\",\"2022-08-09T13:30:00\",\"2022-08-10T13:30:00\",\"2022-08-11T13:30:00\",\"2022-08-12T13:30:00\",\"2022-08-15T13:30:00\",\"2022-08-16T13:30:00\",\"2022-08-17T13:30:00\",\"2022-08-18T13:30:00\",\"2022-08-19T13:30:00\",\"2022-08-22T13:30:00\",\"2022-08-23T13:30:00\",\"2022-08-24T13:30:00\",\"2022-08-25T13:30:00\",\"2022-08-26T13:30:00\",\"2022-08-29T13:30:00\",\"2022-08-30T13:30:00\",\"2022-08-31T13:30:00\",\"2022-09-01T13:30:00\",\"2022-09-02T13:30:00\",\"2022-09-06T13:30:00\",\"2022-09-07T13:30:00\",\"2022-09-08T13:30:00\",\"2022-09-09T13:30:00\",\"2022-09-12T13:30:00\",\"2022-09-13T13:30:00\",\"2022-09-14T13:30:00\",\"2022-09-15T13:30:00\",\"2022-09-16T13:30:00\",\"2022-09-19T13:30:00\",\"2022-09-20T13:30:00\",\"2022-09-21T13:30:00\",\"2022-09-22T13:30:00\",\"2022-09-23T13:30:00\",\"2022-09-26T13:30:00\",\"2022-09-27T13:30:00\",\"2022-09-28T13:30:00\",\"2022-09-29T13:30:00\",\"2022-09-30T13:30:00\",\"2022-10-03T13:30:00\",\"2022-10-04T13:30:00\",\"2022-10-05T13:30:00\",\"2022-10-06T13:30:00\",\"2022-10-07T13:30:00\",\"2022-10-10T13:30:00\",\"2022-10-11T13:30:00\",\"2022-10-12T13:30:00\",\"2022-10-13T13:30:00\",\"2022-10-14T13:30:00\",\"2022-10-17T13:30:00\",\"2022-10-18T13:30:00\",\"2022-10-19T13:30:00\",\"2022-10-20T13:30:00\",\"2022-10-21T13:30:00\",\"2022-10-24T13:30:00\",\"2022-10-25T13:30:00\",\"2022-10-26T13:30:00\",\"2022-10-27T13:30:00\",\"2022-10-28T13:30:00\",\"2022-10-31T13:30:00\",\"2022-11-01T13:30:00\",\"2022-11-02T13:30:00\",\"2022-11-03T13:30:00\",\"2022-11-04T13:30:00\",\"2022-11-07T14:30:00\",\"2022-11-08T14:30:00\",\"2022-11-09T14:30:00\",\"2022-11-10T14:30:00\"],\"y\":[\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",263.160125,262.092255952381,262.41204109977326,263.05279909027104,264.7187229864357,265.9950350829656,268.2157460274451,269.67067497721223,271.35918212223964,272.49997430107396,273.3114053200193,274.11722386096983,273.7991549218299,270.83590207213183,265.7024828271669,260.77486541505573,258.04154489933615,254.43258824225651,251.42829412394636,249.82345658833242,248.42098453230076,248.2130336244626,250.56750661260904,254.1191726495034,256.3882990638364,257.43155629585203,258.41974141053277,259.37548032381534,260.0349583882139,261.65400997028877,263.11005663978506,263.49171791218646,263.47012573007345,262.93416137482836,261.0728126724637,259.6646876560386,259.33495549832065,258.9113883080044,258.0786370405754,257.88781446528253,257.8332607066842,258.0665215917619,258.22090048778455,258.3391480603765,260.2085149117692,262.95437063445786,266.6253829549857,269.69415600689183,271.5382840062355,274.0615426723083,276.74234813208847,279.2106959290324,282.09562965007694,283.4784268262601,285.43976712852105,286.6862178781857,288.08586379454897,290.08792438554434,291.48383634882583,292.25537574417575,292.95272091139714,292.9122236817403,291.59653571205075,289.06829421566493,286.57345667131585,284.52360365500004,281.7646890211905,277.6799567334581,273.8728179969383,270.39088294961084,266.57460838298124,263.91107425126876,260.9504957511479,258.6252104415148,256.6794761137515,256.17357362672755,257.1987094718011,256.2343085697248,254.79246965832246,253.04009159562509,250.744606681756,248.9294060453983,246.90041499345563,245.01251832741224,242.39418324861106,239.3694991296957,237.59335635543894,236.28779860730188,235.67253207327312,235.25467187581853,234.6575602685977,234.62279262396936,236.2977647550199,238.06607287358946,239.88097069515237,239.56873539085214,238.05004630600908,235.79432761019868,233.6993916473226,232.2561162523395,231.73029565687858,231.2224103562235,231.3967046080117,230.87558988343915,231.4248194183497,232.8398366166021,235.76223312930665,239.1803537836584,239.07698675664332,237.85155944648682,236.67688711825,235.63337405936903,234.72210033942912,232.6938050690073,229.1777283957685,225.63151616760007,223.29303843735244,223.4382252528427,223.40648951447673,225.67063337024084],\"marker\":{},\"line\":{\"color\":\"yellow\",\"width\":2.0}},{\"type\":\"scatter\",\"name\":\"\",\"mode\":\"lines\",\"x\":[\"2022-04-26T13:30:00\",\"2022-04-27T13:30:00\",\"2022-04-28T13:30:00\",\"2022-04-29T13:30:00\",\"2022-05-02T13:30:00\",\"2022-05-03T13:30:00\",\"2022-05-04T13:30:00\",\"2022-05-05T13:30:00\",\"2022-05-06T13:30:00\",\"2022-05-09T13:30:00\",\"2022-05-10T13:30:00\",\"2022-05-11T13:30:00\",\"2022-05-12T13:30:00\",\"2022-05-13T13:30:00\",\"2022-05-16T13:30:00\",\"2022-05-17T13:30:00\",\"2022-05-18T13:30:00\",\"2022-05-19T13:30:00\",\"2022-05-20T13:30:00\",\"2022-05-23T13:30:00\",\"2022-05-24T13:30:00\",\"2022-05-25T13:30:00\",\"2022-05-26T13:30:00\",\"2022-05-27T13:30:00\",\"2022-05-31T13:30:00\",\"2022-06-01T13:30:00\",\"2022-06-02T13:30:00\",\"2022-06-03T13:30:00\",\"2022-06-06T13:30:00\",\"2022-06-07T13:30:00\",\"2022-06-08T13:30:00\",\"2022-06-09T13:30:00\",\"2022-06-10T13:30:00\",\"2022-06-13T13:30:00\",\"2022-06-14T13:30:00\",\"2022-06-15T13:30:00\",\"2022-06-16T13:30:00\",\"2022-06-17T13:30:00\",\"2022-06-21T13:30:00\",\"2022-06-22T13:30:00\",\"2022-06-23T13:30:00\",\"2022-06-24T13:30:00\",\"2022-06-27T13:30:00\",\"2022-06-28T13:30:00\",\"2022-06-29T13:30:00\",\"2022-06-30T13:30:00\",\"2022-07-01T13:30:00\",\"2022-07-05T13:30:00\",\"2022-07-06T13:30:00\",\"2022-07-07T13:30:00\",\"2022-07-08T13:30:00\",\"2022-07-11T13:30:00\",\"2022-07-12T13:30:00\",\"2022-07-13T13:30:00\",\"2022-07-14T13:30:00\",\"2022-07-15T13:30:00\",\"2022-07-18T13:30:00\",\"2022-07-19T13:30:00\",\"2022-07-20T13:30:00\",\"2022-07-21T13:30:00\",\"2022-07-22T13:30:00\",\"2022-07-25T13:30:00\",\"2022-07-26T13:30:00\",\"2022-07-27T13:30:00\",\"2022-07-28T13:30:00\",\"2022-07-29T13:30:00\",\"2022-08-01T13:30:00\",\"2022-08-02T13:30:00\",\"2022-08-03T13:30:00\",\"2022-08-04T13:30:00\",\"2022-08-05T13:30:00\",\"2022-08-08T13:30:00\",\"2022-08-09T13:30:00\",\"2022-08-10T13:30:00\",\"2022-08-11T13:30:00\",\"2022-08-12T13:30:00\",\"2022-08-15T13:30:00\",\"2022-08-16T13:30:00\",\"2022-08-17T13:30:00\",\"2022-08-18T13:30:00\",\"2022-08-19T13:30:00\",\"2022-08-22T13:30:00\",\"2022-08-23T13:30:00\",\"2022-08-24T13:30:00\",\"2022-08-25T13:30:00\",\"2022-08-26T13:30:00\",\"2022-08-29T13:30:00\",\"2022-08-30T13:30:00\",\"2022-08-31T13:30:00\",\"2022-09-01T13:30:00\",\"2022-09-02T13:30:00\",\"2022-09-06T13:30:00\",\"2022-09-07T13:30:00\",\"2022-09-08T13:30:00\",\"2022-09-09T13:30:00\",\"2022-09-12T13:30:00\",\"2022-09-13T13:30:00\",\"2022-09-14T13:30:00\",\"2022-09-15T13:30:00\",\"2022-09-16T13:30:00\",\"2022-09-19T13:30:00\",\"2022-09-20T13:30:00\",\"2022-09-21T13:30:00\",\"2022-09-22T13:30:00\",\"2022-09-23T13:30:00\",\"2022-09-26T13:30:00\",\"2022-09-27T13:30:00\",\"2022-09-28T13:30:00\",\"2022-09-29T13:30:00\",\"2022-09-30T13:30:00\",\"2022-10-03T13:30:00\",\"2022-10-04T13:30:00\",\"2022-10-05T13:30:00\",\"2022-10-06T13:30:00\",\"2022-10-07T13:30:00\",\"2022-10-10T13:30:00\",\"2022-10-11T13:30:00\",\"2022-10-12T13:30:00\",\"2022-10-13T13:30:00\",\"2022-10-14T13:30:00\",\"2022-10-17T13:30:00\",\"2022-10-18T13:30:00\",\"2022-10-19T13:30:00\",\"2022-10-20T13:30:00\",\"2022-10-21T13:30:00\",\"2022-10-24T13:30:00\",\"2022-10-25T13:30:00\",\"2022-10-26T13:30:00\",\"2022-10-27T13:30:00\",\"2022-10-28T13:30:00\",\"2022-10-31T13:30:00\",\"2022-11-01T13:30:00\",\"2022-11-02T13:30:00\",\"2022-11-03T13:30:00\",\"2022-11-04T13:30:00\",\"2022-11-07T14:30:00\",\"2022-11-08T14:30:00\",\"2022-11-09T14:30:00\",\"2022-11-10T14:30:00\"],\"y\":[\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",253.29962994362023,252.62970720361514,253.04410983709266,254.51040627705623,257.09767510822513,260.33872348484846,263.92458192640686,266.96159458874456,269.4946485930736,271.4402264069264,272.6651301948052,273.4983273809524,273.5060386363636,271.73340043290045,267.53117965367966,261.9474318181818,256.748958008658,251.9693699134199,248.08870573593066,245.61386818181813,244.3727364718614,244.6156670995671,246.8065340909091,250.39520400432906,254.11817878787878,257.2040847402597,259.14109556277054,260.28343160173154,261.0225638528138,262.0418029220779,263.36158181818183,264.5797857142858,265.397800974026,265.2778598484848,263.7301852813853,261.4257031385282,259.4355546536797,257.89795963203466,256.8724845238095,256.56392456709955,256.7377583333333,257.4141098484848,258.1298702380953,258.37791482683986,259.29943603896106,261.44537521645026,264.93095248917746,268.9268823593074,272.41020389610395,275.6178984848485,278.6633329004329,281.3107412337662,283.6332305194805,285.1977514069264,286.7608889610389,288.20762424242423,289.55226525974024,291.0265692640693,292.4093961038961,293.4419064935065,294.0368847402598,293.9388267316018,292.5360800865801,290.0037149350649,286.7572871212121,283.53910270562767,280.3286831168831,276.48045790043295,272.3495575757576,268.3354361471862,264.35166363636364,260.91693030303026,257.7124494588744,255.07411926406925,253.26656504329003,252.7026853896104,253.5634591991342,254.24048430735934,254.30103030303036,253.34100194805197,251.43327445887448,249.1119373376623,246.60457110389606,244.2345586580086,241.88530930735934,239.54897251082247,237.45936190476186,235.87237456709954,234.93036948051946,234.45507619047618,234.1503182900432,234.16146850649343,235.38463474025966,237.4230423160173,239.9312782467532,241.36956352813854,241.0946775974026,239.20661093073596,236.34733387445885,233.4199002164502,231.28877153679656,230.32088993506494,230.5113651515152,231.1327624458874,232.02913971861472,233.32542813852814,235.55053658008654,238.68221525974022,240.36317121212113,240.32179220779216,239.11963409090907,237.49322911255413,235.85930389610388,233.70551103896105,230.37797261904763,226.5534306277056,223.43885270562768,221.73076482683973,221.13022272727272,222.6177772727273],\"marker\":{},\"line\":{\"color\":\"red\",\"width\":3.0}},{\"type\":\"scatter\",\"name\":\"\",\"mode\":\"lines\",\"x\":[\"2022-04-26T13:30:00\",\"2022-04-27T13:30:00\",\"2022-04-28T13:30:00\",\"2022-04-29T13:30:00\",\"2022-05-02T13:30:00\",\"2022-05-03T13:30:00\",\"2022-05-04T13:30:00\",\"2022-05-05T13:30:00\",\"2022-05-06T13:30:00\",\"2022-05-09T13:30:00\",\"2022-05-10T13:30:00\",\"2022-05-11T13:30:00\",\"2022-05-12T13:30:00\",\"2022-05-13T13:30:00\",\"2022-05-16T13:30:00\",\"2022-05-17T13:30:00\",\"2022-05-18T13:30:00\",\"2022-05-19T13:30:00\",\"2022-05-20T13:30:00\",\"2022-05-23T13:30:00\",\"2022-05-24T13:30:00\",\"2022-05-25T13:30:00\",\"2022-05-26T13:30:00\",\"2022-05-27T13:30:00\",\"2022-05-31T13:30:00\",\"2022-06-01T13:30:00\",\"2022-06-02T13:30:00\",\"2022-06-03T13:30:00\",\"2022-06-06T13:30:00\",\"2022-06-07T13:30:00\",\"2022-06-08T13:30:00\",\"2022-06-09T13:30:00\",\"2022-06-10T13:30:00\",\"2022-06-13T13:30:00\",\"2022-06-14T13:30:00\",\"2022-06-15T13:30:00\",\"2022-06-16T13:30:00\",\"2022-06-17T13:30:00\",\"2022-06-21T13:30:00\",\"2022-06-22T13:30:00\",\"2022-06-23T13:30:00\",\"2022-06-24T13:30:00\",\"2022-06-27T13:30:00\",\"2022-06-28T13:30:00\",\"2022-06-29T13:30:00\",\"2022-06-30T13:30:00\",\"2022-07-01T13:30:00\",\"2022-07-05T13:30:00\",\"2022-07-06T13:30:00\",\"2022-07-07T13:30:00\",\"2022-07-08T13:30:00\",\"2022-07-11T13:30:00\",\"2022-07-12T13:30:00\",\"2022-07-13T13:30:00\",\"2022-07-14T13:30:00\",\"2022-07-15T13:30:00\",\"2022-07-18T13:30:00\",\"2022-07-19T13:30:00\",\"2022-07-20T13:30:00\",\"2022-07-21T13:30:00\",\"2022-07-22T13:30:00\",\"2022-07-25T13:30:00\",\"2022-07-26T13:30:00\",\"2022-07-27T13:30:00\",\"2022-07-28T13:30:00\",\"2022-07-29T13:30:00\",\"2022-08-01T13:30:00\",\"2022-08-02T13:30:00\",\"2022-08-03T13:30:00\",\"2022-08-04T13:30:00\",\"2022-08-05T13:30:00\",\"2022-08-08T13:30:00\",\"2022-08-09T13:30:00\",\"2022-08-10T13:30:00\",\"2022-08-11T13:30:00\",\"2022-08-12T13:30:00\",\"2022-08-15T13:30:00\",\"2022-08-16T13:30:00\",\"2022-08-17T13:30:00\",\"2022-08-18T13:30:00\",\"2022-08-19T13:30:00\",\"2022-08-22T13:30:00\",\"2022-08-23T13:30:00\",\"2022-08-24T13:30:00\",\"2022-08-25T13:30:00\",\"2022-08-26T13:30:00\",\"2022-08-29T13:30:00\",\"2022-08-30T13:30:00\",\"2022-08-31T13:30:00\",\"2022-09-01T13:30:00\",\"2022-09-02T13:30:00\",\"2022-09-06T13:30:00\",\"2022-09-07T13:30:00\",\"2022-09-08T13:30:00\",\"2022-09-09T13:30:00\",\"2022-09-12T13:30:00\",\"2022-09-13T13:30:00\",\"2022-09-14T13:30:00\",\"2022-09-15T13:30:00\",\"2022-09-16T13:30:00\",\"2022-09-19T13:30:00\",\"2022-09-20T13:30:00\",\"2022-09-21T13:30:00\",\"2022-09-22T13:30:00\",\"2022-09-23T13:30:00\",\"2022-09-26T13:30:00\",\"2022-09-27T13:30:00\",\"2022-09-28T13:30:00\",\"2022-09-29T13:30:00\",\"2022-09-30T13:30:00\",\"2022-10-03T13:30:00\",\"2022-10-04T13:30:00\",\"2022-10-05T13:30:00\",\"2022-10-06T13:30:00\",\"2022-10-07T13:30:00\",\"2022-10-10T13:30:00\",\"2022-10-11T13:30:00\",\"2022-10-12T13:30:00\",\"2022-10-13T13:30:00\",\"2022-10-14T13:30:00\",\"2022-10-17T13:30:00\",\"2022-10-18T13:30:00\",\"2022-10-19T13:30:00\",\"2022-10-20T13:30:00\",\"2022-10-21T13:30:00\",\"2022-10-24T13:30:00\",\"2022-10-25T13:30:00\",\"2022-10-26T13:30:00\",\"2022-10-27T13:30:00\",\"2022-10-28T13:30:00\",\"2022-10-31T13:30:00\",\"2022-11-01T13:30:00\",\"2022-11-02T13:30:00\",\"2022-11-03T13:30:00\",\"2022-11-04T13:30:00\",\"2022-11-07T14:30:00\",\"2022-11-08T14:30:00\",\"2022-11-09T14:30:00\",\"2022-11-10T14:30:00\"],\"y\":[\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",\"NaN\",253.28143564831163,253.21724711021136,254.05461033727835,255.92716127604754,259.3253950073871,263.0828366060252,266.7734441730054,268.7685466752471,270.14959462606305,271.05178624369296,271.3855507313467,271.7694939053487,271.29184222550276,268.23022278691184,262.06061149622184,255.58597736782218,251.4714782139339,247.8841962431993,245.43858299976685,245.04100663199603,245.79438203899105,247.72962064834303,251.5589401651427,255.8249483229594,258.46832833275494,259.6373717322166,259.55429739663936,259.213621994591,259.1614302984625,260.48116267428156,262.4875676326347,264.2151629984669,265.2700457036826,264.7320547548238,261.88827726157626,258.67056746110165,256.9934109439508,256.21138049596885,256.0370410678672,256.96241267187503,258.2021114592403,259.55323620221617,260.0965599428597,259.33742329932096,260.20931495204496,263.3232883042409,268.12204057975345,272.54010188085965,275.42166209585105,278.1694496815884,280.89376173489325,282.8267042408646,284.3468338524506,285.0118010248581,286.84514164570476,288.8302811861972,290.66891481068825,292.58283770169135,294.15567130862104,294.9799450534941,295.1698029508088,294.3969868157491,291.69257386574003,287.9731947478816,284.23837855177663,281.41320045776513,278.6298202672413,274.55401406590033,270.40610046290794,266.83436023647295,263.06243559236776,259.96777668712764,256.7620347830209,254.4190333208873,253.2173913048387,253.76412041250416,255.75274043980835,255.78945562590187,254.44858640502582,251.83113677564364,248.454650679197,245.22433896339717,242.36661852998495,240.31094711112058,238.47535708980234,236.76510458729302,235.42047699407001,234.5145631754892,234.13044704664222,233.86707954149074,233.4345922372937,233.5056270667064,235.79400983381436,238.64309397685054,241.3543645756593,241.3836373492772,239.0128413209053,235.20070198887106,231.3119609424609,228.40426877817754,227.48182667735227,228.47278816574436,230.81366643832956,232.60775039651412,233.97235285209814,235.30886850757793,237.8090357830256,241.13318221623126,240.80996583615786,238.40931940058738,235.9954564343265,234.35083755851937,232.94724288551703,230.54649742474965,226.45972226220277,222.70620004236014,221.1017498284607,221.46062171710483,222.0204894073784,225.38941893832106],\"marker\":{},\"line\":{\"color\":\"blue\",\"width\":2.0}}];\r\n",
" var layout = {\"width\":1200,\"height\":600,\"template\":{\"layout\":{\"title\":{\"x\":0.05},\"font\":{\"color\":\"rgba(42, 63, 95, 1.0)\"},\"paper_bgcolor\":\"rgba(255, 255, 255, 1.0)\",\"plot_bgcolor\":\"rgba(229, 236, 246, 1.0)\",\"autotypenumbers\":\"strict\",\"colorscale\":{\"diverging\":[[0.0,\"#8e0152\"],[0.1,\"#c51b7d\"],[0.2,\"#de77ae\"],[0.3,\"#f1b6da\"],[0.4,\"#fde0ef\"],[0.5,\"#f7f7f7\"],[0.6,\"#e6f5d0\"],[0.7,\"#b8e186\"],[0.8,\"#7fbc41\"],[0.9,\"#4d9221\"],[1.0,\"#276419\"]],\"sequential\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]],\"sequentialminus\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]},\"hovermode\":\"closest\",\"hoverlabel\":{\"align\":\"left\"},\"coloraxis\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}},\"geo\":{\"showland\":true,\"landcolor\":\"rgba(229, 236, 246, 1.0)\",\"showlakes\":true,\"lakecolor\":\"rgba(255, 255, 255, 1.0)\",\"subunitcolor\":\"rgba(255, 255, 255, 1.0)\",\"bgcolor\":\"rgba(255, 255, 255, 1.0)\"},\"mapbox\":{\"style\":\"light\"},\"polar\":{\"bgcolor\":\"rgba(229, 236, 246, 1.0)\",\"radialaxis\":{\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"ticks\":\"\"},\"angularaxis\":{\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"ticks\":\"\"}},\"scene\":{\"xaxis\":{\"ticks\":\"\",\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"gridwidth\":2.0,\"zerolinecolor\":\"rgba(255, 255, 255, 1.0)\",\"backgroundcolor\":\"rgba(229, 236, 246, 1.0)\",\"showbackground\":true},\"yaxis\":{\"ticks\":\"\",\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"gridwidth\":2.0,\"zerolinecolor\":\"rgba(255, 255, 255, 1.0)\",\"backgroundcolor\":\"rgba(229, 236, 246, 1.0)\",\"showbackground\":true},\"zaxis\":{\"ticks\":\"\",\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"gridwidth\":2.0,\"zerolinecolor\":\"rgba(255, 255, 255, 1.0)\",\"backgroundcolor\":\"rgba(229, 236, 246, 1.0)\",\"showbackground\":true}},\"ternary\":{\"aaxis\":{\"ticks\":\"\",\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\"},\"baxis\":{\"ticks\":\"\",\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\"},\"caxis\":{\"ticks\":\"\",\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\"},\"bgcolor\":\"rgba(229, 236, 246, 1.0)\"},\"xaxis\":{\"title\":{\"standoff\":15},\"ticks\":\"\",\"automargin\":true,\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"zerolinecolor\":\"rgba(255, 255, 255, 1.0)\",\"zerolinewidth\":2.0},\"yaxis\":{\"title\":{\"standoff\":15},\"ticks\":\"\",\"automargin\":true,\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"zerolinecolor\":\"rgba(255, 255, 255, 1.0)\",\"zerolinewidth\":2.0},\"annotationdefaults\":{\"arrowcolor\":\"#2a3f5f\",\"arrowhead\":0,\"arrowwidth\":1},\"shapedefaults\":{\"line\":{\"color\":\"rgba(42, 63, 95, 1.0)\"}},\"colorway\":[\"rgba(99, 110, 250, 1.0)\",\"rgba(239, 85, 59, 1.0)\",\"rgba(0, 204, 150, 1.0)\",\"rgba(171, 99, 250, 1.0)\",\"rgba(255, 161, 90, 1.0)\",\"rgba(25, 211, 243, 1.0)\",\"rgba(255, 102, 146, 1.0)\",\"rgba(182, 232, 128, 1.0)\",\"rgba(255, 151, 255, 1.0)\",\"rgba(254, 203, 82, 1.0)\"]},\"data\":{\"bar\":[{\"marker\":{\"line\":{\"color\":\"rgba(229, 236, 246, 1.0)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"error_x\":{\"color\":\"rgba(42, 63, 95, 1.0)\"},\"error_y\":{\"color\":\"rgba(42, 63, 95, 1.0)\"}}],\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"rgba(229, 236, 246, 1.0)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}}}],\"carpet\":[{\"aaxis\":{\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"endlinecolor\":\"rgba(42, 63, 95, 1.0)\",\"minorgridcolor\":\"rgba(255, 255, 255, 1.0)\",\"startlinecolor\":\"rgba(42, 63, 95, 1.0)\"},\"baxis\":{\"linecolor\":\"rgba(255, 255, 255, 1.0)\",\"gridcolor\":\"rgba(255, 255, 255, 1.0)\",\"endlinecolor\":\"rgba(42, 63, 95, 1.0)\",\"minorgridcolor\":\"rgba(255, 255, 255, 1.0)\",\"startlinecolor\":\"rgba(42, 63, 95, 1.0)\"}}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"contour\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"histogram\":[{\"marker\":{\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}}}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"pie\":[{\"automargin\":true}],\"scatter\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scatter3d\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}},\"line\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"}}}],\"surface\":[{\"colorbar\":{\"outlinewidth\":0.0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgba(235, 240, 248, 1.0)\"},\"line\":{\"color\":\"rgba(255, 255, 255, 1.0)\"}},\"header\":{\"fill\":{\"color\":\"rgba(200, 212, 227, 1.0)\"},\"line\":{\"color\":\"rgba(255, 255, 255, 1.0)\"}}}]}},\"margin\":{\"l\":30,\"r\":10,\"t\":40,\"b\":30,\"pad\":1,\"autoexpand\":false},\"xaxis\":{\"rangeslider\":{\"visible\":false,\"yaxis\":{}},\"gridcolor\":\"#252525\"},\"yaxis\":{\"gridcolor\":\"#252525\"},\"title\":{\"text\":\"MSFT\"},\"font\":{\"size\":10.0,\"color\":\"#ffffff\"},\"paper_bgcolor\":\"#1e1e1e\",\"plot_bgcolor\":\"#1e1e1e\"};\r\n",
" var config = {\"responsive\":true};\r\n",
" Plotly.newPlot('34d44d07-fcaa-4072-9017-5faa3448ff33', data, layout, config);\r\n",
"});\r\n",
" };\r\n",
" if ((typeof(requirejs) !== typeof(Function)) || (typeof(requirejs.config) !== typeof(Function))) {\r\n",
" var script = document.createElement(\"script\");\r\n",
" script.setAttribute(\"src\", \"https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js\");\r\n",
" script.onload = function(){\r\n",
" renderPlotly_34d44d07fcaa407290175faa3448ff33();\r\n",
" };\r\n",
" document.getElementsByTagName(\"head\")[0].appendChild(script);\r\n",
" }\r\n",
" else {\r\n",
" renderPlotly_34d44d07fcaa407290175faa3448ff33();\r\n",
" }\r\n",
"</script>\r\n",
"\n",
" \n",
"</div> \n"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"var layout = Layout.init<IConvertible>( \n",
" PlotBGColor : Color.fromString(\"#1e1e1e\"),\n",
" PaperBGColor : Color.fromString(\"#1e1e1e\"),\n",
" Font:Font.init(Size:10, Color: Color.fromString(\"#ffffff\")));\n",
"\n",
"var yAxis = LinearAxis.init<IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible>(\n",
" GridColor:Color.fromString(\"#252525\")); \n",
"\n",
"var candles = Chart2D.Chart.Candlestick<double, double, double, double, DateTime, string>(data.Open.v, data.High.v, data.Low.v, data.Close.v, data.Open.t, \"\");\n",
"var line1 = Chart2D.Chart.Line<DateTime,double,bool>(calc1.t, calc1.v,false,\"\").WithLineStyle(Width: 2, Color: Color.fromString(\"yellow\"));\n",
"var line2 = Chart2D.Chart.Line<DateTime,double,bool>(calc2.t, calc2.v, false,\"\").WithLineStyle(Width: 3, Color: Color.fromString(\"red\"));\n",
"var line3 = Chart2D.Chart.Line<DateTime,double,bool>(calc3.t, calc3.v, false,\"\").WithLineStyle(Width: 2, Color: Color.fromString(\"blue\"));\n",
"var chart = Chart.Combine(new []{candles, line1, line2, line3})\n",
" .WithSize(1200,600)\n",
" .WithMargin(Margin.init<int, int, int, int, int, bool>(30,10,40,30,1,false))\n",
" .WithXAxisRangeSlider(RangeSlider.init(Visible:false))\n",
" .WithYAxis(yAxis)\n",
" .WithXAxis(yAxis)\n",
" .WithTitle(\"MSFT\")\n",
" .WithLayout(layout);\n",
"\n",
"chart"
]
}
],
"metadata": {
"kernelspec": {
"display_name": ".NET (C#)",
"language": "C#",
"name": ".net-csharp"
},
"language_info": {
"file_extension": ".cs",
"mimetype": "text/x-csharp",
"name": "C#",
"pygments_lexer": "csharp",
"version": "9.0"
},
"orig_nbformat": 4
},
"nbformat": 4,
"nbformat_minor": 2
}