Nicholas Dwiarto
In this talk, Python and quantitative methods are used to access, validate, and analyze fundamental financial data from the US Securities and Exchange Commission (SEC) EDGAR system. The SEC's JSON API provides structured financial data, derived from company filings reported in eXtensible Business Reporting Language (XBRL), an international standard for financial reporting. Pydantic is used for robust data validation. Attendees will learn to:
While focused on the US market data, a brief explanation of the international landscape will also be provided. No finance background required. Basic Python is required to understand the data processing part.
Who: This talk is designed for anyone interested in using Python to understand public company financials, spanning from students, programmers, hobbyists, even experienced working professionals. As mentioned, no finance background is required for this talk. Beginner-level Python (variables, functions, lists, using libraries) might be required to understand how the financial data is processed to output metrics.
What: Attendees will be able to discover briefly about the XBRL language, hands-on techniques for getting data from SEC EDGAR's companyfacts API, combining data science and software engineering to validate data with Pydantic, extract key fundamental metrics from the API responses, calculate basic financial ratios, visualize financial trends, and learn the nuances of working with public financial data APIs, even internationally.
How: This talk will be presented in a mixed-style of core financial concepts with live (fallback is prepared in case network errors) Python demonstrations in a Jupyter Notebook / Google Colaboratory. This talk will go through the entire process: selecting a company to visualize its financial health, techniques to ensure that the data is valid, and calculating financial metrics and ratios.
Planned outline of the presentation:
companyfacts JSON API for XBRL-derived datarequests and pydantic to get and validate data for a sample U.S. companyRevenue, Net Income, Assets, Liabilities, Equitypandas's DataFrame to showcase the dataNet Profit Margin, Debt to Equity Ratiomatplotlib / seabornEDINET) has a different system, but with the same XBRL data structure, proving the skills and knowledge are transferrableMy finance journey started near the same time I discovered the world of computer programming. I started programming in the final year of junior high school, while my first investing journey was in the second year of senior high school. With my savings, I purchased my first stock, then watched it fall. That moment was shocking for me, and as a high-schooler who experienced a market downturn for the first time, it basically slashed my net worth and made me develop a slight fear of the finance world.
Years later, after entering the workforce and meeting many people, I realized that many people often find the finance world intimidating and they have the same fear as I had. It is often perceived as risky, confusing, full of "get rich quick" schemes and scams, inaccessible data, and a lot of difficult jargons. This "reputation" can make it feel intimidating and inaccessible, even though financial literacy is essential for everyone.
Understanding the fundamentals of public companies, how they operate and perform, how they report their performance is relevant in our data-driven world, whether for professional development or for personal interest. I realized that by leveraging Python as a bridge, it can transform the task of reading through official company's disclosures into an accessible, quantitative, and insightful process. In short, these are the goals of the session:
I want attendees to leave feeling more confident and equipped to use Python as a tool to better understand the financial information that "shapes" our world.
From my talk, I hope the audiences will go out of the room with these knowledge (among others):
No finance background is required; basic Python is required to understand how financial data is processed to output metrics.
プロフィール
Nicholas is a software engineer based in Japan. Originally hailing from Indonesia, he spends his weekends exploring Tokyo's neighborhoods, hiking local mountains, and reading articles about tech, finance, or anything that sparks his curiosity. Nicholas is passionate about building things that makes his life a bit easier, and he's always up for good views of the city.