AI4Finance-Foundation / AI4Finance-Foundation/FinRL

Yahoo Downloader Not working

Aberta
#1,321 3 comentários 2 reações 1 responsável Reivindicada por @zhumingpassional Ver no GitHub
Linguagem predominante
Jupyter Notebook
Estrelas
16.3k
Forks
3.5k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**Describe the bug**
Yahoo Downloader is not working in _Stock_NeurIPS2018_1_Data.ipynb_.

I face the problem in that notebook. When i run

`df_raw = YahooDownloader(start_date = TRAIN_START_DATE,
end_date = TRADE_END_DATE,
ticker_list = config_tickers.DOW_30_TICKER).fetch_data()`

It's return error like `ValueError: Length mismatch: Expected axis has 182 elements, new values have 8 elements`. Then i check the _yahoodownloader.py_ file, and add the `df.shape` at line 63 to print the information of dataframe after loop of stocks tick. The output is (94301, 182).

I don't know how to change that and i think it's due to the version of yfinance. Does anyone face the same error? Do you have some solution ?

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.