Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add get_stock_ratios method #274

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

gjover
Copy link

@gjover gjover commented Jan 23, 2021

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
Copy link

codecov bot commented Jan 23, 2021

Codecov Report

Merging #274 (a546194) into master (0ce10ea) will decrease coverage by 1.20%.
The diff coverage is 2.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     

@giannicor
Copy link

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.

@alvarobartt alvarobartt self-requested a review March 11, 2021 08:33
@alvarobartt alvarobartt self-assigned this Mar 11, 2021
@alvarobartt alvarobartt added the enhancement New feature or request label Mar 11, 2021
@alvarobartt alvarobartt added this to In progress in investpy v1.1.0 via automation Mar 11, 2021
@alvarobartt
Copy link
Owner

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! 💪🏻

@srijuk
Copy link

srijuk commented Mar 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
investpy v1.1.0
In progress
Development

Successfully merging this pull request may close these issues.

None yet

4 participants