Skip to main content
HomePython

Course

Financial Trading in Python

IntermediateSkill Level
4.8+
265 reviews
Updated 12/2021
Learn to implement custom trading strategies in Python, backtest them, and evaluate their performance!
Start Course for Free
PythonApplied Finance4 hr15 videos50 Exercises4,000 XP20,318Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

Course Description

Are you fascinated by the financial markets and interested in financial trading? This course will help you to understand why people trade, what the different trading styles are, and how to use Python to implement and test your trading strategies. Start your trading adventure with an introduction to technical analysis, indicators, and signals. You'll learn to build trading strategies by working with real-world financial data such as stocks, foreign exchange, and cryptocurrencies. By the end of this course, you'll be able to implement custom trading strategies in Python, backtest them, and evaluate their performance.

Prerequisites

Intermediate Python for Finance
1

Trading Basics

What is financial trading, why do people trade, and what’s the difference between technical trading and value investing? This chapter answers all these questions and more. You’ll also learn useful tools to explore trading data, generate plots, and how to implement and backtest a simple trading strategy in Python.
Start Chapter
2

Technical Indicators

Let's dive into the world of technical indicators—a useful tool for constructing trading signals and building strategies. You’ll get familiar with the three main indicator groups, including moving averages, ADX, RSI, and Bollinger Bands. By the end of this chapter, you’ll be able to calculate, plot, and understand the implications of indicators in Python.
Start Chapter
3

Trading Strategies

You’re now ready to construct signals and use them to build trading strategies. You’ll get to know the two main styles of trading strategies: trend following and mean reversion. Working with real-life stock data, you’ll gain hands-on experience in implementing and backtesting these strategies and become more familiar with the concepts of strategy optimization and benchmarking.
Start Chapter
4

Performance Evaluation

How is your trading strategy performing? Now it’s time to take a look at the detailed statistics of the strategy backtest result. You’ll gain knowledge of useful performance metrics, such as returns, drawdowns, Calmar ratio, Sharpe ratio, and Sortino ratio. You’ll then tie it all together by learning how to obtain these ratios from the backtest results and evaluate the strategy performance on a risk-adjusted basis.
Start Chapter
Financial Trading in Python
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.8
from 265 reviews
85%
14%
1%
0%
0%
  • Abdessamad
    19 hours ago

  • ศุภสรรค์
    3 days ago

  • Aleksandar
    2 weeks ago

  • Bùi Lê
    2 weeks ago

  • pratad
    3 weeks ago

  • Le Normand
    5 weeks ago

Abdessamad

ศุภสรรค์

Aleksandar

FAQs

What trading strategies will I learn to implement in Python?

You will implement and backtest both trend-following and mean-reversion strategies using real stock data, and learn strategy optimization and benchmarking techniques.

Which technical indicators are covered?

You will learn to calculate and interpret moving averages, ADX, RSI, and Bollinger Bands, and use them to construct trading signals in Python.

What performance metrics are used to evaluate strategies?

You will learn returns, drawdowns, Calmar ratio, Sharpe ratio, and Sortino ratio to evaluate strategy performance on a risk-adjusted basis.

What types of financial data are used in the course?

You will work with real-world data from stocks, foreign exchange markets, and cryptocurrencies throughout the four chapters.

Do I need prior trading or finance experience?

No trading experience is needed. The course starts with trading basics and explains why people trade and the difference between technical trading and value investing.

Join over 19 million learners and start Financial Trading in Python today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.