Blogs - Financial Modeling Prep API

financial analysis education blogs on using Python for financial analysis, understanding financial ratios, and interpreting financial statements.

Our Blogs

Sep 11, 2023 1:49 PM - Rajnish Katharotiya

What is Price To Earnings Ratio and How to Calculate it using Python

Price-to-Earnings ratio is a relative valuation tool. It is used by investors to find great companies at low prices. In this post, we will build a Python script to calculate Price Earnings Ratio for comparable companies. Photo by Skitterphoto on Pexels Price Earnings Ratio and Comparable Compa...

blog post title

Sep 11, 2023 1:46 PM - Rajnish Katharotiya

What is Business Risk and how to Measure it with Python

One of the key aspects to do well in the stock market is to know what is business risk. It is important to understand what type of business risks a company may have. Photo by Pixabay on Pexels What Is A Business Risk? Investopedia provides a very simple definition of business risk. Busin...

blog post title

Sep 11, 2023 1:45 PM - Rajnish Katharotiya

Technical Analysis Bollinger Bands with Python

During this article, I would like to show you how to calculate and plot Bollinger bands with Python. Technical Analysis is a great tool use by investors and analysts to find out interesting stocks to add to the portfolio. By the end of the article, we will have a Python script where we only need ...

blog post title

Sep 11, 2023 1:44 PM - Rajnish Katharotiya

Retrieve Company Fundamentals with Python

In this new post on Python for Finance, we are going to build an amazing Python tool to retrieve company fundamentals. It will be super simple to use. We will pass the ticker of the company that we are interested in and Python will do its magic to show us below Pandas DataFrame converted into an ...

blog post title

Sep 11, 2023 1:42 PM - Rajnish Katharotiya

Portfolio Risk and Returns with Python

Would you like to know how your portfolio is performing and how much risk you are taking? In this post, you will learn how to measure portfolio risk and calculate portfolio returns using Python. We will see step by step how to calculate the risk and returns of a portfolio containing four stocks Appl...

blog post title

Sep 11, 2023 1:40 PM - Rajnish Katharotiya

Portfolio Optimization with Python

What is Portfolio Optimization? Portfolio optimization is the process to identify the best possible portfolio from a set of portfolios. But how do we define the best portfolio? The answer depends on the investor profile. We may have investors pursuing different objectives when optimizing their...

blog post title

Sep 11, 2023 1:38 PM - Rajnish Katharotiya

P/E Ratios Using Normalized Earnings

Price to Earnings is one of the key metrics use to value companies using multiples. The P/E ratio and other multiples are relative valuation metrics and they cannot be looked at in isolation. One of the problems with the P/E metric is the fact that if we are in the peak of a business cycle, earni...

blog post title

Sep 11, 2023 1:37 PM - Rajnish Katharotiya

Industry Analysis with Python

During this post we are going to perform an industry analysis with Python. We will build, analyse and compare all stocks operating within an industry. To do so, we will pick an industry and get all important financial metrics for companies operating in that industry. Then, we will use a couple of fi...

blog post title

Sep 11, 2023 1:35 PM - Rajnish Katharotiya

Income Statement Sensitivity Analysis with Python

During this post, we are going to perform an income statement sensitivity analysis using Python. We will first retrieve the income statement for a company. Then, we will check how an increase of sales impact net income by projecting the whole income statement. And all what we need is Python. Phot...

blog post title

Sep 11, 2023 1:33 PM - Rajnish Katharotiya

Analyze the impact of exchange rates in companies using Python

Currency exposure may be one of the biggest headaches for big companies. From an investor perspective, it is important to understand the implications that changes in exchange rates have in company financials. In this post, we will first understand how exchange rates affect company profits. Then, we ...

blog post title


Financial Modeling Prep API provides real time stock price, company financial statements, major index prices, stock historical data, forex real time rate and cryptocurrencies. Financial Modeling Prep stock price API is in real time, the company reports can be found in quarter or annual format, and goes back 30 years in history.
2017-2024 © Financial Modeling Prep