Merci Vincent!!! Super vidéo et blog! J'aimerais bien aller prendre un café avec toi! Je suis souvent à Montréal.
@VincentCodesFinance
18 күн бұрын
Merci! Tu peux m'envoyer un courriel (vincent@codes.finance), on verra si on peut trouver un moment.
@Threecommaaclub
4 ай бұрын
at 3:24 you stated that running Apple.Financials would yield the most recent data, however the data scraped was from 2023. is there a way to ensure that the data provided when running this code is the most recent data available?
@VincentCodesFinance
4 ай бұрын
I should have been more precise. This gives you the financial data from the latest annual report (form 10-K). In the case of Apple, the latest financials available would be from the quarterly report issued earlier this month. You can get the latest quarterly financials using: `apple.get_filings(form="10-Q").latest().obj().financials`. Note that companies only file reports quarterly, some there is always some lage in the data.
@wunjo8586
4 ай бұрын
Hi, nice video, I'm now to coding, how can I extract the cashflow for example for different dates? let's say 2005. Thank you!
@VincentCodesFinance
4 ай бұрын
I haven't done this specifically, but you have to look at the filings that would have that information. For most companies, cash would be available on a quarterly basis in the 10-Q form, as part of the XBRL (I'm not sure of the exact xbrl field). I would approach this by searching for all filings of type "10-Q" that I'm interested in (based on year and company) and then retrieving the xbrl data for each filing, then extracting the cash flow column.
@428_varunmota5
Ай бұрын
Can you tell how to fetch deal values from press releases of merger and acquizition
@VincentCodesFinance
Ай бұрын
As far as I know this information is not available in a structured format. You would have to go through all press releases, identify those related to an M&A, and then extract the deal value form the press release either manually or using an LLM.
@yuvalbra
Ай бұрын
how to get the symbol from Company data?
@VincentCodesFinance
Ай бұрын
You can use the `find_company()` function like this: `edgar.find_company("Apple")`. You can also use `get_company_tickers()` to get a DataFrame with all tickers and companies in the database.
@YashGupta-ul2ds
3 ай бұрын
Very good video! If I want to get the 10K filings for a given company ticker to use for RAG training in an LLM would the approach in the video suffice?
@VincentCodesFinance
3 ай бұрын
Yes, kind of. It will let you download all the filing information. But keep in mind that 10Ks contain more than just the filing text. To get financials, you have to extract the XRBL information from the filing. Most filings also have attachments. Edgartools will let you download all of these, the hardest part for RAG is not the scraping, it will be to structure all that data in a useful way for querying.
@ahmedrizvanhasan1485
5 ай бұрын
Great instructions! Please share more contents like this. Subscribed already. Thanks.
@VincentCodesFinance
5 ай бұрын
Thank you! Will keep that in mind, instruction on getting good financial data is certainly something I want to cover going forward.
@tarkanh2519
3 ай бұрын
This is an amazing video that denotes the Edgartools. If I have chance to like it 1000 times , I could like it.. Thanks again.. This series must go on ....
@VincentCodesFinance
3 ай бұрын
Thanks for the kind words! I have a few more scraping-related videos planned in the near future.
@jupiterdnd
5 ай бұрын
Is there a way to get the raw financial data in tables? Like get the income statement into a table that can be analyzed?
@VincentCodesFinance
5 ай бұрын
Yes, it is in the XBRL data. Financial data is in the "us-gaap" namespace. Each data point has a standardized name called "fact" and a value. When you call the get_facts() method on a company, you get all of them in an object that can easily be converted to a DataFrame. The main caveat I noticed is that the "value" may not be parsed properly (to int, float, decimal, etc) so you might have to do some extra work for that step.
@jupiterdnd
5 ай бұрын
@@VincentCodesFinance Ok sounds good. I was able to use "company.financials.balance_sheet" to get company financials. I was wondering if its possible to get historical financial info as this function doesn't really work with filing data. Would I have to use get_facts() and create the income statement by pulling in specific items? Thank you for making this video!
@VincentCodesFinance
5 ай бұрын
That's how I would try it. You can also have a look at the code that produces company.financials.balance_sheet, it might give you an idea on how to proceed.
@lLvupKitchen
5 ай бұрын
Damn this is so easy
@VincentCodesFinance
5 ай бұрын
That was my reaction too. Edgartools is just amazing when you need to get Edgar data in a usable format.
Пікірлер: 23