AI4Finance-Foundation / AI4Finance-Foundation/FinRL

Yahoo Downloader Not working

Abierto
#1,321 3 comentarios 2 reacciones 1 asignado Reclamado por @zhumingpassional Ver en GitHub
Lenguaje dominante
Jupyter Notebook
Estrellas
16.3k
Forks
3.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**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 ?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.