154-0571/01 – Applied quantitative finance in Python (AQFP)

Gurantor departmentDepartment of FinanceCredits5
Subject guarantordoc. Ing. Aleš Kresta, Ph.D.Subject version guarantordoc. Ing. Aleš Kresta, Ph.D.
Study levelundergraduate or graduate
Study languageEnglish
Year of introduction2022/2023Year of cancellation2025/2026
Intended for the facultiesEKFIntended for study typesFollow-up Master
Instruction secured by
LoginNameTuitorTeacher giving lectures
KRE330 doc. Ing. Aleš Kresta, Ph.D.
NEM191 Ing. Radek Němec, Ph.D.
Extent of instruction for forms of study
Form of studyWay of compl.Extent
Full-time Credit 1+3

Subject aims expressed by acquired skills and competences

Students of the course will learn how to code in Python. They will be familiar with conditional statements, functions, loops, basic data types and structures. They will understand the principles of working with libraries, packages and classes. They will be able to work with scientific packages such as NumPy and Pandas. Graduates of the course will have the following skills and competencies. In Python, they will be able to calculate risk and return of individual securities and portfolios, calculate investment portfolios, back-test investment portfolio strategies, create and back-test algorithmic trading strategies, perform Monte Carlo simulations, price options and calculate the Greeks and implied volatility. Graduates will independently and critically evaluate financial data and the results of quantitative analyses, assess the appropriateness and limitations of the methods used, and justify investment and trading decisions based on the results obtained. They will be able to independently address complex financial problems using Python, interpret model results, and respond to new situations and changing conditions in financial markets.

Teaching methods

Tutorials
Project work

Summary

The course is aimed at expanding students' ability to formulate, solve and subsequently interpret practical problems in the field of quantitative finance with the support of the Python programming language. Attention is paid especially to practical applications of individual models and approaches, in which students are expected to have at least basic theoretical knowledge and orientation. Students of the course will learn how to code in Python. They will be familiar with conditional statements, functions, loops, basic data types and structures. They will understand the principles of working with libraries, packages and classes. They will be able to work with scientific packages such as NumPy and Pandas. Graduates of the course will have the following skills and competencies. In Python, they will be able to calculate risk and return of individual securities and portfolios, calculate investment portfolios, back-test investment portfolio strategies, create and back-test algorithmic trading strategies, perform Monte Carlo simulations, price options and calculate the Greeks and implied volatility. Graduates will independently and critically evaluate financial data and the results of quantitative analyses, assess the appropriateness and limitations of the methods used, and justify investment and trading decisions based on the results obtained. They will be able to independently address complex financial problems using Python, interpret model results, and respond to new situations and changing conditions in financial markets.

Compulsory literature:

HILPISCH, Yves J. Financial theory with Python: a gentle introduction. Sebastopol, CA: O'Reilly, 2022. ISBN 978-1-098-10435-1. KELLIHER, Chris. Quantitative finance with Python: a practical guide to investment management, trading and financial engineering. Boca Raton, FL: Chapman & Hall/CRC, 2022. ISBN 978-1-032-01443-2. KRESTA, Aleš. Applied quantitative finance in Python: selected theories and examples. Ostrava: VSB - Technical University of Ostrava, 2024. ISBN 978-80-248-4748-1. LEWINSON, Eryk. Python for finance cookbook: over 80 powerful recipes for effective financial data analysis. Second edition. Birmingham, UK: Packt Publishing, 2022. ISBN 978-1-80324-319-1.

Recommended literature:

BRUGIÈRE, Pierre. Quantitative portfolio management: with applications in Python. Cham, Switzerland: Springer, 2020. ISBN 978-3-030-37739-7. HILPISCH, Yves J. Python for algorithmic trading: from idea to cloud deployment. Sebastopol, CA: O'Reilly, 2020. ISBN 978-1-492-05335-4. LIU, Peng. Quantitative trading strategies using Python: technical analysis, statistical testing, and machine learning. Berkeley, CA: Apress, 2023. ISBN 978-1-4842-9674-5. UNPINGCO, José. Python programming for data analysis. Cham, Switzerland: Springer, 2021. ISBN 978-3-030-68951-3.

Additional study materials

Way of continuous check of knowledge in the course of semester

