Template talk:GameStop stock price graph

Mobile app
Any way to make this show up in the mobile app? I tried viewing the GameStop short squeeze page in the Wikipedia iOS app, and it wouldn't show this graph (in either light or dark mode). AllegedlyHuman (talk) 11:51, 29 January 2021 (UTC)
 * I'll look into it this evening, but the graph extension has problems on mobile if I remember right. Worst case, we can use an image as a fallback option so that if javascript is disabled users can still see what it looks like. — Wug·a·po·des​ 17:58, 29 January 2021 (UTC)

Intra-day data and x axis comments
Comments copied from a discussion I began at Talk:GameStop short squeeze:


 * Since this [short squeeze] phenomenon has produced rapid intra-day fluctuation in the stock price, it would probably be a good idea to include intra-day prices in the chart. To avoid clutter, it might also be good to start the chart a little later in time – e.g., Jan 1 or Jan 7. Today is not yet included, and the price today has jumped back up, much higher than the closing price of yesterday. The current chart might give the impression that the phenomenon is over and things have calmed down. That would be a false impression. —&hairsp;BarrelProof (talk) 18:11, 29 January 2021 (UTC)
 * The x axis of the chart also has some strange gaps in the dates. The casual reader would probably assume that the axis is linear from day to day, which is not the case. After discovering that the chart is a transclusion, I plan to continue this discussion at Template talk:GameStop stock price graph. —&hairsp;BarrelProof (talk) 19:20, 29 January 2021 (UTC)
 * Might adding Bollinger Bands (something far beyond my technical know-how) improve the problem? AllegedlyHuman (talk) 19:46, 29 January 2021 (UTC)

—&hairsp;BarrelProof (talk) 19:22, 29 January 2021 (UTC)

Dates that are missing in the chart are Jan 1, Jan 2, Jan 3, Jan 9, Jan 10, Jan 16, Jan 17, Jan 18, Jan 23 and Jan 24. This distorts the shape of the chart, causing it to be basically inaccurate as a depiction of price evolution through time. —&hairsp;BarrelProof (talk) 19:46, 29 January 2021 (UTC)

W/r/t dates, the missing values are holidays and weekends when the market was not open, so no closing price exists. The x-axis is trading days, not a calendar. We could convert it to a calendar by adding the dates and empty values but I'm not really in a rush to switch from trading days to calendar days just to add some empty data. No prejudice against someone else doing it though if you want. As for volatility, I'm of two minds. On one hand, the graph extension supports multiple data-series so multiple lines to show highs lows and closes should be relatively easy. On the other, this is used in the lead and I think simplicity is valuable there. It might be better to make a more detailed graph for use later in the article containing things like highs, lows, open, close, and trade volume. — Wug·a·po·des​ 22:56, 29 January 2021 (UTC)
 * I see. Thank you for the clarification. I think that adding intra-day prices or adding daily highs (and possibly lows) would be very helpful. Adding trading volume would be interesting for some people, but might just be clutter for others. Even just replacing closing prices with daily highs would be an improvement. —&hairsp;BarrelProof (talk) 01:35, 30 January 2021 (UTC)
 * I now see that volume has been added as a separate chart. I like it; that's a helpful addition. —&hairsp;BarrelProof (talk) 00:10, 3 February 2021 (UTC)

The chart would be more informative by using an Open-high-low-close chart such as the common Candlestick chart available on https://www.nyse.com/quote/XNYS:GME. The current Line chart is misleading. Values are readily available at the source Yahoo, we just need to agree and type in a few values. Does Wikimedia have template for OHLC ? If not, a one-time candle chart would be necessary once the main event is over and movements are calm. TGCP (talk) 23:13, 31 January 2021 (UTC)
 * [[file:GameStop_stock_chart_2021_novolume.png|thumb|GME candles]] Two weeks later, here is a start of a candlestick chart. Please improve with volume. For the programmers, this might be easier, especially for intraday values. TGCP (talk) 21:37, 15 February 2021 (UTC)