2

Following this tutorial, I get the error in the screenshot below when I run the command: df = web.DataReader("TSLA", 'morningstar', start, end)

This is the error I get. What to do?

enter image description here

Neil Dey
  • 449
  • 2
  • 7
  • 18

1 Answers1

0

morningstar has been deprecated and thus has to be replaced with yahoo.

Tomerikoo
  • 18,379
  • 16
  • 47
  • 61
Gianluca Veschi
  • 1,239
  • 1
  • 14
  • 20