January performance review for Danica-9am algorithmic system

Wednesday, 03 February 2010 17:24
Article Index
January performance review for Danica-9am algorithmic system
AUD/USD
EUR/USD
GBP/USD
USD/CAD
USD/CHF
USD/JPY
AUD/JPY
CHF/JPY
EUR/AUD
EUR/CHF
EUR/GBP
EUR/JPY
GBP/CHF
GBP/JPY
All Pages

For the first time I am able to discuss performance of a ForexAutomaton system without the "benefit of hindsight" caveat: the results for January have been obtained in real time, hence no hindsight.

Executive summary

In the absence of a capital allocation and trade-idea discrimination system, the main figure of merit is the Pearson correlation coefficient between real and forecast logarithmic returns in day high, low and close. In January, these figures of merit appear to remain in line with longer range historical performance. A type of a trade strategy specifically designed to take advantage of the superior forecasting quality for daily high and low, while minimizing exposure to the forecast for close, is discussed, with an attempt to evaluate performance using the recorded output of the system in January.

The document consists of a summary section followed by 14 subsections, dedicated to the individual exchanged rates tracked by the system. Those contain color-coded charts of the performance and more detailed discussion focused on the specific currency combinations.

Changes in the algorithm

On January 14, the system was upgraded to version 0.5. The upgrade is expected to improve prediction quality for daily low and high, even though the effect may not be observable immediately.

Performance tables

End of January 2010 data are taken from the January 30th update. End of December 2009 data are taken from the December 31 update.
market Pearson correlation of log return and its forecast for day close
month since inception
to end of Januaryto end of December
AUD/USD 0.289 0.0473 0.0441
EUR/USD0.141 0.0628 0.0599
GBP/USD -0.0882 0.0949 0.098
USD/CAD 0.0432 0.00366 0.003
USD/CHF 0.232 0.0369 0.0337
USD/JPY -0.265 0.0252 0.0296
AUD/JPY -0.091 0.043 0.0447
CHF/JPY -0.343 -0.00894 -0.00338
EUR/AUD 0.0439 0.137 0.137
EUR/CHF -0.29 -0.0166 -0.0148
EUR/GBP 0.248 -0.043 -0.0503
EUR/JPY -0.0663 0.0546 0.0536
GBP/CHF 0.125 0.0333 0.0317
GBP/JPY -0.188 0.117 0.122
mean -0.015 0.042 0.042
standard deviation 0.21 0.051 0.052

Table 1. Forecasting quality for day close, January 2010.

market Pearson correlation of log return and its forecast for day high
month since inception
to end of Januaryto end of December
AUD/USD 0.46 0.237 0.233
EUR/USD 0.377 0.197 0.193
GBP/USD 0.0912 0.241 0.243
USD/CAD 0.305 0.16 0.158
USD/CHF 0.38 0.214 0.211
USD/JPY 0.302 0.155 0.152
AUD/JPY 0.404 0.244 0.242
CHF/JPY 0.271 0.22 0.218
EUR/AUD 0.0619 0.255 0.256
EUR/CHF -0.165 0.233 0.234
EUR/GBP 0.453 0.16 0.156
EUR/JPY 0.565 0.162 0.154
GBP/CHF 0.293 0.204 0.202
GBP/JPY 0.364 0.206 0.204
mean 0.297 0.206 0.204
standard deviation 0.189 0.035 0.037

Table 2. Forecasting quality for day high, January 2010.

market Pearson correlation of log return and its forecast for day low
month since inception
to end of Januaryto end of December
AUD/USD 0.339 0.182 0.18
EUR/USD 0.426 0.257 0.252
GBP/USD 0.245 0.266 0.264
USD/CAD 0.599 0.218 0.211
USD/CHF 0.411 0.223 0.22
USD/JPY -0.26 0.204 0.211
AUD/JPY -0.0011 0.0782 0.0782
CHF/JPY -0.0395 0.175 0.175
EUR/AUD 0.238 0.226 0.226
EUR/CHF 0.19 0.19 0.19
EUR/GBP 0.386 0.238 0.232
EUR/JPY -0.0516 0.242 0.243
GBP/CHF 0.151 0.208 0.211
GBP/JPY -0.191 0.243 0.247
mean 0.174 0.21 0.21
standard deviation 0.25 0.047 0.046

Table 3. Forecasting quality for day low, January 2010.

Day close strategies

These are trade-at-the-market strategies pursuing trades from day close to day close, which in case of prolonged moves may last for several business days. Not realizing the potential of day's high and low forecasting, this is the type of strategy I was having in mind while working on the system optimization just a few months ago. A particular way of colored bar charts was developed specifically for that (see examples for AUD/USD, USD/CAD, USD/CHF, GBP/USD, USD/JPY, and EUR/USD), and I am going to keep using that here.

Day range strategies

There is one thing the data are quite unambiguous about: the forecasting quality for day's extremes, low and high, is greatly superior to that of day close. Instead of trying to inject that information back into the algorithm to improve the quality of close, here is a better way: one can trade with a limit take-profit order and stop-loss. The issue of correctness of the forecast for close is, in effect, bypassed since a large fraction of trades will be closed by either of these orders even before the next close is reached. The time scale of a trade becomes effectively intra-day. Naturally, the high quality knowledge on the direction of next low and high, with respect to the previous day, enables betting on the coming day's dynamics with respect to the previous day's low and high. Specifically, having a bullish forecast for the coming day's high, low and close (we predict returns, that is changes in these quantities), one can bet with relative confidence that the previous day's high will be exceeded while the previous day's low will never be touched. The way to use this knowledge is to open a long position with the previous day's low as a stop-loss and a the previous day's high as an automated take-profit target. Situation for the short trade is a mirror-reflection of this.

In the following section, an implementation of this strategy is analyzed in a very simple-minded way by counting would-be profitable and would-be lossy trades. Such a simple tally is indeed relevant to the system profitability, assuming that the odds for such a trade to be a win or a loss are uncorrelated with how many pips it contains. Whether this is a good assumption remains to be seen. One may argue that trades with a small distance to a profit target and a long distance to the protective stop have a better chance of turning into profits than into a loss; on the other hand, the size of the possible profit is smaller than the size of the possible loss. What is the interplay of the two effects? How does the bias introduced by the fact that the trades are forecast to reach profit and not to reach loss by the system under study, influence the answer to the previous question? These are open questions at the moment.

A simple tally of profitable and lossy day-range trades, following the strategy just described, goes as follows: 141 winning trade, 94 losing trades.

Charts in the following sections give the reader, among other things, an opportunity to see how the variations in the seemingly abstract quantity such as the Pearson correlation coefficient correspond to variations in the potential trading performance.



Last Updated ( Thursday, 11 March 2010 08:36 )
 

Active algorithmic systems:

Danica | next day forecast | 9am Eastern time | 14 forex pairs

Add to Google Reader or Homepage

The charts are courtesy of .