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 method for insider roster #1529

Closed
eshgovil opened this issue May 17, 2023 · 5 comments
Closed

Add method for insider roster #1529

eshgovil opened this issue May 17, 2023 · 5 comments

Comments

@eshgovil
Copy link

Describe the problem
There currently exists no method to access the insider roster available on the site, next to the holders, e.g. https://finance.yahoo.com/quote/MSFT/insider-roster?p=MSFT

Describe the solution
Like the Holders class, implement one for InsiderRoster.

Additional context

Here is how I am hacking it for now:

def get_insider_roster(ticker: yf.Ticker, proxy = None) -> pd.DataFrame:
    url = f'https://finance.yahoo.com/quote/{ticker._data.ticker}/insider-roster'
    resp = ticker._data.cache_get(url, proxy)
    insiders = pd.read_html(resp.text)
    insiders = insiders[0].iloc[:-1]
    return insiders
@ValueRaider
Copy link
Collaborator

You could just submit a pull request, that's basically the code just convert columns to sensible types. Read #1084

@sshcli
Copy link

sshcli commented Dec 6, 2023

@eshgovil I agree this feature is needed.
I also would like to suggest adding Insider Transactions as well.
@ValueRaider Please let us know if this already exists. I can't find the way to get any insider information

@ValueRaider
Copy link
Collaborator

@sshcli Code and pull requests are public record, have a look.

@sshcli
Copy link

sshcli commented Dec 7, 2023

@ValueRaider Got it. Thanks.

@bot-unit
Copy link

@ValueRaider Close, please. Implemented at #1772

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants