Add get_stock_ratios method
This new method parses stock ratio information from investing.com and return the result as a dataframe or a dictionary. This method is based on already existing get_stocks_information.
I hope it is useful. Cheers!
Codecov Report
Merging #274 (a546194) into master (0ce10ea) will decrease coverage by
1.20%. The diff coverage is2.98%.
@@ Coverage Diff @@
## master #274 +/- ##
==========================================
- Coverage 90.98% 89.78% -1.21%
==========================================
Files 26 26
Lines 4904 4971 +67
==========================================
+ Hits 4462 4463 +1
- Misses 442 508 +66
This new method parses stock ratio information from investing.com and return the result as a dataframe or a dictionary. This method is based on already existing get_stocks_information.
I hope it is useful. Cheers!
Thanks a lot for the method! Very helpful! I use it but I noticed that for double entries (for example Return on Investment TTM and Return on Investment 5YA) it can't find the value.
Thank you for this function @gjover! I'll try to review this either this week or the next one so that we can include it in the v1.0.5 release! 💪🏻
Hi Alvaro I am using investpy 1.0.8 and I am unable to use this function. Any update if this has been included? Regards