
Learn why Python is the go-to high-level, readable language for algorithmic trading and time series analysis, backed by vast libraries for scientific computing, machine learning, and data science.
Install python from python.org on windows, using the default option for version 3.11.1, add python to the path, and verify it via environment variables.
Explore currencies and the forex market, define exchange rates, and analyze how central banks influence currencies, using a two-dimensional currency table and a graph-based arbitrage detection with negative cycles.
Compare long and short positions, showing how buying aims to profit from rising prices while short selling profits from declines, with risks in bear and bull markets.
Explore how the simple moving average indicator smooths price data, filters noise, and signals bullish or bearish trends using fast and slow moving averages.
Learn how simple moving averages identify trend directions and define support and resistance levels, with uptrends showing support and downtrends defining resistance.
Construct fast and slow moving average indicators from adjusted closing prices using exponential weighted moving averages, generate crossover signals, and visualize a moving average crossover trading strategy.
Explore the relative strength indicator, a 0-100 momentum oscillator that uses a 14-day average gain and loss to reveal bullish or bearish momentum and overbought or oversold conditions.
Implement a from-scratch relative strength index using Yahoo! Finance data, computing log daily returns, moves, and 14-day average gains and losses to derive RSI and identify overbought or oversold conditions.
Combine moving average crossovers with the relative strength index to trigger long positions when RSI signals oversold (below 30), tested on IBM 2015–2020.
Install the backtrader library, configure the project interpreter, and import backtrader. Instantiate Cerebro, brain of the backtrader framework, feed Yahoo Finance data, and run the strategy to analyze Sharpe ratio.
Apply the Backtrader moving average indicators to implement a fast and slow crossover strategy, using buy and close signals on Yahoo Finance data to manage long positions.
Learn how the average true range indicator measures volatility and guides position sizing, using true range calculations and a 14-period average to adjust investment size and avoid highly volatile assets.
This course is about the fundamental basics of algorithmic trading. First of all you will learn about stocks, bonds and the fundamental basic of stock market and the FOREX. The main reason of this course is to get a better understanding of mathematical models concerning algorithmic trading and finance in the main.
We will use Python and R as programming languages during the lectures
IMPORTANT: only take this course, if you are interested in statistics and mathematics !!!
Section 1 - Introduction
why to use Python as a programming language?
installing Python and PyCharm
installing R and RStudio
Section 2 - Stock Market Basics
types of analyses
stocks and shares
commodities and the FOREX
what are short and long positions?
+++ TECHNICAL ANALYSIS ++++
Section 3 - Moving Average (MA) Indicator
simple moving average (SMA) indicators
exponential moving average (EMA) indicators
the moving average crossover trading strategy
Section 4 - Relative Strength Index (RSI)
what is the relative strength index (RSI)?
arithmetic returns and logarithmic returns
combined moving average and RSI trading strategy
Sharpe ratio
Section 5 - Stochastic Momentum Indicator
what is stochastic momentum indicator?
what is average true range (ATR)?
portfolio optimization trading strategy
+++ TIME SERIES ANALYSIS +++
Section 6 - Time Series Fundamentals
statistics basics (mean, variance and covariance)
downloading data from Yahoo Finance
stationarity
autocorrelation (serial correlation) and correlogram
Section 7 - Random Walk Model
white noise and Gaussian white noise
modelling assets with random walk
Section 8 - Autoregressive (AR) Model
what is the autoregressive model?
how to select best model orders?
Akaike information criterion
Section 9 - Moving Average (MA) Model
moving average model
modelling assets with moving average model
Section 10 - Autoregressive Moving Average Model (ARMA)
what is the ARMA and ARIMA models?
Ljung-Box test
integrated part - I(0) and I(1) processes
Section 11 - Heteroskedastic Processes
how to model volatility in finance
autoregressive heteroskedastic (ARCH) models
generalized autoregressive heteroskedastic (GARCH) models
Section 12 - ARIMA and GARCH Trading Strategy
how to combine ARIMA and GARCH model
modelling mean and variance
+++ MARKET-NEUTRAL TRADING STRATEGIES +++
Section 13 - Market-Neutral Strategies
types of risks (specific and market risk)
hedging the market risk (Black-Scholes model and pairs trading)
Section 14 - Mean Reversion
Ornstein-Uhlenbeck stochastic processes
what is cointegration?
pairs trading strategy implementation
Bollinger bands and cross-sectional mean reversion
+++ MACHINE LEARNING +++
Section 15 - Logistic Regression
what is linear regression
when to prefer logistic regression
logistic regression trading strategy
Section 16 - Support Vector Machines (SVMs)
what are support vector machines?
support vector machine trading strategy
parameter optimization
APPENDIX - R CRASH COURSE
basics - variables, strings, loops and logical operators
functions
APPENDIX - PYTHON CRASH COURSE
basics - variables, strings, loops and logical operators
functions
data structures in Python (lists, arrays, tuples and dictionaries)
object oriented programming (OOP)
NumPy
Thanks for joining my course, let's get started!