fmilthaler / FinQuant

A program for financial portfolio management, analysis and optimisation.
MIT License
1.38k stars 190 forks source link

For yfinance make single stock dataframe multiindex #43

Closed drcsturm closed 4 years ago

drcsturm commented 4 years ago

The response from yfinance for a single stock is a flat dataframe. FinQuant is expecting a MultiIndex dataframe with the stock symbol listed for each column. If the returned dataframe from yfinance is not MultiIndex then add the only stock symbol as the MultiIndex. #42

fmilthaler commented 4 years ago

Hi and thank you for checking out FinQuant, using it and even better for contributing to it. I'm sorry I won't be able to have a detailled look at this, but will do over this weekend.

fmilthaler commented 4 years ago

Thanks for your contribution. I'm changing the base branch to bugfix/yfinance-single-stock-df so that Travis CI can run through all the tests with a working Quandl API key.