Profitability ratios are financial metrics offering insights on how efficient a company is able to generate earnings.

  • Net Profit Margin
  • Gross Profit
  • Operating Profit
  • Return on Assets
  • Return on Equity
Profitability Analysis with Python
Photo by Emilio Takas on Unsplash

How to Calculate Profitability Ratios

Profitability and Margin Ratios


Retrieving company financials from Yahoo Finance

Photo by Pixabay on Pexels.com

Installing the Package


Build a Python script to send you an email every time the price of your favourite stock goes down in price.

Photo by Burak K on Pexels.com

Apple Stock Price Tracker


Building a Python script to analyse company earning calls.

Photo by Karolina Grabowska on Pexels.com

Why to Analyse Company Earning Calls


Calculating a company degree of financial leverage

Photo by Karolina Grabowska on Pexels.com

Measuring Companies Leverage


Valuing Google using the DCF method and Python.

Photo by Asdii Wang from Pexels

Introduction to the Discounted Cash Flow Method


Building a model to estimate WACC using Python

Photo by Karolina Grabowska from Pexels

What is the Weighted Average Cost of Capital (WACC)?


Building a model based on financial ratios with Python

Photo by Burst from Pexels

Investment Model with Python


Building a financial dashboard with Dash, Plotly and Python

Financial Dashboard with Python
Financial Dashboard with Python

Interactive Dashboards with Python


Learn how to use an iPad to create Python scripts

Python in iPad
Photo by bongkarn thanyakij from Pexels

Why Python for iPad?

Jose Manu (CodingFun)

Python for Finance. Learn step by step how to automate cool financial analysis tools. Writing at https://codingandfun.com/. Twitter: @CodingandF

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store