JerBouma / FinanceToolkit

Transparent and Efficient Financial Analysis
https://www.jeroenbouma.com/projects/financetoolkit
MIT License
2.99k stars 360 forks source link

[BUG] IndexingError: Too many indexers #128

Closed kurucan closed 8 months ago

kurucan commented 8 months ago

some tickers gives an error on collect_all_ratios() function.

Execution error IndexingError: Too many indexers

example code is as below: company = Toolkit(tickers=['DOM.L'], api_key=API_KEY, quarterly=True, sleep_timer=True, benchmark_ticker=None, progress_bar=False, start_date="2000-01-01") company.ratios.collect_all_ratios()

JerBouma commented 8 months ago

Solved this issue, it should work in v1.8.5, let me know if it doesn't.