Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Complete Python and Machine Learning in Financial Analysis
Rating: 4.7 out of 5(572 ratings)
72,787 students
Last updated 2/2026
English

What you'll learn

  • You will be able to use the functions provided to download financial data from a number of sources and preprocess it for further analysis
  • You will be able to draw some insights into patterns emerging from a selection of the most commonly used metrics (such as MACD and RSI)
  • Introduces the basics of time series modeling. Then, we look at exponential smoothing methods and ARIMA class models.
  • shows you how to estimate various factor models in Python. one ,three-, four-, and five-factor models.
  • Introduces you to the concept of volatility forecasting using (G)ARCH class models, how to choose the best-fitting model, and how to interpret your results.
  • Introduces concept of Monte Carlo simulations and use them for simulating stock prices, the valuation of European/American options and calculating the VaR.
  • Introduces the Modern Portfolio Theory and shows you how to obtain the Efficient Frontier in Python. how to evaluate the performance of such portfolios.
  • Presents a case of using machine learning for predicting credit default. You will get to know tune the hyperparameters of the models and handle imbalances
  • Introduces you to a selection of advanced classifiers (including stacking multiple models)and how to deal with class imbalance, use Bayesian optimization.
  • Demonstrates how to use deep learning techniques for working with time series and tabular data. The networks will be trained using PyTorch.

Course content

10 sections83 lectures20h 17m total length
  • Introduction of Python Programming in Financial Analysis9:13

    Explore how Python powers financial analysis with easy learning, extensive libraries, and cross-platform flexibility, enabling data analysis, machine learning, and open-source collaboration in finance.

  • Introduction of Financial Analysis4:40
  • Introduction2:42

    Gather and preprocess high-quality financial data, convert prices to returns, and visualize time series. Examine stylized facts of asset returns and how data source differences affect analyses.

  • Getting data from Yahoo Finance5:50
  • Getting data from Quandl4:14

    Learn to download data from a data provider using a Python library by creating an account, authenticating with an API key, and fetching datasets with daily to annual frequencies.

  • Converting prices to returns13:52

    Transform prices into returns to achieve stationarity in financial time series, then compute simple and log returns, and adjust for inflation using CPI and Quandl data.

  • Changing frequency9:29

    Explore changing frequency by transforming log returns and volatility across time periods, and learn to compute realized and annualized volatility using daily and monthly data, with a practical Apple example.

  • Visualizing time series data14:10

    Visualize time series data by combining pandas with Cufflinks and Plotly to create interactive, multi-axis plots of stock prices, simple returns, and log returns in Jupyter.

  • Identifying outliers13:10
  • Investigating stylized facts of asset returns36:03
  • Codes of Chapter 10:01

Requirements

  • Statistics and Basic Python

Description

In this course, you will become familiar with a variety of up-to-date financial analysis content, as well as algorithms techniques of machine learning in the Python environment, where you can perform highly specialized financial analysis. You will get acquainted with technical and fundamental analysis and you will use different tools for your analysis. You will learn the Python environment completely. You will also learn deep learning algorithms and artificial neural networks that can greatly enhance your financial analysis skills and expertise.

This tutorial begins by exploring various ways of downloading financial data and preparing it for modeling. We check the basic statistical properties of asset prices and returns, and investigate the existence of so-called stylized facts. We then calculate popular indicators used in technical analysis (such as Bollinger Bands, Moving Average Convergence Divergence (MACD), and Relative Strength Index (RSI)) and backtest automatic trading strategies built on their basis.

The next section introduces time series analysis and explores popular models such as exponential smoothing, AutoRegressive Integrated Moving Average (ARIMA), and Generalized Autoregressive Conditional Heteroskedasticity (GARCH) (including multivariate specifications). We also introduce you to factor models, including the famous Capital Asset Pricing Model (CAPM) and the Fama-French three-factor model. We end this section by demonstrating different ways to optimize asset allocation, and we use Monte Carlo simulations for tasks such as calculating the price of American options or estimating the Value at Risk (VaR).

In the last part of the course, we carry out an entire data science project in the financial domain. We approach credit card fraud/default problems using advanced classifiers such as random forest, XGBoost, LightGBM, stacked models, and many more. We also tune the hyperparameters of the models (including Bayesian optimization) and handle class imbalance. We conclude the book by demonstrating how deep learning (using PyTorch) can solve numerous financial problems.

Who this course is for:

  • Developers
  • Financial Analysts
  • Data Analysts
  • Data Scientists
  • Stock and cryptocurrency traders
  • Students
  • Teachers
  • Researchers