Professional Documents
Culture Documents
Trading rules
Performance Evaluation
Benchmarks
Constrained Optimization
Empirical results
Thomas Hellstr
m
Hellstr
Hellstrm
Department of Computing Science
Ume
Ume University
Sweden
email: thomash@
@cs.
thomash
cs.umu.se
umu.se
thomash@cs.umu.se
www.cs
cs..umu.se/~
thomash
www.
umu.se/~thomash
www.cs.umu.se/~thomash
Trading Rules
Level of Resistance
180
180
SELL
160
120
100
80
BUY
SELL
60
120
100
80
BUY
60
BUY
40
40
BUY
20
0
Thomas Hellstrm 2001
140
g(t)
SELL
SELL
140
g(t)
160
200
400
1
600
t
800
1000
20
-1
0
5
200
400
600
t
800
1000
-1
6
mavx1+x2
160
BUY
140
120
moving
average
mavx1
BUY
100
80
g(t)
Gaussian Volume
BUY
60
40
1
20
0
Thomas Hellstrm 2001
200
400
600
t
800
1000
-1
7
The crossing moving averages is combined with the Gaussian volume into
one compound trading rule mav:
Level of Resistance
10
Performance Evaluation
Performance measures are needed twice:
1) In the learning phase when optimal parameters
are determined
2) When the trading rules are tested out of sample
Two common ways to compute performance:
Profit in Simulated Trading
Hit rate at a fixed prediction horizon
In this paper the Hit rate is used.
11
12
Hit Rate
Benchmarks
13
Benchmarks
14
The trading rule normally issues Buy and Sell signals only for a
minor part of the time steps. This is bad for two reasons:
1) Bad statistical significance for the performance
2) Risk for over optimization. I.e: bad generalization
15
16
17
18
Sliding Windows
Optimization
Since we can
cant use cross validation
90
91
92
93
94
95
96
97
year
optimization evaluation
Run 1
Run 2
Run 2
Run 4
Run 5
Run 6
19
Results
20
Regularized
trading
rules
Non
regularized
Non
regularized
21
References
The stability and the relevance of the found optima is also tested.
The trading rules for 1992 are applied not only for 1992 but also
for the following years up to 1997:
22
23
email: thomash@
thomash@cs.
cs.umu.se
umu.se
www.cs
thomash
www.cs..umu.se/~
umu.se/~thomash
24