time-series-forecasting-pytorch icon indicating copy to clipboard operation
time-series-forecasting-pytorch copied to clipboard

Stock API and plot function update

Open TianYuanSX opened this issue 10 months ago • 1 comments

Hi Jingles,

Thanks for this great tutorial. I'm a student interested in Python finance.

I found some parts of the code require updates. And I tried to fix them.

  • plt.grid() no longer accepts keyword b=None. I just removed it. otherwise, this function will raise an exception. See matplotlib.pyplot.grid
  • Fetching the daily adjusted close price is a premium feature now, while a Free API cannot retrieve such data. The daily close price was used instead. See Alpha Vantage API Documentation

Best regards, Yuan

TianYuanSX avatar Apr 21 '24 03:04 TianYuanSX