75407 - Trading Algorhitms

Course Unit Page


This teaching activity contributes to the achievement of the Sustainable Development Goals of the UN 2030 Agenda.

Quality education Decent work and economic growth

Academic Year 2021/2022

Course contents

The trend-cycle component in the definition of trading strategies: sentiment analysis (hints), technical analysis (graphical approach).
The analytical approach: trading algorithms based on confidence intervals.

Treding algorithms exploiting:

deterministic and stochastic trend (identification and estimation);

- smoothing techniques (moving averages, exponential smoothing);

- pairs trading

- supervised machine learning tecniques 

The elements of any investment strategy: operational scenario, risk management and money management.
Simulation techniques (trading rules ex-post optimization).
Statistical models and trading algorithms evaluation: loss function and forecating errors, the combination of forecasts. The role of risk adversion, loss functions for the financial markets, directional forecasts.
Statstical approaches to trading system evaluation: descriptive and inferential approaches, accuracy and bias tests. The comparison between two or more trading systems.


Material (in English) will be provided by the teacher  on request.

Teaching methods

Teacher's lectures supplemented with smaller discussion sections, tutorials or laboratory sessions for testing statistical models and building trading strategies.

For students who intend to attend the laboratory session in person, it is necessary to carry out a training session regarding safety [https://elearning-sicurezza.unibo.it/] in e-learning mode (modules 1 and 2 )

Assessment methods

GIVEN COVID-19 RESTRICTIONS THE FINAL EXAM WILL BE ONLINE. A WRITTEN TEST with multiple answers (quiz). Indicatively: 27 and 33 questions to be completed in 50-70 minutes. Zero points for no answer; penalties for wrong answers.

An oral exam is foreseen for those who request it. To access the oral is necessary a mark of at least 18 in the written test. The maximum score that will add/subtract the oral exam is equal to the mark of the written test minus 17.

# -------- END of COVID-19 transient mode -------- #



The final test aims to assess the achievement of the following learning objectives:

• in-depth knowledge of the statistical tools discussed during the lectures

• ability to use these tools to analyze the economic and financial phenomena

• ability to use the results in order to interpret the phenomenon under study and achieve decision-making processes.

The final test is oral, normally preceded by a written test containg both theoretical questions and exercices

During the test is not allowed any materials such as textbooks, notes, computer media.

To take the exam you must pre-register on AlmaEsami

Those who do not succeed to enroll by the due date, are required to report promptly (and in any event before the official closing of the subscription lists) the problem to the Secretary's office. The teacher shall have the right to admit to the examinations.

It will be possible to discuss the test and ask for clarification at the date of verbalization

The possibility of using alternative hours of receipt to inspect the task is reserved for exceptional cases, with a valid reason.

The verbalization can occur in the absence of the student.

Teaching tools

Teacher's slides. Computer sessions with Excel and Visual Trader

Office hours

See the website of Andrea Guizzardi