QuanTek development: This is a summary of the history of the QuanTek program. It started in the late-90s as a simple Technical Analysis program and programming exercise. But eventually it evolved to incorporate state-of-the-art concepts of Econometrics, Adaptive filters, and Wavelet techniques. This was done to try to realize time-series methods from a Signal Processing point of view. We view Technical Analysis as a heuristic fore-runner of these ideas.
Internally the QuanTek program has been extensively modernized, but the user interface (UI) looks much the same as the original version from the late '90s. This needs to be modernized from the old Multiple Document Interface (MDI) interface to a newer Tabbed Interface, and the new Ribbon menus will also be implemented. This upgrade of the UI is planned for QuanTek version 4.0.
The new QuanTek version 3.9 has many improvements over the previous version. A new set of splitter windows with graphs displaying a new set of indicators has been incorporated. These indicators are the regressors for the Adaptive Filter, which are called Relative Price, Velocity, and Volatility. The first two splitter windows show these three regressors with Low-Pass and Band-pass smoothing. The Relative Price with these two smoothings form the Buy/Sell Signals, for setting GTC limit orders, and the Buy/Sell Points, for N-day swing trading. Finally, on the third splitter window is show the Adaptive Filter Output, from which is derived the Long/Short Signals. These indicate the favorable periods for a long/short position. All of these indicators are now completely causal (depend only on past data).
There are also several new statistical tests, including a Simulated Trading scenario utilizing the Long/Short Signals and daily trading. This tests the improvement of (simple) returns due to Active trading, compared to the (simple) returns due to Buy & Hold Passive investing. There are also new correlation tests involving the regressor (and other) indicators. The Main Graph has also been updated and a fifth scale has been incorporated.
Also the Volatility has been taken into account as a regressor in the Adaptive Wavelet LP filter which makes it into a GARCH model (Generalized AutoRegressive Conditional Heteroskedasticity). This should improve the predictive power as well as setting the stage for an Options version of QuanTek.
Due to the fact that Yahoo discontinued its free data services, it became necessary to find some new data sources for QuanTek. The best free data service that we have found so far is Alpha Vantage. Another, inexpensive source of data that is suitable is EOD Historical Data. A version of QuanTek for each of these two data services was then created, each utilizing its own parse routine. The method of storing the data in the data files had to be modified, so that the data files would be interchangable between all data sources. Both versions are included in the download file, and they may be used interchangeably with the same data files. Some new parse routines for CSV files in a variety of formats were also created, which can parse the CSV files produced by the data download. There are four types of download: Historical, Daily Update, Intra-Day Update data and also Fundamental data (not utilized at present). An automatic routine to download the latest 100 days or so of data was created for the Daily Update, which downloads data for the whole portfolio, one security per minute. You can set the time for automatic download each evening after market hours, even when the computer is asleep.
A new Adaptive Wavelet Linear Prediction filter has been developed that seems to provide good results. This filter solves some issues with the previous filter design. We intend to refine and develop this filter further in future updates. This new Wavelet Linear Prediction filter is designed for non-stationary time series such as financial returns series. It should give a better estimate of the N-day returns, up to 128 days, without "fitting to the stochastic noise" as in the standard filters. This filter is also set up so that it can be generalized to more complex types of filter. The next improvement will be an adaptive version of this filter, and also the filter will be generalized to a multivariate version which does the whole portfolio calculation at once.
Also the Optimal Portfolio calculation was updated and refined, going beyond the modified Markowitz method that was previously used. It was necessary to develop a new modified version of the Markowitz method that was suitable for individual portfolios (see the article in the Help file). This corrects a fundamental issue with the standard Markowitz method.
I have also introduced a new set of Help dialogs. Eight of these are shown from the Welcome to QuanTek! dialog, which is available from the Main Window, and another eight are shown from the Data analysis - Graphs & Trading Rules, which is available from the Graph Window. These Help dialogs present a summary of key features of the QuanTek program, and also provide links to the main Help file. The entire Help file was also rewritten and improved, in particular four of the five articles, which present an overview and theory behind the QuanTek program.
This version downloads free data from Alpha Vantage, inexpensive data from EOD Historical Data, as well as parsing CSV files in a variety of formats. The program is set up to download Historical, Daily Update, Intra-Day Update data and also Fundamental data (not utilized at present). The historical data are downloaded one security at a time, but the daily update (actually for the past 100 days) may be done automatically for the whole portfolio (one security per minute). The time for the daily update each evening may be set, and then the download is done automatically even while the computer is asleep.
This has been a series of beta versions, in which I have essentially rewritten and modernized the whole program. Many of the numerical routines and data download routines were obsolete and needed to be updated. The ASCII parse routines were also updated and improved, in particular to implement the parsing of free Yahoo data.
The old version of the Trading Rules from QuanTek 3.2 using Momentum Indicators was dropped. It occurred to me that this approach was equivalent to a Linear Prediction filter based on smoothed regressors, which was set up manually. Accordingly, new designs for an Adaptive Linear Prediction filters based on smoothed regressors, were begun. This means the filter adapts itself to the data automatically instead of manually, and the same filter can be used for the Trading Rules as is used for the Price Projection.
In addition, a set of Wavelet routines was implemented, incorporating Wavelet smoothing in various displays, as well as the new Adaptive Wavelet Linear Prediction filter design. This design is more appropriate for financial data than conventional designs, such as the Standard LP filter that we still use, because it minimizes "fitting to the noise" and helps to separate the "signal" from the "noise" in financial data.
A number of Statistical Tests have been devised and included in a Statistical Tests Dialog. These were devised to test the Linear Prediction filter as well as the Wavelet routines to make sure they were operating correctly.
I developed an encrypted Authorization Key for the program to enable licensing for fixed subscription periods, which uses a personal Pass Code for each subscriber.
QuanTek enables you to design your own custom technical indicators and trading rules, and to test these indicators and trading rules for effectiveness. The technical indicators are based upon a variety of Linear Prediction filters and the Savitzky-Golay smoothing filter. Used together, these two digital filters yield a wide variety of oscillator-type indicators. QuanTek also incorporates a variety of statistical tests to test the effectiveness of these indicators. There are several correlation tests to test the correlation between the indicators or the LP filter output with future returns directly. There is also a back-testing routine called the Diagnostic Test to test the Trading Rules derived from the indicators in several realistic trading scenarios with values of the time horizon for trading from 1 to 40 days. Also included are displays of the spectrum of returns, based on either the standard Periodogram or the Wavelet spectrum. These are included because these spectrum measurements are the basis of several of the Linear Prediction filters in QuanTek.
This version of QuanTek underwent much testing and development of the Linear Prediction filter routines, in particular the development of a Wavelet LP filter. To go along with this, we added a Hybrid LP Filter dialog, to enable setting the choice of Filter Type, Order of Approximation, and Fractal Dimension for each security data file individually. These filters and their parameters can be tested from within this dialog by calling the Correlation Test - Filters dialog, to measure the correlation between the raw Price Projection (returns) output of the LP filter with the future returns, for a variety of choices of the time horizon.
Also a Correlation Test - Filters dialog was developed in order to test directly the predictive properties of the various Linear Prediction filters. In this version, six different LP filters were included, and any one of these filters can be selected to use for computing the Price Projection and Trading Rules. However, it was found necessary to be able to set the filter parameters manually, for each security individually, in particular the Fractal Dimension. This has been done in the subsequent version of QuanTek by bringing back the Hybrid LP Filter dialog, in addition to a choice of the six different filter types.
The Time Horizon adjustment could now be made separately for each security, rather than one setting for the whole program. This is important because each security has its own optimum time horizon for best performance of the Price Projection. Now this may be set either in the Correlation Test - Filters dialog when testing the filters or in the Correlation Test - Indicators dialog when testing the indicators.
A new dialog box, called the Trading Rules Filter & Momentum Weights dialog, was added, where the Trading Rules can be selected and displayed. The new selections for the Trading Rules include three new controls, called the Increment, the Threshold, and the Compression. In addition the three Momentum Weights, which are the weights of the three Momentum Indicators in the Trading Rules, are set from this dialog. This new dialog is also called from the Diagnostic Test, so a set of Trading Rules based on the three saved Momentum Indicators can be set and back-tested independently from the data file itself.
QuanTek now works with either TeleChart or MetaStock data, or directly with ASCII files in a variety of formats.
Here were some of the new features of QuanTek:
StockEval was a preliminary version of our stock trading program, designed to incorporate up-to-date methods of computation and a scientific basis for technical analysis. This program featured the use of the Savitzky-Golay digital smoothing filter, as a replacement for moving averages, and a Linear Prediction filter to estimate future returns up to 100 days in the future. This resulted in a novel set of technical indicators which featured zero time lag, and a more straightforward interpretation than the usual ones. We experimented with several different approaches to Price Projection, each of which captures certain aspects of the overall problem, as it turns out.
StockEval used only data from Dial/Data or ASCII files. (It was written originally for Dow Jones data, and still had some legacy features from that, including the capability to log on to any database via modem as a Telnet program.)
These were the main features of StockEval:
Go back to QuanTek Features