Elaboration and defense of the project. For students with an ISP, the same requirements apply.

E-learning

Other requirements

no additional requirements

Prerequisities

Subject has no prerequisities.

Co-requisities

Subject has no co-requisities.

Subject syllabus:

1. Introduction to Python: core concepts and syntax, basic data types and working with variables, control structures 2. Structured data types (data structures), shorthand syntax for optimized use of control structures 3. Basic principles of software project organization, use within Python program: functions and classes, scope and visibility of variables, working with libraries and packages 4. Libraries NumPy and Pandas: uses, examples 5. Input/Output Operations 6. Handling of financial time series in Python, calculation of basic statistics and visualization 7. Stochastics: random numbers generation, simulation of stochastic processes 8. Portfolio optimization problem, portfolio performance measures, back-testing of portfolio investment strategies 9. Technical analysis and algorithmic trading, back-testing of trading strategies 10. Risk management: risk measures, risk estimation and its back-testing 11. Valuation of derivatives, calculation of Greeks and implied volatility 12. Project defense

Conditions for subject completion

Full-time form (validity from: 2022/2023 Winter semester)
Task nameType of taskMax. number of points
(act. for subtasks)
Min. number of pointsMax. počet pokusů
Credit Credit 85 (85) 85 2
        Vypracování a obhajoba projektu Project 85  85 2
Mandatory attendence participation: without obligatory attendance

Show history

Conditions for subject completion and attendance at the exercises within ISP: Elaboration and defense of the project. Without obligatory attendance.

Show history

Occurrence in study plans

Academic yearProgrammeBranch/spec.Spec.ZaměřeníFormStudy language Tut. centreYearWSType of duty
2025/2026 (N0688A050001) Information and Knowledge Management P Czech Ostrava 2 Choice-compulsory type B study plan
2025/2026 (N0311A050040) Economics P Czech Ostrava 2 Choice-compulsory type B study plan
2025/2026 (N0412A050005) Finance P English Ostrava 2 Choice-compulsory type B study plan
2025/2026 (N0488A050004) Finance and Accounting (S01) Finance P Czech Ostrava 2 Choice-compulsory type B study plan
2024/2025 (N0412A050005) Finance P English Ostrava 2 Choice-compulsory type B study plan
2024/2025 (N0488A050004) Finance and Accounting (S01) Finance P Czech Ostrava 2 Choice-compulsory type B study plan
2024/2025 (N0688A050001) Information and Knowledge Management P Czech Ostrava 2 Choice-compulsory type B study plan
2024/2025 (N0311A050040) Economics P Czech Ostrava 2 Choice-compulsory type B study plan
2023/2024 (N0688A050001) Information and Knowledge Management P Czech Ostrava 2 Choice-compulsory type B study plan
2023/2024 (N0488A050004) Finance and Accounting (S01) Finance P Czech Ostrava 2 Choice-compulsory type B study plan
2023/2024 (N0412A050005) Finance P English Ostrava 2 Choice-compulsory type B study plan
2023/2024 (N0311A050040) Economics P Czech Ostrava 2 Choice-compulsory type B study plan
2022/2023 (N0412A050005) Finance P English Ostrava 2 Choice-compulsory type B study plan
2022/2023 (N0488A050004) Finance and Accounting (S01) Finance P Czech Ostrava 2 Choice-compulsory type B study plan
2022/2023 (N0688A050001) Information and Knowledge Management P Czech Ostrava 2 Choice-compulsory type B study plan

Occurrence in special blocks

Block nameAcademic yearForm of studyStudy language YearWSType of blockBlock owner
Incoming students MS 2025/2026 Full-time English Choice-compulsory 163 - International Office stu. block
Incoming winter 2025/2026 MS 2025/2026 Full-time English Choice-compulsory 163 - International Office stu. block
Incoming students - MS 2024/2025 Full-time English Choice-compulsory 163 - International Office stu. block
Incoming students - MS 2023/2024 Full-time English Choice-compulsory 163 - International Office stu. block
Incoming students - MS 2022/2023 Full-time English Choice-compulsory 163 - International Office stu. block

Assessment of instruction



2025/2026 Winter
2024/2025 Winter
2023/2024 Winter
2022/2023 Winter