Skip to content

Instantly share code, notes, and snippets.

@davraamides
Created January 23, 2023 19:02
Show Gist options
  • Save davraamides/2b8f82aa8e95fd19a6610386d9b7bca7 to your computer and use it in GitHub Desktop.
Save davraamides/2b8f82aa8e95fd19a6610386d9b7bca7 to your computer and use it in GitHub Desktop.
Jupyter notebook showing use of rangebreaks option in Plotly
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 31,
"id": "da8e0a4c",
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import plotly.graph_objects as go\n",
"import plotly.express as px\n",
"import plotly.io as plt_io"
]
},
{
"cell_type": "code",
"execution_count": 32,
"id": "e7428601",
"metadata": {},
"outputs": [],
"source": [
"daydf = pd.read_csv('spy_day.csv', parse_dates=['date'])\n",
"mindf = pd.read_csv('spy_minute.csv', parse_dates=['date'])"
]
},
{
"cell_type": "code",
"execution_count": 33,
"id": "50947ae5",
"metadata": {},
"outputs": [],
"source": [
"colors = px.colors.qualitative.Plotly\n",
"\n",
"def style_and_save_chart(fig: go.Figure, title: str) -> go.Figure:\n",
" fig.update_traces(line=dict(color=colors[4], width=1), marker=dict(color=colors[4]))\n",
" fig.update_xaxes(showline=True, linewidth=1, linecolor='gray', mirror=True)\n",
" fig.update_yaxes(showline=True, linewidth=1, linecolor='gray', mirror=True)\n",
" fig.update_layout(\n",
" font_color=\"gray\",\n",
" title=title,\n",
" title_font_color=\"white\",\n",
" template='plotly_dark',\n",
" xaxis_title=\"Date\",\n",
" yaxis_title=\"Price\",\n",
" )\n",
" fig.write_image(title.replace(' ', '_').lower() + \".png\", scale=2)\n",
" return fig"
]
},
{
"cell_type": "code",
"execution_count": 34,
"id": "fa2a316b",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "#FFA15A",
"width": 1
},
"marker": {
"color": "#FFA15A"
},
"mode": "lines",
"type": "scatter",
"x": [
"2021-01-04T00:00:00",
"2021-01-05T00:00:00",
"2021-01-06T00:00:00",
"2021-01-07T00:00:00",
"2021-01-08T00:00:00",
"2021-01-11T00:00:00",
"2021-01-12T00:00:00",
"2021-01-13T00:00:00",
"2021-01-14T00:00:00",
"2021-01-15T00:00:00",
"2021-01-19T00:00:00",
"2021-01-20T00:00:00",
"2021-01-21T00:00:00",
"2021-01-22T00:00:00",
"2021-01-25T00:00:00",
"2021-01-26T00:00:00",
"2021-01-27T00:00:00",
"2021-01-28T00:00:00",
"2021-01-29T00:00:00",
"2021-02-01T00:00:00",
"2021-02-02T00:00:00",
"2021-02-03T00:00:00",
"2021-02-04T00:00:00",
"2021-02-05T00:00:00",
"2021-02-08T00:00:00",
"2021-02-09T00:00:00",
"2021-02-10T00:00:00",
"2021-02-11T00:00:00",
"2021-02-12T00:00:00",
"2021-02-16T00:00:00",
"2021-02-17T00:00:00",
"2021-02-18T00:00:00",
"2021-02-19T00:00:00",
"2021-02-22T00:00:00",
"2021-02-23T00:00:00",
"2021-02-24T00:00:00",
"2021-02-25T00:00:00",
"2021-02-26T00:00:00",
"2021-03-01T00:00:00",
"2021-03-02T00:00:00",
"2021-03-03T00:00:00",
"2021-03-04T00:00:00",
"2021-03-05T00:00:00",
"2021-03-08T00:00:00",
"2021-03-09T00:00:00",
"2021-03-10T00:00:00",
"2021-03-11T00:00:00",
"2021-03-12T00:00:00",
"2021-03-15T00:00:00",
"2021-03-16T00:00:00",
"2021-03-17T00:00:00",
"2021-03-18T00:00:00",
"2021-03-19T00:00:00",
"2021-03-22T00:00:00",
"2021-03-23T00:00:00",
"2021-03-24T00:00:00",
"2021-03-25T00:00:00",
"2021-03-26T00:00:00",
"2021-03-29T00:00:00",
"2021-03-30T00:00:00",
"2021-03-31T00:00:00",
"2021-04-01T00:00:00",
"2021-04-05T00:00:00",
"2021-04-06T00:00:00",
"2021-04-07T00:00:00",
"2021-04-08T00:00:00",
"2021-04-09T00:00:00",
"2021-04-12T00:00:00",
"2021-04-13T00:00:00",
"2021-04-14T00:00:00",
"2021-04-15T00:00:00",
"2021-04-16T00:00:00",
"2021-04-19T00:00:00",
"2021-04-20T00:00:00",
"2021-04-21T00:00:00",
"2021-04-22T00:00:00",
"2021-04-23T00:00:00",
"2021-04-26T00:00:00",
"2021-04-27T00:00:00",
"2021-04-28T00:00:00",
"2021-04-29T00:00:00",
"2021-04-30T00:00:00",
"2021-05-03T00:00:00",
"2021-05-04T00:00:00",
"2021-05-05T00:00:00",
"2021-05-06T00:00:00",
"2021-05-07T00:00:00",
"2021-05-10T00:00:00",
"2021-05-11T00:00:00",
"2021-05-12T00:00:00",
"2021-05-13T00:00:00",
"2021-05-14T00:00:00",
"2021-05-17T00:00:00",
"2021-05-18T00:00:00",
"2021-05-19T00:00:00",
"2021-05-20T00:00:00",
"2021-05-21T00:00:00",
"2021-05-24T00:00:00",
"2021-05-25T00:00:00",
"2021-05-26T00:00:00",
"2021-05-27T00:00:00",
"2021-05-28T00:00:00",
"2021-06-01T00:00:00",
"2021-06-02T00:00:00",
"2021-06-03T00:00:00",
"2021-06-04T00:00:00",
"2021-06-07T00:00:00",
"2021-06-08T00:00:00",
"2021-06-09T00:00:00",
"2021-06-10T00:00:00",
"2021-06-11T00:00:00",
"2021-06-14T00:00:00",
"2021-06-15T00:00:00",
"2021-06-16T00:00:00",
"2021-06-17T00:00:00",
"2021-06-18T00:00:00",
"2021-06-21T00:00:00",
"2021-06-22T00:00:00",
"2021-06-23T00:00:00",
"2021-06-24T00:00:00",
"2021-06-25T00:00:00",
"2021-06-28T00:00:00",
"2021-06-29T00:00:00",
"2021-06-30T00:00:00",
"2021-07-01T00:00:00",
"2021-07-02T00:00:00",
"2021-07-06T00:00:00",
"2021-07-07T00:00:00",
"2021-07-08T00:00:00",
"2021-07-09T00:00:00",
"2021-07-12T00:00:00",
"2021-07-13T00:00:00",
"2021-07-14T00:00:00",
"2021-07-15T00:00:00",
"2021-07-16T00:00:00",
"2021-07-19T00:00:00",
"2021-07-20T00:00:00",
"2021-07-21T00:00:00",
"2021-07-22T00:00:00",
"2021-07-23T00:00:00",
"2021-07-26T00:00:00",
"2021-07-27T00:00:00",
"2021-07-28T00:00:00",
"2021-07-29T00:00:00",
"2021-07-30T00:00:00",
"2021-08-02T00:00:00",
"2021-08-03T00:00:00",
"2021-08-04T00:00:00",
"2021-08-05T00:00:00",
"2021-08-06T00:00:00",
"2021-08-09T00:00:00",
"2021-08-10T00:00:00",
"2021-08-11T00:00:00",
"2021-08-12T00:00:00",
"2021-08-13T00:00:00",
"2021-08-16T00:00:00",
"2021-08-17T00:00:00",
"2021-08-18T00:00:00",
"2021-08-19T00:00:00",
"2021-08-20T00:00:00",
"2021-08-23T00:00:00",
"2021-08-24T00:00:00",
"2021-08-25T00:00:00",
"2021-08-26T00:00:00",
"2021-08-27T00:00:00",
"2021-08-30T00:00:00",
"2021-08-31T00:00:00",
"2021-09-01T00:00:00",
"2021-09-02T00:00:00",
"2021-09-03T00:00:00",
"2021-09-07T00:00:00",
"2021-09-08T00:00:00",
"2021-09-09T00:00:00",
"2021-09-10T00:00:00",
"2021-09-13T00:00:00",
"2021-09-14T00:00:00",
"2021-09-15T00:00:00",
"2021-09-16T00:00:00",
"2021-09-17T00:00:00",
"2021-09-20T00:00:00",
"2021-09-21T00:00:00",
"2021-09-22T00:00:00",
"2021-09-23T00:00:00",
"2021-09-24T00:00:00",
"2021-09-27T00:00:00",
"2021-09-28T00:00:00",
"2021-09-29T00:00:00",
"2021-09-30T00:00:00",
"2021-10-01T00:00:00",
"2021-10-04T00:00:00",
"2021-10-05T00:00:00",
"2021-10-06T00:00:00",
"2021-10-07T00:00:00",
"2021-10-08T00:00:00",
"2021-10-11T00:00:00",
"2021-10-12T00:00:00",
"2021-10-13T00:00:00",
"2021-10-14T00:00:00",
"2021-10-15T00:00:00",
"2021-10-18T00:00:00",
"2021-10-19T00:00:00",
"2021-10-20T00:00:00",
"2021-10-21T00:00:00",
"2021-10-22T00:00:00",
"2021-10-25T00:00:00",
"2021-10-26T00:00:00",
"2021-10-27T00:00:00",
"2021-10-28T00:00:00",
"2021-10-29T00:00:00",
"2021-11-01T00:00:00",
"2021-11-02T00:00:00",
"2021-11-03T00:00:00",
"2021-11-04T00:00:00",
"2021-11-05T00:00:00",
"2021-11-08T00:00:00",
"2021-11-09T00:00:00",
"2021-11-10T00:00:00",
"2021-11-11T00:00:00",
"2021-11-12T00:00:00",
"2021-11-15T00:00:00",
"2021-11-16T00:00:00",
"2021-11-17T00:00:00",
"2021-11-18T00:00:00",
"2021-11-19T00:00:00",
"2021-11-22T00:00:00",
"2021-11-23T00:00:00",
"2021-11-24T00:00:00",
"2021-11-26T00:00:00",
"2021-11-29T00:00:00",
"2021-11-30T00:00:00",
"2021-12-01T00:00:00",
"2021-12-02T00:00:00",
"2021-12-03T00:00:00",
"2021-12-06T00:00:00",
"2021-12-07T00:00:00",
"2021-12-08T00:00:00",
"2021-12-09T00:00:00",
"2021-12-10T00:00:00",
"2021-12-13T00:00:00",
"2021-12-14T00:00:00",
"2021-12-15T00:00:00",
"2021-12-16T00:00:00",
"2021-12-17T00:00:00",
"2021-12-20T00:00:00",
"2021-12-21T00:00:00",
"2021-12-22T00:00:00",
"2021-12-23T00:00:00",
"2021-12-27T00:00:00",
"2021-12-28T00:00:00",
"2021-12-29T00:00:00",
"2021-12-30T00:00:00",
"2021-12-31T00:00:00",
"2022-01-03T00:00:00",
"2022-01-04T00:00:00",
"2022-01-05T00:00:00",
"2022-01-06T00:00:00",
"2022-01-07T00:00:00",
"2022-01-10T00:00:00",
"2022-01-11T00:00:00",
"2022-01-12T00:00:00",
"2022-01-13T00:00:00",
"2022-01-14T00:00:00",
"2022-01-18T00:00:00",
"2022-01-19T00:00:00",
"2022-01-20T00:00:00",
"2022-01-21T00:00:00",
"2022-01-24T00:00:00",
"2022-01-25T00:00:00",
"2022-01-26T00:00:00",
"2022-01-27T00:00:00",
"2022-01-28T00:00:00",
"2022-01-31T00:00:00",
"2022-02-01T00:00:00",
"2022-02-02T00:00:00",
"2022-02-03T00:00:00",
"2022-02-04T00:00:00",
"2022-02-07T00:00:00",
"2022-02-08T00:00:00",
"2022-02-09T00:00:00",
"2022-02-10T00:00:00",
"2022-02-11T00:00:00",
"2022-02-14T00:00:00",
"2022-02-15T00:00:00",
"2022-02-16T00:00:00",
"2022-02-17T00:00:00",
"2022-02-18T00:00:00",
"2022-02-22T00:00:00",
"2022-02-23T00:00:00",
"2022-02-24T00:00:00",
"2022-02-25T00:00:00",
"2022-02-28T00:00:00",
"2022-03-01T00:00:00",
"2022-03-02T00:00:00",
"2022-03-03T00:00:00",
"2022-03-04T00:00:00",
"2022-03-07T00:00:00",
"2022-03-08T00:00:00",
"2022-03-09T00:00:00",
"2022-03-10T00:00:00",
"2022-03-11T00:00:00",
"2022-03-14T00:00:00",
"2022-03-15T00:00:00",
"2022-03-16T00:00:00",
"2022-03-17T00:00:00",
"2022-03-18T00:00:00",
"2022-03-21T00:00:00",
"2022-03-22T00:00:00",
"2022-03-23T00:00:00",
"2022-03-24T00:00:00",
"2022-03-25T00:00:00",
"2022-03-28T00:00:00",
"2022-03-29T00:00:00",
"2022-03-30T00:00:00",
"2022-03-31T00:00:00",
"2022-04-01T00:00:00",
"2022-04-04T00:00:00",
"2022-04-05T00:00:00",
"2022-04-06T00:00:00",
"2022-04-07T00:00:00",
"2022-04-08T00:00:00",
"2022-04-11T00:00:00",
"2022-04-12T00:00:00",
"2022-04-13T00:00:00",
"2022-04-14T00:00:00",
"2022-04-18T00:00:00",
"2022-04-19T00:00:00",
"2022-04-20T00:00:00",
"2022-04-21T00:00:00",
"2022-04-22T00:00:00",
"2022-04-25T00:00:00",
"2022-04-26T00:00:00",
"2022-04-27T00:00:00",
"2022-04-28T00:00:00",
"2022-04-29T00:00:00",
"2022-05-02T00:00:00",
"2022-05-03T00:00:00",
"2022-05-04T00:00:00",
"2022-05-05T00:00:00",
"2022-05-06T00:00:00",
"2022-05-09T00:00:00",
"2022-05-10T00:00:00",
"2022-05-11T00:00:00",
"2022-05-12T00:00:00",
"2022-05-13T00:00:00",
"2022-05-16T00:00:00",
"2022-05-17T00:00:00",
"2022-05-18T00:00:00",
"2022-05-19T00:00:00",
"2022-05-20T00:00:00",
"2022-05-23T00:00:00",
"2022-05-24T00:00:00",
"2022-05-25T00:00:00",
"2022-05-26T00:00:00",
"2022-05-27T00:00:00",
"2022-05-31T00:00:00",
"2022-06-01T00:00:00",
"2022-06-02T00:00:00",
"2022-06-03T00:00:00",
"2022-06-06T00:00:00",
"2022-06-07T00:00:00",
"2022-06-08T00:00:00",
"2022-06-09T00:00:00",
"2022-06-10T00:00:00",
"2022-06-13T00:00:00",
"2022-06-14T00:00:00",
"2022-06-15T00:00:00",
"2022-06-16T00:00:00",
"2022-06-17T00:00:00",
"2022-06-21T00:00:00",
"2022-06-22T00:00:00",
"2022-06-23T00:00:00",
"2022-06-24T00:00:00",
"2022-06-27T00:00:00",
"2022-06-28T00:00:00",
"2022-06-29T00:00:00",
"2022-06-30T00:00:00",
"2022-07-01T00:00:00",
"2022-07-05T00:00:00",
"2022-07-06T00:00:00",
"2022-07-07T00:00:00",
"2022-07-08T00:00:00",
"2022-07-11T00:00:00",
"2022-07-12T00:00:00",
"2022-07-13T00:00:00",
"2022-07-14T00:00:00",
"2022-07-15T00:00:00",
"2022-07-18T00:00:00",
"2022-07-19T00:00:00",
"2022-07-20T00:00:00",
"2022-07-21T00:00:00",
"2022-07-22T00:00:00",
"2022-07-25T00:00:00",
"2022-07-26T00:00:00",
"2022-07-27T00:00:00",
"2022-07-28T00:00:00",
"2022-07-29T00:00:00",
"2022-08-01T00:00:00",
"2022-08-02T00:00:00",
"2022-08-03T00:00:00",
"2022-08-04T00:00:00",
"2022-08-05T00:00:00",
"2022-08-08T00:00:00",
"2022-08-09T00:00:00",
"2022-08-10T00:00:00",
"2022-08-11T00:00:00",
"2022-08-12T00:00:00",
"2022-08-15T00:00:00",
"2022-08-16T00:00:00",
"2022-08-17T00:00:00",
"2022-08-18T00:00:00",
"2022-08-19T00:00:00",
"2022-08-22T00:00:00",
"2022-08-23T00:00:00",
"2022-08-24T00:00:00",
"2022-08-25T00:00:00",
"2022-08-26T00:00:00",
"2022-08-29T00:00:00",
"2022-08-30T00:00:00",
"2022-08-31T00:00:00",
"2022-09-01T00:00:00",
"2022-09-02T00:00:00",
"2022-09-06T00:00:00",
"2022-09-07T00:00:00",
"2022-09-08T00:00:00",
"2022-09-09T00:00:00",
"2022-09-12T00:00:00",
"2022-09-13T00:00:00",
"2022-09-14T00:00:00",
"2022-09-15T00:00:00",
"2022-09-16T00:00:00",
"2022-09-19T00:00:00",
"2022-09-20T00:00:00",
"2022-09-21T00:00:00",
"2022-09-22T00:00:00",
"2022-09-23T00:00:00",
"2022-09-26T00:00:00",
"2022-09-27T00:00:00",
"2022-09-28T00:00:00",
"2022-09-29T00:00:00",
"2022-09-30T00:00:00",
"2022-10-03T00:00:00",
"2022-10-04T00:00:00",
"2022-10-05T00:00:00",
"2022-10-06T00:00:00",
"2022-10-07T00:00:00",
"2022-10-10T00:00:00",
"2022-10-11T00:00:00",
"2022-10-12T00:00:00",
"2022-10-13T00:00:00",
"2022-10-14T00:00:00",
"2022-10-17T00:00:00",
"2022-10-18T00:00:00",
"2022-10-19T00:00:00",
"2022-10-20T00:00:00",
"2022-10-21T00:00:00",
"2022-10-24T00:00:00",
"2022-10-25T00:00:00",
"2022-10-26T00:00:00",
"2022-10-27T00:00:00",
"2022-10-28T00:00:00",
"2022-10-31T00:00:00",
"2022-11-01T00:00:00",
"2022-11-02T00:00:00",
"2022-11-03T00:00:00",
"2022-11-04T00:00:00",
"2022-11-07T00:00:00",
"2022-11-08T00:00:00",
"2022-11-09T00:00:00",
"2022-11-10T00:00:00",
"2022-11-11T00:00:00",
"2022-11-14T00:00:00",
"2022-11-15T00:00:00",
"2022-11-16T00:00:00",
"2022-11-17T00:00:00",
"2022-11-18T00:00:00",
"2022-11-21T00:00:00",
"2022-11-22T00:00:00",
"2022-11-23T00:00:00",
"2022-11-25T00:00:00",
"2022-11-28T00:00:00",
"2022-11-29T00:00:00",
"2022-11-30T00:00:00",
"2022-12-01T00:00:00",
"2022-12-02T00:00:00",
"2022-12-05T00:00:00",
"2022-12-06T00:00:00",
"2022-12-07T00:00:00",
"2022-12-08T00:00:00",
"2022-12-09T00:00:00",
"2022-12-12T00:00:00",
"2022-12-13T00:00:00",
"2022-12-14T00:00:00",
"2022-12-15T00:00:00",
"2022-12-16T00:00:00",
"2022-12-19T00:00:00",
"2022-12-20T00:00:00",
"2022-12-21T00:00:00",
"2022-12-22T00:00:00",
"2022-12-23T00:00:00",
"2022-12-27T00:00:00",
"2022-12-28T00:00:00",
"2022-12-29T00:00:00",
"2022-12-30T00:00:00"
],
"y": [
368.79,
371.33,
373.55,
379.1,
381.26,
378.69,
378.77,
379.79,
378.46,
375.7,
378.65,
383.89,
384.24,
382.88,
384.39,
383.79,
374.41,
377.63,
370.07,
376.23,
381.55,
381.85,
386.19,
387.71,
390.51,
390.25,
390.08,
390.71,
392.64,
392.3,
392.39,
390.72,
390.03,
387.03,
387.5,
391.77,
382.33,
380.36,
389.58,
386.54,
381.42,
376.7,
383.63,
381.72,
387.17,
389.58,
393.53,
394.06,
396.41,
395.91,
397.26,
391.48,
389.48,
392.59,
389.5,
387.52,
389.7,
395.98,
395.78,
394.73,
396.33,
400.61,
406.36,
406.12,
406.59,
408.52,
411.49,
411.64,
412.86,
411.45,
415.87,
417.26,
415.21,
412.17,
416.07,
412.27,
416.74,
417.61,
417.52,
417.4,
420.06,
417.3,
418.2,
415.62,
415.75,
419.07,
422.12,
417.94,
414.21,
405.41,
410.28,
416.58,
415.52,
411.94,
410.86,
415.28,
414.94,
419.17,
418.24,
419.07,
419.29,
420.04,
419.67,
420.33,
418.77,
422.6,
422.19,
422.28,
421.65,
423.61,
424.31,
425.26,
424.48,
422.11,
421.97,
414.92,
420.86,
423.11,
422.6,
425.1,
426.61,
427.47,
427.7,
428.06,
430.43,
433.72,
432.93,
434.46,
430.92,
435.52,
437.08,
435.59,
436.24,
434.75,
431.34,
424.97,
431.06,
434.55,
435.46,
439.94,
441.02,
439.01,
438.83,
440.65,
438.51,
437.59,
441.15,
438.98,
441.76,
442.49,
442.13,
442.68,
443.78,
445.11,
445.92,
446.97,
444.04,
439.18,
439.86,
443.36,
447.26,
447.97,
448.91,
446.26,
450.25,
452.23,
451.56,
451.8,
453.19,
453.08,
451.46,
450.91,
448.98,
445.44,
446.58,
444.17,
447.88,
447.17,
441.4,
434.04,
433.63,
437.86,
443.18,
443.91,
442.64,
433.72,
434.45,
429.14,
434.24,
428.64,
433.1,
434.9,
438.66,
437.86,
434.69,
433.62,
435.18,
442.5,
445.87,
447.19,
450.64,
452.41,
453.59,
453.12,
455.55,
455.96,
453.94,
458.32,
459.25,
460.04,
461.9,
464.72,
466.91,
468.53,
468.93,
467.38,
463.62,
463.77,
467.27,
467.43,
469.28,
468.14,
469.73,
468.89,
467.57,
468.19,
469.44,
458.97,
464.6,
455.56,
450.5,
457.4,
453.42,
458.79,
468.28,
469.52,
466.35,
470.74,
466.57,
463.36,
470.6,
466.45,
459.87,
454.98,
463.06,
467.69,
470.6,
477.26,
476.87,
477.48,
476.16,
474.96,
477.71,
477.55,
468.38,
467.94,
466.09,
465.51,
469.75,
471.02,
464.53,
464.72,
456.49,
451.75,
446.75,
437.98,
439.84,
434.47,
433.38,
431.24,
441.95,
449.91,
452.95,
457.35,
446.6,
448.7,
447.26,
450.94,
457.54,
449.32,
440.46,
439.02,
446.1,
446.6,
437.06,
434.23,
429.57,
421.95,
428.3,
437.75,
436.63,
429.98,
437.89,
435.71,
432.17,
419.43,
416.25,
427.41,
425.48,
420.07,
417,
426.17,
435.62,
441.07,
444.52,
444.39,
449.59,
443.8,
450.49,
452.69,
455.91,
461.55,
458.7,
451.64,
452.92,
456.8,
451.03,
446.52,
448.77,
447.57,
439.92,
438.29,
443.31,
437.79,
437.97,
445.04,
444.71,
438.06,
426.04,
428.51,
416.1,
417.27,
427.81,
412,
414.48,
416.38,
429.06,
413.81,
411.34,
398.17,
399.09,
392.75,
392.34,
401.72,
400.09,
408.32,
391.86,
389.46,
389.63,
396.92,
393.89,
397.37,
405.31,
415.26,
412.93,
409.59,
417.39,
410.54,
411.79,
415.74,
411.22,
401.44,
389.8,
375,
373.87,
379.2,
366.65,
365.86,
375.07,
374.39,
378.06,
390.08,
388.59,
380.65,
380.34,
377.25,
381.24,
381.96,
383.25,
388.99,
388.67,
384.23,
380.83,
378.83,
377.91,
385.13,
381.95,
392.27,
394.77,
398.79,
395.09,
395.57,
390.89,
401.04,
406.07,
411.99,
410.77,
408.06,
414.45,
414.17,
413.47,
412.99,
411.35,
419.99,
419.99,
427.1,
428.86,
429.7,
426.65,
427.89,
422.14,
413.35,
412.35,
413.67,
419.51,
405.31,
402.63,
398.21,
395.18,
396.42,
392.24,
390.76,
397.78,
400.38,
406.6,
410.97,
393.1,
394.6,
390.12,
385.56,
388.55,
384.09,
377.39,
374.22,
367.95,
364.31,
363.38,
370.53,
362.79,
357.18,
366.61,
377.97,
377.09,
373.2,
362.79,
360.02,
357.74,
356.56,
365.97,
357.63,
366.82,
371.13,
368.5,
365.41,
374.29,
378.87,
384.92,
382.02,
379.98,
389.02,
386.21,
384.52,
374.87,
371.01,
376.35,
379.95,
382,
374.13,
394.69,
398.51,
395.12,
398.49,
395.45,
394.24,
396.03,
394.59,
399.9,
402.42,
402.33,
395.91,
395.23,
407.68,
407.38,
406.91,
399.59,
393.83,
393.16,
396.24,
393.28,
398.95,
401.97,
399.4,
389.63,
383.27,
380.02,
380.54,
386.23,
380.72,
382.91,
381.4,
376.66,
383.44,
382.43
]
}
],
"layout": {
"font": {
"color": "gray"
},
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#f2f5fa"
},
"error_y": {
"color": "#f2f5fa"
},
"marker": {
"line": {
"color": "rgb(17,17,17)",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "rgb(17,17,17)",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#A2B1C6",
"gridcolor": "#506784",
"linecolor": "#506784",
"minorgridcolor": "#506784",
"startlinecolor": "#A2B1C6"
},
"baxis": {
"endlinecolor": "#A2B1C6",
"gridcolor": "#506784",
"linecolor": "#506784",
"minorgridcolor": "#506784",
"startlinecolor": "#A2B1C6"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
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,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
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,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
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,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
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,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
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,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"marker": {
"line": {
"color": "#283442"
}
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"line": {
"color": "#283442"
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
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,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#506784"
},
"line": {
"color": "rgb(17,17,17)"
}
},
"header": {
"fill": {
"color": "#2a3f5f"
},
"line": {
"color": "rgb(17,17,17)"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#f2f5fa",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
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,
"#276419"
]
],
"sequential": [
[
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,
"#f0f921"
]
],
"sequentialminus": [
[
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,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#f2f5fa"
},
"geo": {
"bgcolor": "rgb(17,17,17)",
"lakecolor": "rgb(17,17,17)",
"landcolor": "rgb(17,17,17)",
"showlakes": true,
"showland": true,
"subunitcolor": "#506784"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "dark"
},
"paper_bgcolor": "rgb(17,17,17)",
"plot_bgcolor": "rgb(17,17,17)",
"polar": {
"angularaxis": {
"gridcolor": "#506784",
"linecolor": "#506784",
"ticks": ""
},
"bgcolor": "rgb(17,17,17)",
"radialaxis": {
"gridcolor": "#506784",
"linecolor": "#506784",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "rgb(17,17,17)",
"gridcolor": "#506784",
"gridwidth": 2,
"linecolor": "#506784",
"showbackground": true,
"ticks": "",
"zerolinecolor": "#C8D4E3"
},
"yaxis": {
"backgroundcolor": "rgb(17,17,17)",
"gridcolor": "#506784",
"gridwidth": 2,
"linecolor": "#506784",
"showbackground": true,
"ticks": "",
"zerolinecolor": "#C8D4E3"
},
"zaxis": {
"backgroundcolor": "rgb(17,17,17)",
"gridcolor": "#506784",
"gridwidth": 2,
"linecolor": "#506784",
"showbackground": true,
"ticks": "",
"zerolinecolor": "#C8D4E3"
}
},
"shapedefaults": {
"line": {
"color": "#f2f5fa"
}
},
"sliderdefaults": {
"bgcolor": "#C8D4E3",
"bordercolor": "rgb(17,17,17)",
"borderwidth": 1,
"tickwidth": 0
},
"ternary": {
"aaxis": {
"gridcolor": "#506784",
"linecolor": "#506784",
"ticks": ""
},
"baxis": {
"gridcolor": "#506784",
"linecolor": "#506784",
"ticks": ""
},
"bgcolor": "rgb(17,17,17)",
"caxis": {
"gridcolor": "#506784",
"linecolor": "#506784",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"updatemenudefaults": {
"bgcolor": "#506784",
"borderwidth": 0
},
"xaxis": {
"automargin": true,
"gridcolor": "#283442",
"linecolor": "#506784",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "#283442",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "#283442",
"linecolor": "#506784",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "#283442",
"zerolinewidth": 2
}
}
},
"title": {
"font": {
"color": "white"
},
"text": "Daily Price Data"
},
"xaxis": {
"linecolor": "gray",
"linewidth": 1,
"mirror": true,
"showline": true,
"title": {
"text": "Date"
}
},
"yaxis": {
"linecolor": "gray",
"linewidth": 1,
"mirror": true,
"showline": true,
"title": {
"text": "Price"
}
}
}
},
"text/html": [
"<div> <div id=\"eefb52e9-fb9d-45b0-b96a-4d2fc2aeb761\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div> <script type=\"text/javascript\"> require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById(\"eefb52e9-fb9d-45b0-b96a-4d2fc2aeb761\")) { Plotly.newPlot( \"eefb52e9-fb9d-45b0-b96a-4d2fc2aeb761\", [{\"mode\":\"lines\",\"x\":[\"2021-01-04T00:00:00\",\"2021-01-05T00:00:00\",\"2021-01-06T00:00:00\",\"2021-01-07T00:00:00\",\"2021-01-08T00:00:00\",\"2021-01-11T00:00:00\",\"2021-01-12T00:00:00\",\"2021-01-13T00:00:00\",\"2021-01-14T00:00:00\",\"2021-01-15T00:00:00\",\"2021-01-19T00:00:00\",\"2021-01-20T00:00:00\",\"2021-01-21T00:00:00\",\"2021-01-22T00:00:00\",\"2021-01-25T00:00:00\",\"2021-01-26T00:00:00\",\"2021-01-27T00:00:00\",\"2021-01-28T00:00:00\",\"2021-01-29T00:00:00\",\"2021-02-01T00:00:00\",\"2021-02-02T00:00:00\",\"2021-02-03T00:00:00\",\"2021-02-04T00:00:00\",\"2021-02-05T00:00:00\",\"2021-02-08T00:00:00\",\"2021-02-09T00:00:00\",\"2021-02-10T00:00:00\",\"2021-02-11T00:00:00\",\"2021-02-12T00:00:00\",\"2021-02-16T00:00:00\",\"2021-02-17T00:00:00\",\"2021-02-18T00:00:00\",\"2021-02-19T00:00:00\",\"2021-02-22T00:00:00\",\"2021-02-23T00:00:00\",\"2021-02-24T00:00:00\",\"2021-02-25T00:00:00\",\"2021-02-26T00:00:00\",\"2021-03-01T00:00:00\",\"2021-03-02T00:00:00\",\"2021-03-03T00:00:00\",\"2021-03-04T00:00:00\",\"2021-03-05T00:00:00\",\"2021-03-08T00:00:00\",\"2021-03-09T00:00:00\",\"2021-03-10T00:00:00\",\"2021-03-11T00:00:00\",\"2021-03-12T00:00:00\",\"2021-03-15T00:00:00\",\"2021-03-16T00:00:00\",\"2021-03-17T00:00:00\",\"2021-03-18T00:00:00\",\"2021-03-19T00:00:00\",\"2021-03-22T00:00:00\",\"2021-03-23T00:00:00\",\"2021-03-24T00:00:00\",\"2021-03-25T00:00:00\",\"2021-03-26T00:00:00\",\"2021-03-29T00:00:00\",\"2021-03-30T00:00:00\",\"2021-03-31T00:00:00\",\"2021-04-01T00:00:00\",\"2021-04-05T00:00:00\",\"2021-04-06T00:00:00\",\"2021-04-07T00:00:00\",\"2021-04-08T00:00:00\",\"2021-04-09T00:00:00\",\"2021-04-12T00:00:00\",\"2021-04-13T00:00:00\",\"2021-04-14T00:00:00\",\"2021-04-15T00:00:00\",\"2021-04-16T00:00:00\",\"2021-04-19T00:00:00\",\"2021-04-20T00:00:00\",\"2021-04-21T00:00:00\",\"2021-04-22T00:00:00\",\"2021-04-23T00:00:00\",\"2021-04-26T00:00:00\",\"2021-04-27T00:00:00\",\"2021-04-28T00:00:00\",\"2021-04-29T00:00:00\",\"2021-04-30T00:00:00\",\"2021-05-03T00:00:00\",\"2021-05-04T00:00:00\",\"2021-05-05T00:00:00\",\"2021-05-06T00:00:00\",\"2021-05-07T00:00:00\",\"2021-05-10T00:00:00\",\"2021-05-11T00:00:00\",\"2021-05-12T00:00:00\",\"2021-05-13T00:00:00\",\"2021-05-14T00:00:00\",\"2021-05-17T00:00:00\",\"2021-05-18T00:00:00\",\"2021-05-19T00:00:00\",\"2021-05-20T00:00:00\",\"2021-05-21T00:00:00\",\"2021-05-24T00:00:00\",\"2021-05-25T00:00:00\",\"2021-05-26T00:00:00\",\"2021-05-27T00:00:00\",\"2021-05-28T00:00:00\",\"2021-06-01T00:00:00\",\"2021-06-02T00:00:00\",\"2021-06-03T00:00:00\",\"2021-06-04T00:00:00\",\"2021-06-07T00:00:00\",\"2021-06-08T00:00:00\",\"2021-06-09T00:00:00\",\"2021-06-10T00:00:00\",\"2021-06-11T00:00:00\",\"2021-06-14T00:00:00\",\"2021-06-15T00:00:00\",\"2021-06-16T00:00:00\",\"2021-06-17T00:00:00\",\"2021-06-18T00:00:00\",\"2021-06-21T00:00:00\",\"2021-06-22T00:00:00\",\"2021-06-23T00:00:00\",\"2021-06-24T00:00:00\",\"2021-06-25T00:00:00\",\"2021-06-28T00:00:00\",\"2021-06-29T00:00:00\",\"2021-06-30T00:00:00\",\"2021-07-01T00:00:00\",\"2021-07-02T00:00:00\",\"2021-07-06T00:00:00\",\"2021-07-07T00:00:00\",\"2021-07-08T00:00:00\",\"2021-07-09T00:00:00\",\"2021-07-12T00:00:00\",\"2021-07-13T00:00:00\",\"2021-07-14T00:00:00\",\"2021-07-15T00:00:00\",\"2021-07-16T00:00:00\",\"2021-07-19T00:00:00\",\"2021-07-20T00:00:00\",\"2021-07-21T00:00:00\",\"2021-07-22T00:00:00\",\"2021-07-23T00:00:00\",\"2021-07-26T00:00:00\",\"2021-07-27T00:00:00\",\"2021-07-28T00:00:00\",\"2021-07-29T00:00:00\",\"2021-07-30T00:00:00\",\"2021-08-02T00:00:00\",\"2021-08-03T00:00:00\",\"2021-08-04T00:00:00\",\"2021-08-05T00:00:00\",\"2021-08-06T00:00:00\",\"2021-08-09T00:00:00\",\"2021-08-10T00:00:00\",\"2021-08-11T00:00:00\",\"2021-08-12T00:00:00\",\"2021-08-13T00:00:00\",\"2021-08-16T00:00:00\",\"2021-08-17T00:00:00\",\"2021-08-18T00:00:00\",\"2021-08-19T00:00:00\",\"2021-08-20T00:00:00\",\"2021-08-23T00:00:00\",\"2021-08-24T00:00:00\",\"2021-08-25T00:00:00\",\"2021-08-26T00:00:00\",\"2021-08-27T00:00:00\",\"2021-08-30T00:00:00\",\"2021-08-31T00:00:00\",\"2021-09-01T00:00:00\",\"2021-09-02T00:00:00\",\"2021-09-03T00:00:00\",\"2021-09-07T00:00:00\",\"2021-09-08T00:00:00\",\"2021-09-09T00:00:00\",\"2021-09-10T00:00:00\",\"2021-09-13T00:00:00\",\"2021-09-14T00:00:00\",\"2021-09-15T00:00:00\",\"2021-09-16T00:00:00\",\"2021-09-17T00:00:00\",\"2021-09-20T00:00:00\",\"2021-09-21T00:00:00\",\"2021-09-22T00:00:00\",\"2021-09-23T00:00:00\",\"2021-09-24T00:00:00\",\"2021-09-27T00:00:00\",\"2021-09-28T00:00:00\",\"2021-09-29T00:00:00\",\"2021-09-30T00:00:00\",\"2021-10-01T00:00:00\",\"2021-10-04T00:00:00\",\"2021-10-05T00:00:00\",\"2021-10-06T00:00:00\",\"2021-10-07T00:00:00\",\"2021-10-08T00:00:00\",\"2021-10-11T00:00:00\",\"2021-10-12T00:00:00\",\"2021-10-13T00:00:00\",\"2021-10-14T00:00:00\",\"2021-10-15T00:00:00\",\"2021-10-18T00:00:00\",\"2021-10-19T00:00:00\",\"2021-10-20T00:00:00\",\"2021-10-21T00:00:00\",\"2021-10-22T00:00:00\",\"2021-10-25T00:00:00\",\"2021-10-26T00:00:00\",\"2021-10-27T00:00:00\",\"2021-10-28T00:00:00\",\"2021-10-29T00:00:00\",\"2021-11-01T00:00:00\",\"2021-11-02T00:00:00\",\"2021-11-03T00:00:00\",\"2021-11-04T00:00:00\",\"2021-11-05T00:00:00\",\"2021-11-08T00:00:00\",\"2021-11-09T00:00:00\",\"2021-11-10T00:00:00\",\"2021-11-11T00:00:00\",\"2021-11-12T00:00:00\",\"2021-11-15T00:00:00\",\"2021-11-16T00:00:00\",\"2021-11-17T00:00:00\",\"2021-11-18T00:00:00\",\"2021-11-19T00:00:00\",\"2021-11-22T00:00:00\",\"2021-11-23T00:00:00\",\"2021-11-24T00:00:00\",\"2021-11-26T00:00:00\",\"2021-11-29T00:00:00\",\"2021-11-30T00:00:00\",\"2021-12-01T00:00:00\",\"2021-12-02T00:00:00\",\"2021-12-03T00:00:00\",\"2021-12-06T00:00:00\",\"2021-12-07T00:00:00\",\"2021-12-08T00:00:00\",\"2021-12-09T00:00:00\",\"2021-12-10T00:00:00\",\"2021-12-13T00:00:00\",\"2021-12-14T00:00:00\",\"2021-12-15T00:00:00\",\"2021-12-16T00:00:00\",\"2021-12-17T00:00:00\",\"2021-12-20T00:00:00\",\"2021-12-21T00:00:00\",\"2021-12-22T00:00:00\",\"2021-12-23T00:00:00\",\"2021-12-27T00:00:00\",\"2021-12-28T00:00:00\",\"2021-12-29T00:00:00\",\"2021-12-30T00:00:00\",\"2021-12-31T00:00:00\",\"2022-01-03T00:00:00\",\"2022-01-04T00:00:00\",\"2022-01-05T00:00:00\",\"2022-01-06T00:00:00\",\"2022-01-07T00:00:00\",\"2022-01-10T00:00:00\",\"2022-01-11T00:00:00\",\"2022-01-12T00:00:00\",\"2022-01-13T00:00:00\",\"2022-01-14T00:00:00\",\"2022-01-18T00:00:00\",\"2022-01-19T00:00:00\",\"2022-01-20T00:00:00\",\"2022-01-21T00:00:00\",\"2022-01-24T00:00:00\",\"2022-01-25T00:00:00\",\"2022-01-26T00:00:00\",\"2022-01-27T00:00:00\",\"2022-01-28T00:00:00\",\"2022-01-31T00:00:00\",\"2022-02-01T00:00:00\",\"2022-02-02T00:00:00\",\"2022-02-03T00:00:00\",\"2022-02-04T00:00:00\",\"2022-02-07T00:00:00\",\"2022-02-08T00:00:00\",\"2022-02-09T00:00:00\",\"2022-02-10T00:00:00\",\"2022-02-11T00:00:00\",\"2022-02-14T00:00:00\",\"2022-02-15T00:00:00\",\"2022-02-16T00:00:00\",\"2022-02-17T00:00:00\",\"2022-02-18T00:00:00\",\"2022-02-22T00:00:00\",\"2022-02-23T00:00:00\",\"2022-02-24T00:00:00\",\"2022-02-25T00:00:00\",\"2022-02-28T00:00:00\",\"2022-03-01T00:00:00\",\"2022-03-02T00:00:00\",\"2022-03-03T00:00:00\",\"2022-03-04T00:00:00\",\"2022-03-07T00:00:00\",\"2022-03-08T00:00:00\",\"2022-03-09T00:00:00\",\"2022-03-10T00:00:00\",\"2022-03-11T00:00:00\",\"2022-03-14T00:00:00\",\"2022-03-15T00:00:00\",\"2022-03-16T00:00:00\",\"2022-03-17T00:00:00\",\"2022-03-18T00:00:00\",\"2022-03-21T00:00:00\",\"2022-03-22T00:00:00\",\"2022-03-23T00:00:00\",\"2022-03-24T00:00:00\",\"2022-03-25T00:00:00\",\"2022-03-28T00:00:00\",\"2022-03-29T00:00:00\",\"2022-03-30T00:00:00\",\"2022-03-31T00:00:00\",\"2022-04-01T00:00:00\",\"2022-04-04T00:00:00\",\"2022-04-05T00:00:00\",\"2022-04-06T00:00:00\",\"2022-04-07T00:00:00\",\"2022-04-08T00:00:00\",\"2022-04-11T00:00:00\",\"2022-04-12T00:00:00\",\"2022-04-13T00:00:00\",\"2022-04-14T00:00:00\",\"2022-04-18T00:00:00\",\"2022-04-19T00:00:00\",\"2022-04-20T00:00:00\",\"2022-04-21T00:00:00\",\"2022-04-22T00:00:00\",\"2022-04-25T00:00:00\",\"2022-04-26T00:00:00\",\"2022-04-27T00:00:00\",\"2022-04-28T00:00:00\",\"2022-04-29T00:00:00\",\"2022-05-02T00:00:00\",\"2022-05-03T00:00:00\",\"2022-05-04T00:00:00\",\"2022-05-05T00:00:00\",\"2022-05-06T00:00:00\",\"2022-05-09T00:00:00\",\"2022-05-10T00:00:00\",\"2022-05-11T00:00:00\",\"2022-05-12T00:00:00\",\"2022-05-13T00:00:00\",\"2022-05-16T00:00:00\",\"2022-05-17T00:00:00\",\"2022-05-18T00:00:00\",\"2022-05-19T00:00:00\",\"2022-05-20T00:00:00\",\"2022-05-23T00:00:00\",\"2022-05-24T00:00:00\",\"2022-05-25T00:00:00\",\"2022-05-26T00:00:00\",\"2022-05-27T00:00:00\",\"2022-05-31T00:00:00\",\"2022-06-01T00:00:00\",\"2022-06-02T00:00:00\",\"2022-06-03T00:00:00\",\"2022-06-06T00:00:00\",\"2022-06-07T00:00:00\",\"2022-06-08T00:00:00\",\"2022-06-09T00:00:00\",\"2022-06-10T00:00:00\",\"2022-06-13T00:00:00\",\"2022-06-14T00:00:00\",\"2022-06-15T00:00:00\",\"2022-06-16T00:00:00\",\"2022-06-17T00:00:00\",\"2022-06-21T00:00:00\",\"2022-06-22T00:00:00\",\"2022-06-23T00:00:00\",\"2022-06-24T00:00:00\",\"2022-06-27T00:00:00\",\"2022-06-28T00:00:00\",\"2022-06-29T00:00:00\",\"2022-06-30T00:00:00\",\"2022-07-01T00:00:00\",\"2022-07-05T00:00:00\",\"2022-07-06T00:00:00\",\"2022-07-07T00:00:00\",\"2022-07-08T00:00:00\",\"2022-07-11T00:00:00\",\"2022-07-12T00:00:00\",\"2022-07-13T00:00:00\",\"2022-07-14T00:00:00\",\"2022-07-15T00:00:00\",\"2022-07-18T00:00:00\",\"2022-07-19T00:00:00\",\"2022-07-20T00:00:00\",\"2022-07-21T00:00:00\",\"2022-07-22T00:00:00\",\"2022-07-25T00:00:00\",\"2022-07-26T00:00:00\",\"2022-07-27T00:00:00\",\"2022-07-28T00:00:00\",\"2022-07-29T00:00:00\",\"2022-08-01T00:00:00\",\"2022-08-02T00:00:00\",\"2022-08-03T00:00:00\",\"2022-08-04T00:00:00\",\"2022-08-05T00:00:00\",\"2022-08-08T00:00:00\",\"2022-08-09T00:00:00\",\"2022-08-10T00:00:00\",\"2022-08-11T00:00:00\",\"2022-08-12T00:00:00\",\"2022-08-15T00:00:00\",\"2022-08-16T00:00:00\",\"2022-08-17T00:00:00\",\"2022-08-18T00:00:00\",\"2022-08-19T00:00:00\",\"2022-08-22T00:00:00\",\"2022-08-23T00:00:00\",\"2022-08-24T00:00:00\",\"2022-08-25T00:00:00\",\"2022-08-26T00:00:00\",\"2022-08-29T00:00:00\",\"2022-08-30T00:00:00\",\"2022-08-31T00:00:00\",\"2022-09-01T00:00:00\",\"2022-09-02T00:00:00\",\"2022-09-06T00:00:00\",\"2022-09-07T00:00:00\",\"2022-09-08T00:00:00\",\"2022-09-09T00:00:00\",\"2022-09-12T00:00:00\",\"2022-09-13T00:00:00\",\"2022-09-14T00:00:00\",\"2022-09-15T00:00:00\",\"2022-09-16T00:00:00\",\"2022-09-19T00:00:00\",\"2022-09-20T00:00:00\",\"2022-09-21T00:00:00\",\"2022-09-22T00:00:00\",\"2022-09-23T00:00:00\",\"2022-09-26T00:00:00\",\"2022-09-27T00:00:00\",\"2022-09-28T00:00:00\",\"2022-09-29T00:00:00\",\"2022-09-30T00:00:00\",\"2022-10-03T00:00:00\",\"2022-10-04T00:00:00\",\"2022-10-05T00:00:00\",\"2022-10-06T00:00:00\",\"2022-10-07T00:00:00\",\"2022-10-10T00:00:00\",\"2022-10-11T00:00:00\",\"2022-10-12T00:00:00\",\"2022-10-13T00:00:00\",\"2022-10-14T00:00:00\",\"2022-10-17T00:00:00\",\"2022-10-18T00:00:00\",\"2022-10-19T00:00:00\",\"2022-10-20T00:00:00\",\"2022-10-21T00:00:00\",\"2022-10-24T00:00:00\",\"2022-10-25T00:00:00\",\"2022-10-26T00:00:00\",\"2022-10-27T00:00:00\",\"2022-10-28T00:00:00\",\"2022-10-31T00:00:00\",\"2022-11-01T00:00:00\",\"2022-11-02T00:00:00\",\"2022-11-03T00:00:00\",\"2022-11-04T00:00:00\",\"2022-11-07T00:00:00\",\"2022-11-08T00:00:00\",\"2022-11-09T00:00:00\",\"2022-11-10T00:00:00\",\"2022-11-11T00:00:00\",\"2022-11-14T00:00:00\",\"2022-11-15T00:00:00\",\"2022-11-16T00:00:00\",\"2022-11-17T00:00:00\",\"2022-11-18T00:00:00\",\"2022-11-21T00:00:00\",\"2022-11-22T00:00:00\",\"2022-11-23T00:00:00\",\"2022-11-25T00:00:00\",\"2022-11-28T00:00:00\",\"2022-11-29T00:00:00\",\"2022-11-30T00:00:00\",\"2022-12-01T00:00:00\",\"2022-12-02T00:00:00\",\"2022-12-05T00:00:00\",\"2022-12-06T00:00:00\",\"2022-12-07T00:00:00\",\"2022-12-08T00:00:00\",\"2022-12-09T00:00:00\",\"2022-12-12T00:00:00\",\"2022-12-13T00:00:00\",\"2022-12-14T00:00:00\",\"2022-12-15T00:00:00\",\"2022-12-16T00:00:00\",\"2022-12-19T00:00:00\",\"2022-12-20T00:00:00\",\"2022-12-21T00:00:00\",\"2022-12-22T00:00:00\",\"2022-12-23T00:00:00\",\"2022-12-27T00:00:00\",\"2022-12-28T00:00:00\",\"2022-12-29T00:00:00\",\"2022-12-30T00:00:00\"],\"y\":[368.79,371.33,373.55,379.1,381.26,378.69,378.77,379.79,378.46,375.7,378.65,383.89,384.24,382.88,384.39,383.79,374.41,377.63,370.07,376.23,381.55,381.85,386.19,387.71,390.51,390.25,390.08,390.71,392.64,392.3,392.39,390.72,390.03,387.03,387.5,391.77,382.33,380.36,389.58,386.54,381.42,376.7,383.63,381.72,387.17,389.58,393.53,394.06,396.41,395.91,397.26,391.48,389.48,392.59,389.5,387.52,389.7,395.98,395.78,394.73,396.33,400.61,406.36,406.12,406.59,408.52,411.49,411.64,412.86,411.45,415.87,417.26,415.21,412.17,416.07,412.27,416.74,417.61,417.52,417.4,420.06,417.3,418.2,415.62,415.75,419.07,422.12,417.94,414.21,405.41,410.28,416.58,415.52,411.94,410.86,415.28,414.94,419.17,418.24,419.07,419.29,420.04,419.67,420.33,418.77,422.6,422.19,422.28,421.65,423.61,424.31,425.26,424.48,422.11,421.97,414.92,420.86,423.11,422.6,425.1,426.61,427.47,427.7,428.06,430.43,433.72,432.93,434.46,430.92,435.52,437.08,435.59,436.24,434.75,431.34,424.97,431.06,434.55,435.46,439.94,441.02,439.01,438.83,440.65,438.51,437.59,441.15,438.98,441.76,442.49,442.13,442.68,443.78,445.11,445.92,446.97,444.04,439.18,439.86,443.36,447.26,447.97,448.91,446.26,450.25,452.23,451.56,451.8,453.19,453.08,451.46,450.91,448.98,445.44,446.58,444.17,447.88,447.17,441.4,434.04,433.63,437.86,443.18,443.91,442.64,433.72,434.45,429.14,434.24,428.64,433.1,434.9,438.66,437.86,434.69,433.62,435.18,442.5,445.87,447.19,450.64,452.41,453.59,453.12,455.55,455.96,453.94,458.32,459.25,460.04,461.9,464.72,466.91,468.53,468.93,467.38,463.62,463.77,467.27,467.43,469.28,468.14,469.73,468.89,467.57,468.19,469.44,458.97,464.6,455.56,450.5,457.4,453.42,458.79,468.28,469.52,466.35,470.74,466.57,463.36,470.6,466.45,459.87,454.98,463.06,467.69,470.6,477.26,476.87,477.48,476.16,474.96,477.71,477.55,468.38,467.94,466.09,465.51,469.75,471.02,464.53,464.72,456.49,451.75,446.75,437.98,439.84,434.47,433.38,431.24,441.95,449.91,452.95,457.35,446.6,448.7,447.26,450.94,457.54,449.32,440.46,439.02,446.1,446.6,437.06,434.23,429.57,421.95,428.3,437.75,436.63,429.98,437.89,435.71,432.17,419.43,416.25,427.41,425.48,420.07,417.0,426.17,435.62,441.07,444.52,444.39,449.59,443.8,450.49,452.69,455.91,461.55,458.7,451.64,452.92,456.8,451.03,446.52,448.77,447.57,439.92,438.29,443.31,437.79,437.97,445.04,444.71,438.06,426.04,428.51,416.1,417.27,427.81,412.0,414.48,416.38,429.06,413.81,411.34,398.17,399.09,392.75,392.34,401.72,400.09,408.32,391.86,389.46,389.63,396.92,393.89,397.37,405.31,415.26,412.93,409.59,417.39,410.54,411.79,415.74,411.22,401.44,389.8,375.0,373.87,379.2,366.65,365.86,375.07,374.39,378.06,390.08,388.59,380.65,380.34,377.25,381.24,381.96,383.25,388.99,388.67,384.23,380.83,378.83,377.91,385.13,381.95,392.27,394.77,398.79,395.09,395.57,390.89,401.04,406.07,411.99,410.77,408.06,414.45,414.17,413.47,412.99,411.35,419.99,419.99,427.1,428.86,429.7,426.65,427.89,422.14,413.35,412.35,413.67,419.51,405.31,402.63,398.21,395.18,396.42,392.24,390.76,397.78,400.38,406.6,410.97,393.1,394.6,390.12,385.56,388.55,384.09,377.39,374.22,367.95,364.31,363.38,370.53,362.79,357.18,366.61,377.97,377.09,373.2,362.79,360.02,357.74,356.56,365.97,357.63,366.82,371.13,368.5,365.41,374.29,378.87,384.92,382.02,379.98,389.02,386.21,384.52,374.87,371.01,376.35,379.95,382.0,374.13,394.69,398.51,395.12,398.49,395.45,394.24,396.03,394.59,399.9,402.42,402.33,395.91,395.23,407.68,407.38,406.91,399.59,393.83,393.16,396.24,393.28,398.95,401.97,399.4,389.63,383.27,380.02,380.54,386.23,380.72,382.91,381.4,376.66,383.44,382.43],\"type\":\"scatter\",\"line\":{\"color\":\"#FFA15A\",\"width\":1},\"marker\":{\"color\":\"#FFA15A\"}}], {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"rgb(17,17,17)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"#f2f5fa\"},\"error_y\":{\"color\":\"#f2f5fa\"},\"marker\":{\"line\":{\"color\":\"rgb(17,17,17)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"#A2B1C6\",\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"minorgridcolor\":\"#506784\",\"startlinecolor\":\"#A2B1C6\"},\"baxis\":{\"endlinecolor\":\"#A2B1C6\",\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"minorgridcolor\":\"#506784\",\"startlinecolor\":\"#A2B1C6\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":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\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":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\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":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\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":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\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":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\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"line\":{\"color\":\"#283442\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"marker\":{\"line\":{\"color\":\"#283442\"}},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":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\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"#506784\"},\"line\":{\"color\":\"rgb(17,17,17)\"}},\"header\":{\"fill\":{\"color\":\"#2a3f5f\"},\"line\":{\"color\":\"rgb(17,17,17)\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowcolor\":\"#f2f5fa\",\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"colorscale\":{\"diverging\":[[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,\"#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\"]]},\"colorway\":[\"#636efa\",\"#EF553B\",\"#00cc96\",\"#ab63fa\",\"#FFA15A\",\"#19d3f3\",\"#FF6692\",\"#B6E880\",\"#FF97FF\",\"#FECB52\"],\"font\":{\"color\":\"#f2f5fa\"},\"geo\":{\"bgcolor\":\"rgb(17,17,17)\",\"lakecolor\":\"rgb(17,17,17)\",\"landcolor\":\"rgb(17,17,17)\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"#506784\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"mapbox\":{\"style\":\"dark\"},\"paper_bgcolor\":\"rgb(17,17,17)\",\"plot_bgcolor\":\"rgb(17,17,17)\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"ticks\":\"\"},\"bgcolor\":\"rgb(17,17,17)\",\"radialaxis\":{\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"ticks\":\"\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"rgb(17,17,17)\",\"gridcolor\":\"#506784\",\"gridwidth\":2,\"linecolor\":\"#506784\",\"showbackground\":true,\"ticks\":\"\",\"zerolinecolor\":\"#C8D4E3\"},\"yaxis\":{\"backgroundcolor\":\"rgb(17,17,17)\",\"gridcolor\":\"#506784\",\"gridwidth\":2,\"linecolor\":\"#506784\",\"showbackground\":true,\"ticks\":\"\",\"zerolinecolor\":\"#C8D4E3\"},\"zaxis\":{\"backgroundcolor\":\"rgb(17,17,17)\",\"gridcolor\":\"#506784\",\"gridwidth\":2,\"linecolor\":\"#506784\",\"showbackground\":true,\"ticks\":\"\",\"zerolinecolor\":\"#C8D4E3\"}},\"shapedefaults\":{\"line\":{\"color\":\"#f2f5fa\"}},\"sliderdefaults\":{\"bgcolor\":\"#C8D4E3\",\"bordercolor\":\"rgb(17,17,17)\",\"borderwidth\":1,\"tickwidth\":0},\"ternary\":{\"aaxis\":{\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"ticks\":\"\"},\"baxis\":{\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"ticks\":\"\"},\"bgcolor\":\"rgb(17,17,17)\",\"caxis\":{\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"ticks\":\"\"}},\"title\":{\"x\":0.05},\"updatemenudefaults\":{\"bgcolor\":\"#506784\",\"borderwidth\":0},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"#283442\",\"linecolor\":\"#506784\",\"ticks\":\"\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"#283442\",\"zerolinewidth\":2},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"#283442\",\"linecolor\":\"#506784\",\"ticks\":\"\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"#283442\",\"zerolinewidth\":2}}},\"xaxis\":{\"showline\":true,\"linewidth\":1,\"linecolor\":\"gray\",\"mirror\":true,\"title\":{\"text\":\"Date\"}},\"yaxis\":{\"showline\":true,\"linewidth\":1,\"linecolor\":\"gray\",\"mirror\":true,\"title\":{\"text\":\"Price\"}},\"font\":{\"color\":\"gray\"},\"title\":{\"text\":\"Daily Price Data\",\"font\":{\"color\":\"white\"}}}, {\"responsive\": true} ).then(function(){\n",
" \n",
"var gd = document.getElementById('eefb52e9-fb9d-45b0-b96a-4d2fc2aeb761');\n",
"var x = new MutationObserver(function (mutations, observer) {{\n",
" var display = window.getComputedStyle(gd).display;\n",
" if (!display || display === 'none') {{\n",
" console.log([gd, 'removed!']);\n",
" Plotly.purge(gd);\n",
" observer.disconnect();\n",
" }}\n",
"}});\n",
"\n",
"// Listen for the removal of the full notebook cells\n",
"var notebookContainer = gd.closest('#notebook-container');\n",
"if (notebookContainer) {{\n",
" x.observe(notebookContainer, {childList: true});\n",
"}}\n",
"\n",
"// Listen for the clearing of the current output cell\n",
"var outputEl = gd.closest('.output');\n",
"if (outputEl) {{\n",
" x.observe(outputEl, {childList: true});\n",
"}}\n",
"\n",
" }) }; }); </script> </div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"df = daydf\n",
"fig = go.Figure()\n",
"fig.add_trace(go.Scatter(x=df.date, y=df.close, mode='lines'))\n",
"style_and_save_chart(fig, title='Daily Price Data')"
]
},
{
"cell_type": "code",
"execution_count": 35,
"id": "98c4fa5d",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "#FFA15A",
"width": 1
},
"marker": {
"color": "#FFA15A"
},
"mode": "lines",
"type": "scatter",
"x": [
"2021-05-24T00:00:00",
"2021-05-25T00:00:00",
"2021-05-26T00:00:00",
"2021-05-27T00:00:00",
"2021-05-28T00:00:00",
"2021-06-01T00:00:00",
"2021-06-02T00:00:00",
"2021-06-03T00:00:00",
"2021-06-04T00:00:00",
"2021-06-07T00:00:00",
"2021-06-08T00:00:00",
"2021-06-09T00:00:00",
"2021-06-10T00:00:00",
"2021-06-11T00:00:00",
"2021-06-14T00:00:00",
"2021-06-15T00:00:00",
"2021-06-16T00:00:00",
"2021-06-17T00:00:00",
"2021-06-18T00:00:00"
],
"y": [
419.17,
418.24,
419.07,
419.29,
420.04,
419.67,
420.33,
418.77,
422.6,
422.19,
422.28,
421.65,
423.61,
424.31,
425.26,
424.48,
422.11,
421.97,
414.92
]
}
],
"layout": {
"font": {
"color": "gray"
},
"template": {
"data": {
"bar": [
{
"error_x": {
"color": "#f2f5fa"
},
"error_y": {
"color": "#f2f5fa"
},
"marker": {
"line": {
"color": "rgb(17,17,17)",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "bar"
}
],
"barpolar": [
{
"marker": {
"line": {
"color": "rgb(17,17,17)",
"width": 0.5
},
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "barpolar"
}
],
"carpet": [
{
"aaxis": {
"endlinecolor": "#A2B1C6",
"gridcolor": "#506784",
"linecolor": "#506784",
"minorgridcolor": "#506784",
"startlinecolor": "#A2B1C6"
},
"baxis": {
"endlinecolor": "#A2B1C6",
"gridcolor": "#506784",
"linecolor": "#506784",
"minorgridcolor": "#506784",
"startlinecolor": "#A2B1C6"
},
"type": "carpet"
}
],
"choropleth": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "choropleth"
}
],
"contour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
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,
"#f0f921"
]
],
"type": "contour"
}
],
"contourcarpet": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "contourcarpet"
}
],
"heatmap": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
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,
"#f0f921"
]
],
"type": "heatmap"
}
],
"heatmapgl": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
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,
"#f0f921"
]
],
"type": "heatmapgl"
}
],
"histogram": [
{
"marker": {
"pattern": {
"fillmode": "overlay",
"size": 10,
"solidity": 0.2
}
},
"type": "histogram"
}
],
"histogram2d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
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,
"#f0f921"
]
],
"type": "histogram2d"
}
],
"histogram2dcontour": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
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,
"#f0f921"
]
],
"type": "histogram2dcontour"
}
],
"mesh3d": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"type": "mesh3d"
}
],
"parcoords": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "parcoords"
}
],
"pie": [
{
"automargin": true,
"type": "pie"
}
],
"scatter": [
{
"marker": {
"line": {
"color": "#283442"
}
},
"type": "scatter"
}
],
"scatter3d": [
{
"line": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatter3d"
}
],
"scattercarpet": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattercarpet"
}
],
"scattergeo": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattergeo"
}
],
"scattergl": [
{
"marker": {
"line": {
"color": "#283442"
}
},
"type": "scattergl"
}
],
"scattermapbox": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scattermapbox"
}
],
"scatterpolar": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolar"
}
],
"scatterpolargl": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterpolargl"
}
],
"scatterternary": [
{
"marker": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"type": "scatterternary"
}
],
"surface": [
{
"colorbar": {
"outlinewidth": 0,
"ticks": ""
},
"colorscale": [
[
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,
"#f0f921"
]
],
"type": "surface"
}
],
"table": [
{
"cells": {
"fill": {
"color": "#506784"
},
"line": {
"color": "rgb(17,17,17)"
}
},
"header": {
"fill": {
"color": "#2a3f5f"
},
"line": {
"color": "rgb(17,17,17)"
}
},
"type": "table"
}
]
},
"layout": {
"annotationdefaults": {
"arrowcolor": "#f2f5fa",
"arrowhead": 0,
"arrowwidth": 1
},
"autotypenumbers": "strict",
"coloraxis": {
"colorbar": {
"outlinewidth": 0,
"ticks": ""
}
},
"colorscale": {
"diverging": [
[
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,
"#276419"
]
],
"sequential": [
[
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,
"#f0f921"
]
],
"sequentialminus": [
[
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,
"#f0f921"
]
]
},
"colorway": [
"#636efa",
"#EF553B",
"#00cc96",
"#ab63fa",
"#FFA15A",
"#19d3f3",
"#FF6692",
"#B6E880",
"#FF97FF",
"#FECB52"
],
"font": {
"color": "#f2f5fa"
},
"geo": {
"bgcolor": "rgb(17,17,17)",
"lakecolor": "rgb(17,17,17)",
"landcolor": "rgb(17,17,17)",
"showlakes": true,
"showland": true,
"subunitcolor": "#506784"
},
"hoverlabel": {
"align": "left"
},
"hovermode": "closest",
"mapbox": {
"style": "dark"
},
"paper_bgcolor": "rgb(17,17,17)",
"plot_bgcolor": "rgb(17,17,17)",
"polar": {
"angularaxis": {
"gridcolor": "#506784",
"linecolor": "#506784",
"ticks": ""
},
"bgcolor": "rgb(17,17,17)",
"radialaxis": {
"gridcolor": "#506784",
"linecolor": "#506784",
"ticks": ""
}
},
"scene": {
"xaxis": {
"backgroundcolor": "rgb(17,17,17)",
"gridcolor": "#506784",
"gridwidth": 2,
"linecolor": "#506784",
"showbackground": true,
"ticks": "",
"zerolinecolor": "#C8D4E3"
},
"yaxis": {
"backgroundcolor": "rgb(17,17,17)",
"gridcolor": "#506784",
"gridwidth": 2,
"linecolor": "#506784",
"showbackground": true,
"ticks": "",
"zerolinecolor": "#C8D4E3"
},
"zaxis": {
"backgroundcolor": "rgb(17,17,17)",
"gridcolor": "#506784",
"gridwidth": 2,
"linecolor": "#506784",
"showbackground": true,
"ticks": "",
"zerolinecolor": "#C8D4E3"
}
},
"shapedefaults": {
"line": {
"color": "#f2f5fa"
}
},
"sliderdefaults": {
"bgcolor": "#C8D4E3",
"bordercolor": "rgb(17,17,17)",
"borderwidth": 1,
"tickwidth": 0
},
"ternary": {
"aaxis": {
"gridcolor": "#506784",
"linecolor": "#506784",
"ticks": ""
},
"baxis": {
"gridcolor": "#506784",
"linecolor": "#506784",
"ticks": ""
},
"bgcolor": "rgb(17,17,17)",
"caxis": {
"gridcolor": "#506784",
"linecolor": "#506784",
"ticks": ""
}
},
"title": {
"x": 0.05
},
"updatemenudefaults": {
"bgcolor": "#506784",
"borderwidth": 0
},
"xaxis": {
"automargin": true,
"gridcolor": "#283442",
"linecolor": "#506784",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "#283442",
"zerolinewidth": 2
},
"yaxis": {
"automargin": true,
"gridcolor": "#283442",
"linecolor": "#506784",
"ticks": "",
"title": {
"standoff": 15
},
"zerolinecolor": "#283442",
"zerolinewidth": 2
}
}
},
"title": {
"font": {
"color": "white"
},
"text": "Daily Price Data - Zoomed In"
},
"xaxis": {
"dtick": 86400000,
"linecolor": "gray",
"linewidth": 1,
"mirror": true,
"showline": true,
"tick0": "2021-05-24T00:00:00",
"title": {
"text": "Date"
}
},
"yaxis": {
"linecolor": "gray",
"linewidth": 1,
"mirror": true,
"showline": true,
"title": {
"text": "Price"
}
}
}
},
"text/html": [
"<div> <div id=\"22b06195-938c-4e15-a41e-4873203c9849\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div> <script type=\"text/javascript\"> require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById(\"22b06195-938c-4e15-a41e-4873203c9849\")) { Plotly.newPlot( \"22b06195-938c-4e15-a41e-4873203c9849\", [{\"mode\":\"lines\",\"x\":[\"2021-05-24T00:00:00\",\"2021-05-25T00:00:00\",\"2021-05-26T00:00:00\",\"2021-05-27T00:00:00\",\"2021-05-28T00:00:00\",\"2021-06-01T00:00:00\",\"2021-06-02T00:00:00\",\"2021-06-03T00:00:00\",\"2021-06-04T00:00:00\",\"2021-06-07T00:00:00\",\"2021-06-08T00:00:00\",\"2021-06-09T00:00:00\",\"2021-06-10T00:00:00\",\"2021-06-11T00:00:00\",\"2021-06-14T00:00:00\",\"2021-06-15T00:00:00\",\"2021-06-16T00:00:00\",\"2021-06-17T00:00:00\",\"2021-06-18T00:00:00\"],\"y\":[419.17,418.24,419.07,419.29,420.04,419.67,420.33,418.77,422.6,422.19,422.28,421.65,423.61,424.31,425.26,424.48,422.11,421.97,414.92],\"type\":\"scatter\",\"line\":{\"color\":\"#FFA15A\",\"width\":1},\"marker\":{\"color\":\"#FFA15A\"}}], {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"rgb(17,17,17)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"#f2f5fa\"},\"error_y\":{\"color\":\"#f2f5fa\"},\"marker\":{\"line\":{\"color\":\"rgb(17,17,17)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"#A2B1C6\",\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"minorgridcolor\":\"#506784\",\"startlinecolor\":\"#A2B1C6\"},\"baxis\":{\"endlinecolor\":\"#A2B1C6\",\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"minorgridcolor\":\"#506784\",\"startlinecolor\":\"#A2B1C6\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":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\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":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\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":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\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":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\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":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\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"line\":{\"color\":\"#283442\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"marker\":{\"line\":{\"color\":\"#283442\"}},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":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\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"#506784\"},\"line\":{\"color\":\"rgb(17,17,17)\"}},\"header\":{\"fill\":{\"color\":\"#2a3f5f\"},\"line\":{\"color\":\"rgb(17,17,17)\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowcolor\":\"#f2f5fa\",\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"colorscale\":{\"diverging\":[[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,\"#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\"]]},\"colorway\":[\"#636efa\",\"#EF553B\",\"#00cc96\",\"#ab63fa\",\"#FFA15A\",\"#19d3f3\",\"#FF6692\",\"#B6E880\",\"#FF97FF\",\"#FECB52\"],\"font\":{\"color\":\"#f2f5fa\"},\"geo\":{\"bgcolor\":\"rgb(17,17,17)\",\"lakecolor\":\"rgb(17,17,17)\",\"landcolor\":\"rgb(17,17,17)\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"#506784\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"mapbox\":{\"style\":\"dark\"},\"paper_bgcolor\":\"rgb(17,17,17)\",\"plot_bgcolor\":\"rgb(17,17,17)\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"ticks\":\"\"},\"bgcolor\":\"rgb(17,17,17)\",\"radialaxis\":{\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"ticks\":\"\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"rgb(17,17,17)\",\"gridcolor\":\"#506784\",\"gridwidth\":2,\"linecolor\":\"#506784\",\"showbackground\":true,\"ticks\":\"\",\"zerolinecolor\":\"#C8D4E3\"},\"yaxis\":{\"backgroundcolor\":\"rgb(17,17,17)\",\"gridcolor\":\"#506784\",\"gridwidth\":2,\"linecolor\":\"#506784\",\"showbackground\":true,\"ticks\":\"\",\"zerolinecolor\":\"#C8D4E3\"},\"zaxis\":{\"backgroundcolor\":\"rgb(17,17,17)\",\"gridcolor\":\"#506784\",\"gridwidth\":2,\"linecolor\":\"#506784\",\"showbackground\":true,\"ticks\":\"\",\"zerolinecolor\":\"#C8D4E3\"}},\"shapedefaults\":{\"line\":{\"color\":\"#f2f5fa\"}},\"sliderdefaults\":{\"bgcolor\":\"#C8D4E3\",\"bordercolor\":\"rgb(17,17,17)\",\"borderwidth\":1,\"tickwidth\":0},\"ternary\":{\"aaxis\":{\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"ticks\":\"\"},\"baxis\":{\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"ticks\":\"\"},\"bgcolor\":\"rgb(17,17,17)\",\"caxis\":{\"gridcolor\":\"#506784\",\"linecolor\":\"#506784\",\"ticks\":\"\"}},\"title\":{\"x\":0.05},\"updatemenudefaults\":{\"bgcolor\":\"#506784\",\"borderwidth\":0},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"#283442\",\"linecolor\":\"#506784\",\"ticks\":\"\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"#283442\",\"zerolinewidth\":2},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"#283442\",\"linecolor\":\"#506784\",\"ticks\":\"\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"#283442\",\"zerolinewidth\":2}}},\"xaxis\":{\"tick0\":\"2021-05-24T00:00:00\",\"dtick\":86400000,\"showline\":true,\"linewidth\":1,\"linecolor\":\"gray\",\"mirror\":true,\"title\":{\"text\":\"Date\"}},\"yaxis\":{\"showline\":true,\"linewidth\":1,\"linecolor\":\"gray\",\"mirror\":true,\"title\":{\"text\":\"Price\"}},\"font\":{\"color\":\"gray\"},\"title\":{\"text\":\"Daily Price Data - Zoomed In\",\"font\":{\"color\":\"white\"}}}, {\"responsive\": true} ).then(function(){\n",
" \n",
"var gd = document.getElementById('22b06195-938c-4e15-a41e-4873203c9849');\n",
"var x = new MutationObserver(function (mutations, observer) {{\n",
" var display = window.getComputedStyle(gd).display;\n",
" if (!display || display === 'none') {{\n",
" console.log([gd, 'removed!']);\n",
" Plotly.purge(gd);\n",
" observer.disconnect();\n",
" }}\n",
"}});\n",
"\n",
"// Listen for the removal of the full notebook cells\n",
"var notebookContainer = gd.closest('#notebook-container');\n",
"if (notebookContainer) {{\n",
" x.observe(notebookContainer, {childList: true});\n",
"}}\n",
"\n",
"// Listen for the clearing of the current output cell\n",
"var outputEl = gd.closest('.output');\n",
"if (outputEl) {{\n",
" x.observe(outputEl, {childList: true});\n",
"}}\n",
"\n",
" }) }; }); </script> </div>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"df = daydf[(daydf.date >= '2021-05-24') & (daydf.date <= '2021-06-19')]\n",
"fig = go.Figure()\n",
"fig.add_trace(go.Scatter(x=df.date, y=df.close, mode='lines'))\n",
"fig.update_layout(xaxis_tick0 = df['date'].iloc[0], xaxis_dtick=86400000)\n",
"style_and_save_chart(fig, title='Daily Price Data - Zoomed In')"
]
},
{
"cell_type": "code",
"execution_count": 36,
"id": "a968b66c",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.plotly.v1+json": {
"config": {
"plotlyServerURL": "https://plot.ly"
},
"data": [
{
"line": {
"color": "#FFA15A",
"width": 1
},
"marker": {
"color": "#FFA15A"
},
"mode": "markers",
"type": "scatter",
"x": [
"2021-05-24T00:00:00",
"2021-05-25T00:00:00",
"2021-05-26T00:00:00",
"2021-05-27T00:00:00",
"2021-05-28T00:00:00",
"2021-06-01T00:00:00",
"2021-06-02T00:00:00",
"2021-06-03T00:00:00",
"2021-06-04T00:00:00",
"2021-06-07T00:00:00",
"2021-06-08T00:00:00",
"2021-06-09T00:00:00",
"2021-06-10T00:00:00",
"2021-06-11T00:00:00",
"2021-06-14T00:00:00",
"2021-06-15T00:00:00",
"2021-06-16T00:00:00",
"2021-06-17T00:00:00",
"2021-06-18T00:00:00"
],
"y": [
419.17,
418.24,
419.07,
419.29,
420.04,
419.67,
420.33,
418.77,
422.6,
422.19,
422.28,
421.65,
423.61,