![]() |
| Home RSS Directory F.A.Q Try Custom Feed Sonneries Portable |
Latest Flows from this sub-category: random selection from this sub-category: |
Forex Automaton. Automated forex trading system development. Sun, 13 Apr 2008 03:09:06 +0200 Look at the market action through cold and alien eyes that know no fear or greed -- the eyes of Forex Automaton™ . Mon, 07 Apr 2008 21:44:53 +0200 Our primary goal is to create a public information service providing financial markets forecasts, based on our proprietary forecasting tools: an automated trading system -- a Forex Automaton™. Our secondary goal is to quantify and monitor the very existence of sustainable opportunities for arbitrage profit-making. Or simply put, to monitor the degree to which these markets are more predictable than a "fair game" -- to a trader without access to insider information. Tue, 28 Oct 2008 03:07:15 +0100 Once you know something, such as the past history, pretending that you do not is very difficult. The ways a trader can delude him-/herself while backtesting a trading system vary in degree of subtlety. A crude one is to develop a set of trading rules by observing the past history of the market, and apply the algorithm on paper to the same past history. A more subtle one has to do with the choice of adjustable parameters. It is common to abstract the algorithm, and split it into the "artificial intelligence" (AI) core, capable of "learning", and adjustable parameters which may control the learning process, the application of its effects, or both. A developer would then prevent the AI from learning the future, and run a trading simulation program on historical data, having the AI algorithm fixed, for a range of parameter values and then pick the value that gives the best result. By not letting the AI learn the future, the developer reduces the level of self-delusion somewhat. The best simulated performance would still incorporate "the benefit of hindsight" albeit in a refined way -- through the choice of the adjustable parameters. While the AI did not learn from the future directly, its way of learning would incorporate the benefit of hindsight, and the results might contain a survivorship bias of sorts. The result? In case of a poor AI, the result will be a trading strategy with a hidden "peso problem". Below I demonstrate the quality of the Forex Automaton™ AI directly, by removing the selection step and thus the survivorship bias it brings in. I look simultaneously at the entire range of possible "ways of learning", refusing to reject any, even if there are a priori reasons to do so, no matter how convincing they might be. Nor do I reject any of the possible money management styles, for the same reasons. Fig.1:Return vs risk for paper trading in real AUD/JPY and simulated reference random walk markets. Vertical axis: annualized return, calculated as an average of independent monthly statistics, 1=100% per annum. Horizontal axis: standard deviation (RMS) of such annualized return from the same monthly statistics, same unit. Each point represents an instance of a trading system, a simulated trader; points differ by trading strategy which is subject to optimization. Black points: trading 4 fantasy markets with volatility of AUD/JPY, random by construction (no predictability or patterns). Red points: real AUD/JPY. Not all outcomes are included: in some cases, the trading did not last even a month therefore no RMS could be calculated -- there would be no other month of trading performance to compare with. In such cases the system is programmed to record a zero RMS, and such outcomes did not make it into the figure. The only other requirement is that of excluding the mean annualized returns above 5 (500%) and RMS above 20 -- happy as I am to include higher returns, they would make the picture difficult to analyze visually. Sun, 25 May 2008 19:50:17 +0200 While it is true that past performance does not indicate the future, the only reliable information we have is about the past. A few important things make a difference between unbiased trading-system testing and self-delusion. Here I summarize my current understanding. Sat, 25 Oct 2008 04:08:42 +0200 There is quite a shortage of good historical LIBOR interest rates data charts with a selection of currencies and maturities on the net. ForexAutomaton.com has a new section for just that: find historical LIBOR charts sorted by currency, loan duration and year on our site. These are essentially graphical "dumps" of our SQL database, based on the official BBA LIBOR archive. Use the Filter feature of the list to find the data you need. Wed, 01 Oct 2008 22:42:26 +0200 This article begins a series of analysis reports investigating a degree of predictability in the LIBOR rates, a popular capital cost indicator. The analysis is based on historical LIBOR interest rate data released by the British Bankers Association. I continue with the same technique proved useful in the predictability analysis of forex exchange rates, as our interest in the interest rates in general is in part provoked by the results of the latter analysis, namely:
Fig.1: LIBOR heartbeat: autocorrelation in logarithmic returns of historical USD LIBOR rates, s/n-o/n duration, shown against the backdrop of statistical noise (red). The noise is obtained from martingale simulations based on the recorded LIBOR volatility for the period under study (2002-2008). The noise is presented as mean plus-minus 1 RMS, where RMS characterizes the distribution of the correlation value obtained for each particular bin by analyzing 20 independent simulated pairs of uncorrelated time series. The LIBOR shows strong regular structure with a period of 10 business days (two weeks). Time lag is measured in days. The familiar jump-the-gun pattern (strong negative signal around zero time lag) seen sometimes in forex, is also visible here. This is the level of predictability one can only dream of in forex exchange rates, yet it is the interest rates that drive forex. Is LIBOR always that predictable? Obviously, when exploring these "loopholes" or market inefficiencies for wealth generation, an algorithmic trader or a forex trading system (an automated decision making algorithm such as the one being built here on Forex Automaton™ site) must be mindful of the picture of LIBOR rates and its evolution, albeit in a somewhat different context than a long-term money manager. Being able to predict events, even in a weak statistical sense, is even better than merely following. Besides being useful via their implications for forex forecasting, LIBORs form an underlying indicator for derivatives of their own. LIBOR futures contracts and options on such contracts are traded on the CME. How does the predictability of LIBORs compare with that of currencies? Which one, LIBOR or forex, is more attractive to trade? Answering these questions, or providing a technical analysis framework to approach the answers, while leaving the fundamentals and event-driven trends aside, this series of articles about correlation features in LIBORs will serve as a useful compliment to our set of forex correlation analysis notes. I start this new series of articles with the all-important US Dollar LIBOR. Tue, 02 Dec 2008 03:30:47 +0100 Among the other LIBOR rates, the Danish Krone LIBOR is remarkable for its positive autocorrelations, peculiar and very strongly pronounced short-range pattern of the overnight interest rate, and the weakness of the correlation between different duration terms. Like the previous LIBOR predictability overviews, this document begins with historical LIBOR charts for the currency, continues with volatility analysis, and culminates with autocorrelations and correlations of logarithmic returns for various DKK LIBOR terms. As with many other currencies, the predictable patterns in DKK LIBOR evolve with loan duration term from short-range but strong and regular oscillation in the overnight through smooth waves in 3-month and into relative featurelessness of the 12-month LIBOR. Motivation for publishing this type of study on a forex trading system site has been outlined in the USD LIBOR analysis. Here I can only add that for a student of financial correlations, LIBOR is a nice real-life intuition-building tool, for the correlations are so strong you can learn to identidy features in the charts with features in the correlations visually. Wed, 26 Nov 2008 07:03:45 +0100 The intermarket correlation between Euro/ Swiss Franc and US Dollar/Swiss Franc has a narrow positive peak at the zero time lag whose internal structure can not be resolved on the hour time scale -- simply put, these currencies are positively with fast enough response to one another, and their combination offers no visible benefit for forecasting. Tue, 25 Nov 2008 06:46:31 +0100 This is a follow-up report on the broad and somewhat asymmetric (with a tendency for CHF/USD to follow EUR/USD, at least during European trading) correlation between EUR/USD and USD/CHF. To those who are new to this site: the blog focuses on applying quantitative analysis to forex in search for significant patterns which can be utilized for trading short range, the minimal time scale being one hour. The strongly negatively correlated pair, EUR/USD and USD/CHF are often used as a classic example when discussing pair trading and hedging. Typically people discuss the so-called instanteneous, or zero time-lag correlation. No public discussion of the behaviour of the correlation for non-zero time lags -- a subject of interest to those willing to forecast the currency moves or create a forex trading system -- is known to me, other than of course what can be found on this site. In this report I focus on European trading hours (1am to 1pm New York time), extend the period of observation up to the fourth quarter of 2008 and analyze the time stability of the delayed correlations between EUR/USD and USD/CHF. Thu, 20 Nov 2008 03:31:57 +0100 Like the previous LIBOR predictability overviews, this document begins with historical LIBOR charts for the Canadian Dollar, continues with volatility analysis, and culminates with autocorrelations and correlations of logarithmic returns for various CAD LIBOR terms. 1-week LIBOR shows wave-like correlation pattern with a period of about 30 days on top of a positive autocorrelation. As the loan duration gets longer, the wave disappers and a more uniform positive autocorrelation emerges for the range of time lags of up to 70 days. That gets reduced to a 2-3 days wide peak around zero time lag for 12-month LIBOR. Cross-correlations between different LIBOR terms show srong predictability of the shorter range LIBOR on the basis of longer range. Motivation for this type of study has been outlined in the USD LIBOR analysis. |
|
contact |