How do you import financial data from yahoo

  Kiến thức lập trình

I have been using the following code to retrieve data from yahoo finance for stock.

I have been using the following code:

from pandas_datareader import data as wb
ABEV = wb.DataReader(‘ABEV’, data_source = ‘yahoo’, start = ‘2024-7-1’)
ABEV

But instead of receiving the financial data. I am getting an attribute error. Can somebody tell me what I am doing wrong

New contributor

Maham Asim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT