Skip to content

Instantly share code, notes, and snippets.

@RHDZMOTA
Last active February 6, 2021 21:17
Show Gist options
  • Save RHDZMOTA/db699a97eef5e77ca4d072a8ba1a7f48 to your computer and use it in GitHub Desktop.
Save RHDZMOTA/db699a97eef5e77ca4d072a8ba1a7f48 to your computer and use it in GitHub Desktop.
GameStop - Time Series Animation (python)
import json
import datetime as dt
import requests
import matplotlib.pyplot as plt
from matplotlib.animation import FuncAnimation
import pandas as pd
GIST_URL = "https://gist.githubusercontent.com/RHDZMOTA/db699a97eef5e77ca4d072a8ba1a7f48/raw/6d45c74d93a72a4e38fb8ad17dd8983e76e76109/gamestop-jan2021.json"
# Get the data
resp = requests.get(GIST_URL)
gamestop = pd.DataFrame(resp.json())
gamestop = gamestop.assign(date_time=pd.to_datetime(gamestop.date_time)).query("date_time < '2021-01-30 00:00:00+0000'")
gamestop.head()
# Configuration
fig, axes = plt.subplots(nrows=1, ncols=1)
start_date_str = "2021-01-01"
start_date = dt.datetime.strptime(start_date_str, "%Y-%m-%d")
end_date = dt.datetime.strptime("2021-01-30", "%Y-%m-%d")
# Get the new (max) date for each frame
def frames():
dates = gamestop\
.query(f"date_time >= '{start_date_str} 00:00:00+0000'")\
.sort_values("date_time", ascending=True)\
.date_time.dt.strftime('%Y-%m-%d')\
.values
max_date = max(dates)
return (dt.datetime.strptime(date, "%Y-%m-%d") for date in list(dates) + 3*[max_date] )
# Update the plot with the new data.
def update(reference_date):
# Data subset
reference_date_str = reference_date.strftime("%Y-%m-%d")
subset = gamestop.set_index("date_time")[["open_price", "close_price", "min_price", "max_price"]]\
.query(f"'2020-09-01 00:00:00+0000' < date_time <= '{reference_date_str} 00:00:00+0000' and max_price > 0")
# Plot values
axes.clear()
subset.plot.line(style='-', ax=axes)
subset.query(f"date_time == '{reference_date_str} 00:00:00+0000'")\
.plot.line(style='.-', legend=False, marker='o', markerfacecolor='black', ax=axes)
if max(subset.index).date() >= dt.datetime.strptime("2021-01-12", "%Y-%m-%d").date():
plt.vlines(x=f'2021-01-12 00:00:00+0000', ymin=0, ymax=max(subset.max_price), colors="k", linestyles="dashed", alpha=0.25)
if max(subset.index).date() >= dt.datetime.strptime("2021-01-22", "%Y-%m-%d").date():
plt.vlines(x=f'2021-01-22 00:00:00+0000', ymin=0, ymax=max(subset.max_price), colors="k", linestyles="dashed", alpha=0.25)
plt.title("Gamestop: Daily Stock Price")
plt.ylabel("MXN ($)")
plt.xlabel("Time")
plt.grid()
# Animation
func_animation = FuncAnimation(fig=fig, func=update, frames=frames, interval=500)
func_animation.save('gamestop_ts.gif', writer='pillow', bitrate=2250, dpi=300)
[
{
"date_time": "2020-09-04T00:00:00+00:00",
"volume": 15794,
"variation_percentage": -2.387457,
"variation": -3.93930405,
"open_price": 164.0,
"close_price": 165.0,
"min_price": 164.0,
"max_price": 165.0
},
{
"date_time": "2020-12-07T00:00:00+00:00",
"volume": 1306,
"variation_percentage": -1.97638,
"variation": -6.423235,
"open_price": 344.99,
"close_price": 325.0,
"min_price": 320.01,
"max_price": 344.99
},
{
"date_time": "2020-08-31T00:00:00+00:00",
"volume": 17029,
"variation_percentage": 32.300687,
"variation": 46.9716590354,
"open_price": 130.0,
"close_price": 145.42,
"min_price": 130.0,
"max_price": 156.0
},
{
"date_time": "2020-11-05T00:00:00+00:00",
"volume": 666,
"variation_percentage": 0.830368,
"variation": 1.97627584,
"open_price": 240.7,
"close_price": 238.0,
"min_price": 238.0,
"max_price": 243.98
},
{
"date_time": "2020-07-15T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 95.69,
"close_price": 95.69,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-11-17T00:00:00+00:00",
"volume": 31862,
"variation_percentage": 5.032823,
"variation": 12.0787752,
"open_price": 235.0,
"close_price": 240.0,
"min_price": 230.0,
"max_price": 240.0
},
{
"date_time": "2020-10-05T00:00:00+00:00",
"volume": 204,
"variation_percentage": -6.298075,
"variation": -12.65913075,
"open_price": 210.0,
"close_price": 201.0,
"min_price": 200.0,
"max_price": 210.0
},
{
"date_time": "2020-08-14T00:00:00+00:00",
"volume": 3056,
"variation_percentage": 3.813136,
"variation": 3.96566144,
"open_price": 104.0,
"close_price": 104.0,
"min_price": 104.0,
"max_price": 104.0
},
{
"date_time": "2020-07-03T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 100.21,
"close_price": 100.21,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-11-25T00:00:00+00:00",
"volume": 218,
"variation_percentage": 7.516508,
"variation": 22.09853352,
"open_price": 285.0,
"close_price": 294.0,
"min_price": 285.0,
"max_price": 300.0
},
{
"date_time": "2020-07-20T00:00:00+00:00",
"volume": 1043,
"variation_percentage": -5.376344,
"variation": -4.73118272,
"open_price": 88.0,
"close_price": 88.0,
"min_price": 88.0,
"max_price": 88.0
},
{
"date_time": "2020-06-11T00:00:00+00:00",
"volume": 537,
"variation_percentage": -10.091743,
"variation": -9.88990814,
"open_price": 106.0,
"close_price": 98.0,
"min_price": 89.0,
"max_price": 106.0
},
{
"date_time": "2020-06-10T00:00:00+00:00",
"volume": 4524,
"variation_percentage": 1.391833,
"variation": 1.5470223795,
"open_price": 109.0,
"close_price": 111.15,
"min_price": 109.0,
"max_price": 122.0
},
{
"date_time": "2021-01-12T00:00:00+00:00",
"volume": 1782,
"variation_percentage": 0.763301,
"variation": 3.0531276699,
"open_price": 415.0,
"close_price": 399.99,
"min_price": 390.0,
"max_price": 415.0
},
{
"date_time": "2020-10-15T00:00:00+00:00",
"volume": 16826,
"variation_percentage": 16.21036,
"variation": 47.820562,
"open_price": 277.0,
"close_price": 295.0,
"min_price": 270.0,
"max_price": 320.0
},
{
"date_time": "2020-10-02T00:00:00+00:00",
"volume": 208,
"variation_percentage": -10.125293,
"variation": -20.55434479,
"open_price": 220.0,
"close_price": 203.0,
"min_price": 200.0,
"max_price": 220.0
},
{
"date_time": "2020-07-13T00:00:00+00:00",
"volume": 20,
"variation_percentage": 1.528156,
"variation": 1.48231132,
"open_price": 97.0,
"close_price": 97.0,
"min_price": 97.0,
"max_price": 97.0
},
{
"date_time": "2020-10-23T00:00:00+00:00",
"volume": 1310,
"variation_percentage": 0.980582,
"variation": 3.06922166,
"open_price": 305.51,
"close_price": 313.0,
"min_price": 305.51,
"max_price": 324.98
},
{
"date_time": "2020-09-22T00:00:00+00:00",
"volume": 1553,
"variation_percentage": 22.41205,
"variation": 51.547715,
"open_price": 209.0,
"close_price": 230.0,
"min_price": 209.0,
"max_price": 240.0
},
{
"date_time": "2021-01-26T00:00:00+00:00",
"volume": 50571,
"variation_percentage": 83.804516,
"variation": 2346.526448,
"open_price": 1670.0,
"close_price": 2800.0,
"min_price": 1625.0,
"max_price": 2996.99
},
{
"date_time": "2021-01-29T00:00:00+00:00",
"volume": 12029,
"variation_percentage": 40.693111,
"variation": 2685.7534646222,
"open_price": 4709.02,
"close_price": 6600.02,
"min_price": 4709.02,
"max_price": 7497.99
},
{
"date_time": "2020-06-19T00:00:00+00:00",
"volume": 2385,
"variation_percentage": 1.848359,
"variation": 1.99622772,
"open_price": 108.0,
"close_price": 108.0,
"min_price": 108.0,
"max_price": 108.5
},
{
"date_time": "2020-11-19T00:00:00+00:00",
"volume": 2628,
"variation_percentage": 3.135327,
"variation": 7.68155115,
"open_price": 244.0,
"close_price": 245.0,
"min_price": 242.0,
"max_price": 255.0
},
{
"date_time": "2020-09-23T00:00:00+00:00",
"volume": 666,
"variation_percentage": 18.892491,
"variation": 42.2662808652,
"open_price": 231.46,
"close_price": 223.72,
"min_price": 222.5,
"max_price": 234.0
},
{
"date_time": "2020-06-30T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 99.96,
"close_price": 99.96,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-12-15T00:00:00+00:00",
"volume": 2190,
"variation_percentage": 5.798771,
"variation": 15.975614105,
"open_price": 260.41,
"close_price": 275.5,
"min_price": 260.41,
"max_price": 277.23
},
{
"date_time": "2020-10-12T00:00:00+00:00",
"volume": 29038,
"variation_percentage": -16.161616,
"variation": -40.24242384,
"open_price": 288.0,
"close_price": 249.0,
"min_price": 245.0,
"max_price": 288.0
},
{
"date_time": "2020-08-12T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 97.14,
"close_price": 97.14,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2021-01-05T00:00:00+00:00",
"volume": 5863,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 344.5,
"close_price": 348.0,
"min_price": 343.0,
"max_price": 362.99
},
{
"date_time": "2020-10-07T00:00:00+00:00",
"volume": 841,
"variation_percentage": -1.369056,
"variation": -2.75180256,
"open_price": 200.0,
"close_price": 201.0,
"min_price": 200.0,
"max_price": 201.0
},
{
"date_time": "2020-07-23T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 90.0,
"close_price": 90.0,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-10-01T00:00:00+00:00",
"volume": 29,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 231.42,
"close_price": 231.42,
"min_price": 231.42,
"max_price": 231.42
},
{
"date_time": "2020-11-04T00:00:00+00:00",
"volume": 3331,
"variation_percentage": -4.929924,
"variation": -11.4369306876,
"open_price": 245.4,
"close_price": 231.99,
"min_price": 224.0,
"max_price": 245.99
},
{
"date_time": "2020-09-08T00:00:00+00:00",
"volume": 1299,
"variation_percentage": 4.131132,
"variation": 7.1121568512,
"open_price": 167.0,
"close_price": 172.16,
"min_price": 167.0,
"max_price": 175.0
},
{
"date_time": "2020-08-18T00:00:00+00:00",
"volume": 185,
"variation_percentage": 3.71179,
"variation": 3.87882055,
"open_price": 100.0,
"close_price": 104.5,
"min_price": 100.0,
"max_price": 104.5
},
{
"date_time": "2020-09-30T00:00:00+00:00",
"volume": 193,
"variation_percentage": 0.622269,
"variation": 1.41877332,
"open_price": 238.0,
"close_price": 228.0,
"min_price": 228.0,
"max_price": 240.0
},
{
"date_time": "2020-09-29T00:00:00+00:00",
"volume": 1465,
"variation_percentage": 4.514121,
"variation": 10.60818435,
"open_price": 225.0,
"close_price": 235.0,
"min_price": 225.0,
"max_price": 246.0
},
{
"date_time": "2020-09-28T00:00:00+00:00",
"volume": 7756,
"variation_percentage": -0.363121,
"variation": -0.81702225,
"open_price": 220.0,
"close_price": 225.0,
"min_price": 218.0,
"max_price": 225.0
},
{
"date_time": "2020-07-27T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 91.45,
"close_price": 91.45,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-12-22T00:00:00+00:00",
"volume": 125379,
"variation_percentage": 26.601761,
"variation": 103.7495280761,
"open_price": 325.0,
"close_price": 390.01,
"min_price": 325.0,
"max_price": 403.0
},
{
"date_time": "2020-08-19T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 100.0,
"close_price": 100.0,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-12-24T00:00:00+00:00",
"volume": 1287,
"variation_percentage": -4.190038,
"variation": -16.735011772,
"open_price": 412.0,
"close_price": 399.4,
"min_price": 399.4,
"max_price": 419.45
},
{
"date_time": "2020-11-06T00:00:00+00:00",
"volume": 2671,
"variation_percentage": 7.189856,
"variation": 17.6863267744,
"open_price": 236.0,
"close_price": 245.99,
"min_price": 236.0,
"max_price": 250.0
},
{
"date_time": "2020-06-25T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 110.43,
"close_price": 110.43,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2021-01-21T00:00:00+00:00",
"volume": 9466,
"variation_percentage": 9.876205,
"variation": 83.45393225,
"open_price": 775.0,
"close_price": 845.0,
"min_price": 750.0,
"max_price": 880.0
},
{
"date_time": "2020-07-31T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 90.0,
"close_price": 90.0,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-09-01T00:00:00+00:00",
"volume": 37721,
"variation_percentage": 40.117118,
"variation": 66.79500147,
"open_price": 160.83,
"close_price": 166.5,
"min_price": 147.03,
"max_price": 168.75
},
{
"date_time": "2020-07-10T00:00:00+00:00",
"volume": 1,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 97.22,
"close_price": 97.22,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-07-08T00:00:00+00:00",
"volume": 11,
"variation_percentage": -0.497512,
"variation": -0.46766128,
"open_price": 94.0,
"close_price": 94.0,
"min_price": 94.0,
"max_price": 94.0
},
{
"date_time": "2020-06-08T00:00:00+00:00",
"volume": 121,
"variation_percentage": 2.438025,
"variation": 2.6450133225,
"open_price": 96.0,
"close_price": 108.49,
"min_price": 96.0,
"max_price": 100.0
},
{
"date_time": "2020-09-18T00:00:00+00:00",
"volume": 1612,
"variation_percentage": 34.074173,
"variation": 68.2403462671,
"open_price": 190.2,
"close_price": 200.27,
"min_price": 190.0,
"max_price": 205.0
},
{
"date_time": "2020-07-16T00:00:00+00:00",
"volume": 5,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 92.28,
"close_price": 92.28,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-12-08T00:00:00+00:00",
"volume": 26446,
"variation_percentage": 1.727211,
"variation": 5.71706841,
"open_price": 325.0,
"close_price": 331.0,
"min_price": 319.0,
"max_price": 331.0
},
{
"date_time": "2020-07-28T00:00:00+00:00",
"volume": 1003,
"variation_percentage": -3.558364,
"variation": -3.09577668,
"open_price": 87.0,
"close_price": 87.0,
"min_price": 87.0,
"max_price": 87.0
},
{
"date_time": "2021-01-27T00:00:00+00:00",
"volume": 25518,
"variation_percentage": 137.320211,
"variation": 9612.41477,
"open_price": 3500.0,
"close_price": 7000.0,
"min_price": 3500.0,
"max_price": 7700.0
},
{
"date_time": "2020-07-29T00:00:00+00:00",
"volume": 3,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 88.33,
"close_price": 88.33,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-06-12T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 106.0,
"close_price": 106.0,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-12-17T00:00:00+00:00",
"volume": 40139,
"variation_percentage": 7.676303,
"variation": 22.6443262197,
"open_price": 272.2,
"close_price": 294.99,
"min_price": 270.0,
"max_price": 295.0
},
{
"date_time": "2020-08-05T00:00:00+00:00",
"volume": 9602,
"variation_percentage": 9.7496,
"variation": 10.042088,
"open_price": 100.0,
"close_price": 103.0,
"min_price": 100.0,
"max_price": 103.0
},
{
"date_time": "2020-12-30T00:00:00+00:00",
"volume": 1482,
"variation_percentage": -1.297236,
"variation": -4.9943586,
"open_price": 380.0,
"close_price": 385.0,
"min_price": 380.0,
"max_price": 403.99
},
{
"date_time": "2021-01-22T00:00:00+00:00",
"volume": 37618,
"variation_percentage": 50.534911,
"variation": 666.8940599937,
"open_price": 850.0,
"close_price": 1319.67,
"min_price": 850.0,
"max_price": 1460.0
},
{
"date_time": "2020-07-22T00:00:00+00:00",
"volume": 37,
"variation_percentage": 3.305785,
"variation": 2.9752065,
"open_price": 90.0,
"close_price": 90.0,
"min_price": 90.0,
"max_price": 90.0
},
{
"date_time": "2020-06-05T00:00:00+00:00",
"volume": 1,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 96.0,
"close_price": 89.36,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-10-30T00:00:00+00:00",
"volume": 1912,
"variation_percentage": -13.137255,
"variation": -29.1647061,
"open_price": 250.01,
"close_price": 222.0,
"min_price": 220.01,
"max_price": 250.01
},
{
"date_time": "2020-11-13T00:00:00+00:00",
"volume": 62,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 230.0,
"close_price": 230.0,
"min_price": 230.0,
"max_price": 230.0
},
{
"date_time": "2020-07-07T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 94.75,
"close_price": 94.75,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-12-10T00:00:00+00:00",
"volume": 3463,
"variation_percentage": -15.548516,
"variation": -44.08004286,
"open_price": 274.0,
"close_price": 283.5,
"min_price": 263.85,
"max_price": 286.0
},
{
"date_time": "2020-10-26T00:00:00+00:00",
"volume": 2780,
"variation_percentage": -6.950687,
"variation": -19.80945795,
"open_price": 312.0,
"close_price": 285.0,
"min_price": 280.0,
"max_price": 336.0
},
{
"date_time": "2020-08-27T00:00:00+00:00",
"volume": 25,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 112.0,
"close_price": 113.4,
"min_price": 112.0,
"max_price": 113.4
},
{
"date_time": "2020-06-16T00:00:00+00:00",
"volume": 1,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 105.42,
"close_price": 105.42,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-07-01T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 99.96,
"close_price": 99.96,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-11-20T00:00:00+00:00",
"volume": 1127,
"variation_percentage": 2.42915,
"variation": 6.1457495,
"open_price": 255.0,
"close_price": 253.0,
"min_price": 253.0,
"max_price": 272.0
},
{
"date_time": "2020-08-24T00:00:00+00:00",
"volume": 2945,
"variation_percentage": 1.73139,
"variation": 1.8006456,
"open_price": 106.0,
"close_price": 104.0,
"min_price": 104.0,
"max_price": 106.0
},
{
"date_time": "2020-10-27T00:00:00+00:00",
"volume": 1943,
"variation_percentage": -8.034965,
"variation": -21.133564943,
"open_price": 285.0,
"close_price": 263.02,
"min_price": 260.0,
"max_price": 285.0
},
{
"date_time": "2020-11-03T00:00:00+00:00",
"volume": 998,
"variation_percentage": 11.040724,
"variation": 27.093936696,
"open_price": 230.0,
"close_price": 245.4,
"min_price": 230.0,
"max_price": 248.0
},
{
"date_time": "2020-07-21T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 88.0,
"close_price": 88.0,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-10-16T00:00:00+00:00",
"volume": 1145,
"variation_percentage": -7.920792,
"variation": -22.09900968,
"open_price": 292.0,
"close_price": 279.0,
"min_price": 277.0,
"max_price": 292.0
},
{
"date_time": "2020-08-13T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 97.14,
"close_price": 97.14,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-08-06T00:00:00+00:00",
"volume": 40,
"variation_percentage": -1.758522,
"variation": -1.758522,
"open_price": 100.0,
"close_price": 100.0,
"min_price": 100.0,
"max_price": 100.0
},
{
"date_time": "2020-07-09T00:00:00+00:00",
"volume": 1,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 94.04,
"close_price": 94.04,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-06-22T00:00:00+00:00",
"volume": 6,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 111.91,
"close_price": 111.91,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-11-09T00:00:00+00:00",
"volume": 20656,
"variation_percentage": -3.906122,
"variation": -8.9844712122,
"open_price": 251.01,
"close_price": 230.01,
"min_price": 230.01,
"max_price": 252.0
},
{
"date_time": "2020-08-17T00:00:00+00:00",
"volume": 10,
"variation_percentage": -2.13349,
"variation": -2.13349,
"open_price": 100.0,
"close_price": 100.0,
"min_price": 100.0,
"max_price": 100.0
},
{
"date_time": "2020-10-29T00:00:00+00:00",
"volume": 4532,
"variation_percentage": -3.069467,
"variation": -7.73505684,
"open_price": 254.0,
"close_price": 252.0,
"min_price": 252.0,
"max_price": 258.99
},
{
"date_time": "2020-09-21T00:00:00+00:00",
"volume": 1384,
"variation_percentage": -13.211664,
"variation": -23.120412,
"open_price": 201.0,
"close_price": 175.0,
"min_price": 175.0,
"max_price": 201.0
},
{
"date_time": "2020-08-07T00:00:00+00:00",
"volume": 7,
"variation_percentage": -7.46096,
"variation": -7.1625216,
"open_price": 96.0,
"close_price": 96.0,
"min_price": 96.0,
"max_price": 96.0
},
{
"date_time": "2021-01-18T00:00:00+00:00",
"volume": 2018,
"variation_percentage": 28.081708,
"variation": 253.01618908,
"open_price": 727.0,
"close_price": 901.0,
"min_price": 727.0,
"max_price": 1000.0
},
{
"date_time": "2020-11-24T00:00:00+00:00",
"volume": 1661,
"variation_percentage": 7.630334,
"variation": 20.9231388614,
"open_price": 267.0,
"close_price": 274.21,
"min_price": 267.0,
"max_price": 285.0
},
{
"date_time": "2020-10-28T00:00:00+00:00",
"volume": 1407,
"variation_percentage": -5.507463,
"variation": -13.87880676,
"open_price": 271.8,
"close_price": 252.0,
"min_price": 252.0,
"max_price": 271.8
},
{
"date_time": "2020-09-03T00:00:00+00:00",
"volume": 53116,
"variation_percentage": 1.376622,
"variation": 2.291387319,
"open_price": 165.0,
"close_price": 166.45,
"min_price": 161.35,
"max_price": 177.0
},
{
"date_time": "2020-06-09T00:00:00+00:00",
"volume": 5526,
"variation_percentage": 21.978514,
"variation": 23.6840466864,
"open_price": 101.0,
"close_price": 107.76,
"min_price": 101.0,
"max_price": 112.1
},
{
"date_time": "2020-09-17T00:00:00+00:00",
"volume": 22038,
"variation_percentage": 25.684168,
"variation": 47.77255248,
"open_price": 160.0,
"close_price": 186.0,
"min_price": 160.0,
"max_price": 197.72
},
{
"date_time": "2020-11-27T00:00:00+00:00",
"volume": 3690,
"variation_percentage": 9.459459,
"variation": 30.64864716,
"open_price": 305.0,
"close_price": 324.0,
"min_price": 305.0,
"max_price": 330.0
},
{
"date_time": "2020-10-22T00:00:00+00:00",
"volume": 1468,
"variation_percentage": 7.762307,
"variation": 24.45126705,
"open_price": 302.01,
"close_price": 315.0,
"min_price": 302.01,
"max_price": 327.85
},
{
"date_time": "2020-10-20T00:00:00+00:00",
"volume": 5067,
"variation_percentage": -0.006849,
"variation": -0.01999908,
"open_price": 295.0,
"close_price": 292.0,
"min_price": 292.0,
"max_price": 299.99
},
{
"date_time": "2021-01-06T00:00:00+00:00",
"volume": 14329,
"variation_percentage": 5.35118,
"variation": 19.584783682,
"open_price": 346.0,
"close_price": 365.99,
"min_price": 340.0,
"max_price": 371.0
},
{
"date_time": "2021-01-04T00:00:00+00:00",
"volume": 90152,
"variation_percentage": -9.326085,
"variation": -32.17499325,
"open_price": 363.98,
"close_price": 345.0,
"min_price": 341.15,
"max_price": 363.98
},
{
"date_time": "2020-07-02T00:00:00+00:00",
"volume": 1,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 100.21,
"close_price": 100.21,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-12-18T00:00:00+00:00",
"volume": 23176,
"variation_percentage": 5.933238,
"variation": 18.45237018,
"open_price": 309.0,
"close_price": 311.0,
"min_price": 301.01,
"max_price": 325.0
},
{
"date_time": "2020-10-14T00:00:00+00:00",
"volume": 591,
"variation_percentage": 4.556804,
"variation": 12.21223472,
"open_price": 260.0,
"close_price": 268.0,
"min_price": 258.0,
"max_price": 268.0
},
{
"date_time": "2020-10-13T00:00:00+00:00",
"volume": 16005,
"variation_percentage": 2.964744,
"variation": 7.61939208,
"open_price": 259.99,
"close_price": 257.0,
"min_price": 255.0,
"max_price": 259.99
},
{
"date_time": "2020-08-11T00:00:00+00:00",
"volume": 3,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 97.14,
"close_price": 97.14,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-07-14T00:00:00+00:00",
"volume": 55,
"variation_percentage": -2.157464,
"variation": -2.0644773016,
"open_price": 95.69,
"close_price": 95.69,
"min_price": 95.69,
"max_price": 95.69
},
{
"date_time": "2020-08-04T00:00:00+00:00",
"volume": 5,
"variation_percentage": -0.011232,
"variation": -0.0099987264,
"open_price": 89.02,
"close_price": 89.02,
"min_price": 89.02,
"max_price": 89.02
},
{
"date_time": "2020-07-17T00:00:00+00:00",
"volume": 137,
"variation_percentage": -5.026144,
"variation": -4.47326816,
"open_price": 91.0,
"close_price": 89.0,
"min_price": 89.0,
"max_price": 91.0
},
{
"date_time": "2021-01-31T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 4709.02,
"close_price": 4709.02,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-12-23T00:00:00+00:00",
"volume": 9973,
"variation_percentage": 5.350875,
"variation": 22.0670085,
"open_price": 400.01,
"close_price": 412.4,
"min_price": 387.0,
"max_price": 448.0
},
{
"date_time": "2021-01-28T00:00:00+00:00",
"volume": 15181,
"variation_percentage": -33.671594,
"variation": -1481.550136,
"open_price": 6934.5,
"close_price": 4400.0,
"min_price": 2100.0,
"max_price": 9100.0
},
{
"date_time": "2021-01-20T00:00:00+00:00",
"volume": 4605,
"variation_percentage": -0.868611,
"variation": -6.6449610111,
"open_price": 780.0,
"close_price": 765.01,
"min_price": 713.0,
"max_price": 800.0
},
{
"date_time": "2020-08-10T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 96.0,
"close_price": 96.0,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-12-04T00:00:00+00:00",
"volume": 630,
"variation_percentage": 4.776691,
"variation": 15.90638103,
"open_price": 323.0,
"close_price": 333.0,
"min_price": 323.0,
"max_price": 339.99
},
{
"date_time": "2021-01-14T00:00:00+00:00",
"volume": 51480,
"variation_percentage": 71.733298,
"variation": 563.82372228,
"open_price": 630.0,
"close_price": 786.0,
"min_price": 630.0,
"max_price": 839.99
},
{
"date_time": "2020-09-02T00:00:00+00:00",
"volume": 53540,
"variation_percentage": -1.464722,
"variation": -2.4239684378,
"open_price": 170.0,
"close_price": 165.49,
"min_price": 162.0,
"max_price": 170.0
},
{
"date_time": "2020-12-31T00:00:00+00:00",
"volume": 438,
"variation_percentage": 0.789474,
"variation": 3.02368542,
"open_price": 384.0,
"close_price": 383.0,
"min_price": 380.0,
"max_price": 393.0
},
{
"date_time": "2020-09-10T00:00:00+00:00",
"volume": 42975,
"variation_percentage": -17.058678,
"variation": -22.85862852,
"open_price": 140.0,
"close_price": 134.0,
"min_price": 132.0,
"max_price": 142.0
},
{
"date_time": "2020-08-28T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 112.0,
"close_price": 112.0,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-06-24T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 110.43,
"close_price": 110.43,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2021-01-13T00:00:00+00:00",
"volume": 223909,
"variation_percentage": 60.770681,
"variation": 373.1380584081,
"open_price": 405.0,
"close_price": 614.01,
"min_price": 399.99,
"max_price": 751.0
},
{
"date_time": "2020-07-24T00:00:00+00:00",
"volume": 2,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 91.45,
"close_price": 91.45,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-10-08T00:00:00+00:00",
"volume": 1598,
"variation_percentage": 34.86009,
"variation": 97.611738009,
"open_price": 195.84,
"close_price": 280.01,
"min_price": 195.84,
"max_price": 280.01
},
{
"date_time": "2020-12-03T00:00:00+00:00",
"volume": 291,
"variation_percentage": -3.171279,
"variation": -10.11638001,
"open_price": 328.0,
"close_price": 319.0,
"min_price": 317.0,
"max_price": 328.0
},
{
"date_time": "2020-11-11T00:00:00+00:00",
"volume": 583,
"variation_percentage": -0.415289,
"variation": -0.97592915,
"open_price": 235.99,
"close_price": 235.0,
"min_price": 235.0,
"max_price": 239.99
},
{
"date_time": "2020-09-09T00:00:00+00:00",
"volume": 8,
"variation_percentage": -7.219455,
"variation": -11.4305631015,
"open_price": 158.33,
"close_price": 158.33,
"min_price": 158.33,
"max_price": 158.33
},
{
"date_time": "2020-09-15T00:00:00+00:00",
"volume": 5049,
"variation_percentage": 4.453384,
"variation": 6.59100832,
"open_price": 141.69,
"close_price": 148.0,
"min_price": 141.69,
"max_price": 148.0
},
{
"date_time": "2020-06-29T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 99.96,
"close_price": 99.96,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-06-03T00:00:00+00:00",
"volume": 1,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 88.0,
"close_price": 95.92,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-08-21T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 100.0,
"close_price": 100.0,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-08-03T00:00:00+00:00",
"volume": 7,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 90.91,
"close_price": 90.91,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-12-16T00:00:00+00:00",
"volume": 9414,
"variation_percentage": -0.542805,
"variation": -1.49271375,
"open_price": 274.0,
"close_price": 275.0,
"min_price": 273.01,
"max_price": 282.0
},
{
"date_time": "2020-09-25T00:00:00+00:00",
"volume": 10351,
"variation_percentage": 10.344485,
"variation": 22.9637222515,
"open_price": 200.93,
"close_price": 221.99,
"min_price": 200.93,
"max_price": 226.6
},
{
"date_time": "2020-06-02T00:00:00+00:00",
"volume": 1003,
"variation_percentage": -2.26566,
"variation": -2.053367658,
"open_price": 88.0,
"close_price": 90.63,
"min_price": 88.0,
"max_price": 88.0
},
{
"date_time": "2020-12-02T00:00:00+00:00",
"volume": 306,
"variation_percentage": 3.921937,
"variation": 13.06005021,
"open_price": 330.0,
"close_price": 333.0,
"min_price": 321.0,
"max_price": 333.0
},
{
"date_time": "2020-09-07T00:00:00+00:00",
"volume": 36,
"variation_percentage": -0.124106,
"variation": -0.20973914,
"open_price": 169.0,
"close_price": 169.0,
"min_price": 169.0,
"max_price": 169.0
},
{
"date_time": "2020-11-30T00:00:00+00:00",
"volume": 2507,
"variation_percentage": 5.289053,
"variation": 18.0880323547,
"open_price": 345.0,
"close_price": 341.99,
"min_price": 338.65,
"max_price": 386.99
},
{
"date_time": "2020-09-11T00:00:00+00:00",
"volume": 1299,
"variation_percentage": -18.193304,
"variation": -23.56032868,
"open_price": 131.0,
"close_price": 129.5,
"min_price": 129.5,
"max_price": 132.0
},
{
"date_time": "2020-09-14T00:00:00+00:00",
"volume": 5431,
"variation_percentage": 10.306618,
"variation": 15.057968898,
"open_price": 138.0,
"close_price": 146.1,
"min_price": 138.0,
"max_price": 146.1
},
{
"date_time": "2020-12-01T00:00:00+00:00",
"volume": 839,
"variation_percentage": -5.942335,
"variation": -19.07489535,
"open_price": 350.0,
"close_price": 321.0,
"min_price": 315.01,
"max_price": 350.0
},
{
"date_time": "2020-11-12T00:00:00+00:00",
"volume": 535,
"variation_percentage": -5.570708,
"variation": -12.72906778,
"open_price": 242.0,
"close_price": 228.5,
"min_price": 228.5,
"max_price": 242.0
},
{
"date_time": "2021-01-19T00:00:00+00:00",
"volume": 14179,
"variation_percentage": 11.587848,
"variation": 90.3852144,
"open_price": 780.0,
"close_price": 780.0,
"min_price": 725.0,
"max_price": 900.0
},
{
"date_time": "2020-08-20T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 100.0,
"close_price": 100.0,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-12-14T00:00:00+00:00",
"volume": 1915,
"variation_percentage": -1.283019,
"variation": -3.356377704,
"open_price": 270.0,
"close_price": 261.6,
"min_price": 245.0,
"max_price": 270.0
},
{
"date_time": "2020-12-09T00:00:00+00:00",
"volume": 191069,
"variation_percentage": -15.034508,
"variation": -41.0336826844,
"open_price": 300.0,
"close_price": 272.93,
"min_price": 261.01,
"max_price": 300.0
},
{
"date_time": "2020-10-21T00:00:00+00:00",
"volume": 669,
"variation_percentage": 2.744449,
"variation": 8.17845802,
"open_price": 298.0,
"close_price": 298.0,
"min_price": 290.01,
"max_price": 302.0
},
{
"date_time": "2021-01-08T00:00:00+00:00",
"volume": 2476,
"variation_percentage": -4.061052,
"variation": -14.29490304,
"open_price": 375.0,
"close_price": 352.0,
"min_price": 345.0,
"max_price": 375.0
},
{
"date_time": "2020-11-18T00:00:00+00:00",
"volume": 1038,
"variation_percentage": -2.083333,
"variation": -4.89583255,
"open_price": 235.0,
"close_price": 235.0,
"min_price": 233.0,
"max_price": 241.0
},
{
"date_time": "2020-12-29T00:00:00+00:00",
"volume": 2234,
"variation_percentage": -6.66475,
"variation": -25.725935,
"open_price": 416.0,
"close_price": 386.0,
"min_price": 372.0,
"max_price": 416.0
},
{
"date_time": "2020-07-06T00:00:00+00:00",
"volume": 325,
"variation_percentage": -1.676671,
"variation": -1.59283745,
"open_price": 94.75,
"close_price": 95.0,
"min_price": 94.75,
"max_price": 95.0
},
{
"date_time": "2020-11-10T00:00:00+00:00",
"volume": 2506,
"variation_percentage": -2.07403,
"variation": -4.728580997,
"open_price": 230.01,
"close_price": 227.99,
"min_price": 223.0,
"max_price": 231.99
},
{
"date_time": "2020-06-17T00:00:00+00:00",
"volume": 177,
"variation_percentage": -0.2932,
"variation": -0.30909144,
"open_price": 105.42,
"close_price": 105.42,
"min_price": 105.0,
"max_price": 105.42
},
{
"date_time": "2021-01-15T00:00:00+00:00",
"volume": 6213,
"variation_percentage": 14.52407,
"variation": 102.828963193,
"open_price": 786.0,
"close_price": 707.99,
"min_price": 674.0,
"max_price": 809.99
},
{
"date_time": "2020-10-09T00:00:00+00:00",
"volume": 1109,
"variation_percentage": 49.127604,
"variation": 147.382812,
"open_price": 280.01,
"close_price": 300.0,
"min_price": 270.0,
"max_price": 312.99
},
{
"date_time": "2020-12-21T00:00:00+00:00",
"volume": 5786,
"variation_percentage": -0.038447,
"variation": -0.11995464,
"open_price": 325.0,
"close_price": 312.0,
"min_price": 306.0,
"max_price": 325.0
},
{
"date_time": "2020-10-19T00:00:00+00:00",
"volume": 1088,
"variation_percentage": 0.094681,
"variation": 0.28120257,
"open_price": 284.0,
"close_price": 297.0,
"min_price": 284.0,
"max_price": 307.0
},
{
"date_time": "2020-08-26T00:00:00+00:00",
"volume": 0,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 105.7,
"close_price": 105.7,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-06-15T00:00:00+00:00",
"volume": 1980,
"variation_percentage": 8.163265,
"variation": 8.6530609,
"open_price": 106.0,
"close_price": 106.0,
"min_price": 106.0,
"max_price": 106.0
},
{
"date_time": "2021-01-25T00:00:00+00:00",
"volume": 41355,
"variation_percentage": 19.577778,
"variation": 309.3288924,
"open_price": 1558.93,
"close_price": 1580.0,
"min_price": 1350.0,
"max_price": 3000.0
},
{
"date_time": "2020-06-23T00:00:00+00:00",
"volume": 502,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 110.43,
"close_price": 110.43,
"min_price": 110.43,
"max_price": 110.43
},
{
"date_time": "2021-01-11T00:00:00+00:00",
"volume": 18619,
"variation_percentage": 12.14584,
"variation": 48.279714,
"open_price": 369.0,
"close_price": 397.5,
"min_price": 369.0,
"max_price": 415.02
},
{
"date_time": "2020-11-26T00:00:00+00:00",
"volume": 43,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 300.0,
"close_price": 300.0,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-10-06T00:00:00+00:00",
"volume": 115,
"variation_percentage": -1.859758,
"variation": -3.719516,
"open_price": 204.0,
"close_price": 200.0,
"min_price": 200.0,
"max_price": 204.0
},
{
"date_time": "2020-08-25T00:00:00+00:00",
"volume": 13,
"variation_percentage": -4.637315,
"variation": -4.901641955,
"open_price": 105.7,
"close_price": 105.7,
"min_price": 105.7,
"max_price": 105.7
},
{
"date_time": "2020-12-28T00:00:00+00:00",
"volume": 4659,
"variation_percentage": 5.19988,
"variation": 21.839496,
"open_price": 420.0,
"close_price": 420.0,
"min_price": 410.0,
"max_price": 438.63
},
{
"date_time": "2020-12-11T00:00:00+00:00",
"volume": 1033,
"variation_percentage": -6.926227,
"variation": -18.5955342496,
"open_price": 275.0,
"close_price": 268.48,
"min_price": 260.01,
"max_price": 275.99
},
{
"date_time": "2020-11-23T00:00:00+00:00",
"volume": 2280,
"variation_percentage": 8.035225,
"variation": 22.177221,
"open_price": 265.0,
"close_price": 276.0,
"min_price": 264.0,
"max_price": 279.0
},
{
"date_time": "2020-07-30T00:00:00+00:00",
"volume": 2353,
"variation_percentage": 7.072692,
"variation": 6.552849138,
"open_price": 90.0,
"close_price": 92.65,
"min_price": 90.0,
"max_price": 92.65
},
{
"date_time": "2020-06-26T00:00:00+00:00",
"volume": 500,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 99.96,
"close_price": 99.96,
"min_price": 99.96,
"max_price": 99.96
},
{
"date_time": "2021-01-07T00:00:00+00:00",
"volume": 2446,
"variation_percentage": 0.428135,
"variation": 1.54556735,
"open_price": 360.0,
"close_price": 361.0,
"min_price": 360.0,
"max_price": 385.5
},
{
"date_time": "2020-06-18T00:00:00+00:00",
"volume": 1,
"variation_percentage": 0.0,
"variation": 0.0,
"open_price": 103.09,
"close_price": 103.09,
"min_price": 0.0,
"max_price": 0.0
},
{
"date_time": "2020-09-24T00:00:00+00:00",
"volume": 49512,
"variation_percentage": -10.168142,
"variation": -20.64132826,
"open_price": 220.0,
"close_price": 203.0,
"min_price": 203.0,
"max_price": 220.0
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment