JerBouma / FinanceToolkit

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

[IMPROVE] Add TQDM/Progress bar on tickers fetched #122

Open sword134 opened 8 months ago

sword134 commented 8 months ago

So far the TQDM/Progress Bar only shows the progress as 0/3 due to it being applied on a list of the 3 different financial statements. Wouldnt it be more appropriate to apply it on the loop that fetchesthe data for each individual ticker instead? That way you actually get a feeling for how far into the process it actually is.

An example being wrapping ticker_list_iterator in tqdm() at line 148 in fundamentals_model.py

JerBouma commented 8 months ago

I get it but it is a bit trickier to implement. For example, a somewhat similar result you wish to see can be achieved by calling the financial statement functions separately.

Feel free to open a PR though!