Home > other >  Plot multiple charts from a number of yFinance tickers
Plot multiple charts from a number of yFinance tickers

Time:07-04

The below code works to create one chart from "stock1" taken from Yfinance. I am now trying to plot multiple charts using "myTickers" to collect a set of tickers from YFinance. I can get the data, but I can't get it to plot that data to multiple charts.

I want them to share the x-axis and be aligned vertically (the window can scroll if they do not fit on screen). So far any attempts have resulted in empty charts or dataframe errors that I can't solve.

I tried to adapt it to the suggestion from Daniel Goldfarb in this link enter image description here

  • Related