|
I am about to generate some data to test some technical analysis functions.
I expect I am not the first! Has anybody some advice about where to look for some data sets? What I need, naturally, is pairs of series, input and output. I expect I can roll my own without too much difficulty but... cheers Worik -- The hippies were right _______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. If you want to post, subscribe first. -- Also note that this is not the r-help list where general R questions should go. |
|
On 28 September 2011 at 10:14, Worik Stanton wrote: | I am about to generate some data to test some technical analysis functions. | | I expect I am not the first! Has anybody some advice about where to | look for some data sets? | | What I need, naturally, is pairs of series, input and output. I expect | I can roll my own without too much difficulty but... As so often, Pat Burns has already been there and done that. See this Patrick Burns. "The Technical Analysis Challenge" (pdf) This draft: 2003 October 07 Abstract: We report on a study of the ability of analysts to distinguish an actual price series of an equity from random alternatives. Virtually all of the statistical tests on the results support the hypothesis that no skill was exhibited in selecting the correct response. Many of the analysts were extremely over-confident about their ability to select correct answers. The one area where it seems skill might have been exhibited is in the selection of correct answers that happened to be far from the random choices. Pointers to the graphs and data for the test, results of the participants, and so on can be found here. Instructions for using the data in R are in R for the Technical Analysis Challenge. from the page at http://www.burns-stat.com/pages/working.html where you can find links to paper(s), code and data. Hope this helps, Dirk | cheers | Worik | | -- | The hippies were right | | _______________________________________________ | [hidden email] mailing list | https://stat.ethz.ch/mailman/listinfo/r-sig-finance | -- Subscriber-posting only. If you want to post, subscribe first. | -- Also note that this is not the r-help list where general R questions should go. -- New Rcpp master class for R and C++ integration is scheduled for San Francisco (Oct 8), more details / reg.info available at http://www.revolutionanalytics.com/products/training/public/rcpp-master-class.php _______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. If you want to post, subscribe first. -- Also note that this is not the r-help list where general R questions should go. |
|
In reply to this post by Worik Stanton
On Tue, Sep 27, 2011 at 2:14 PM, Worik Stanton <[hidden email]> wrote:
> I am about to generate some data to test some technical analysis functions. > > I expect I am not the first! Has anybody some advice about where to look > for some data sets? > > What I need, naturally, is pairs of series, input and output. I expect I > can roll my own without too much difficulty but... In developing indicators and technical methods it is very helpful to feed models various synthetic data streams. I have a library of these and will discuss a few that I use here. 1. Instantaneous change. The is a dead simple series, but it can be amazingly informative. Mine runs at 1 and then jumps to 2. You might be surprised at the results you get, especially if any form of advanced smoothing is used. 2. Sine, triangle, saw tooth and square waves of various periodicities. 3. Idealized typical technical patterns, head and shoulders, double bottoms and tops, wedges, simple reversals and the like. 4. Cyclically varying volatility. 5. Most of the above coupled with trends, say plus or minus 10% annualized growth rates. The ideal is of course to torture test transforms so you will know what to expect from them in evolving market conditions. This is especially helpful in avoiding signals that are artifacts of your transforms rather than of the data. Try plotting 20 period, 2 standard deviation Bollinger Bands with 10, 20, 30 and 40 period square waves. Best, John _______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. If you want to post, subscribe first. -- Also note that this is not the r-help list where general R questions should go. |
|
Hello Horace,
It is only missing by omission; can't think of everything in a short post. I typically use market data or bootstrapped data for that, but you approach is equally, though differently, useful. I've been thinking a lot about Ralph Vince's comment on the Markets list about the arc sine law. I have observed that phenomenon in my bootstrapped series and I think that it is a very deep well. Best, John -- Who is a bit worried that these comments are not Rsih enough for this environment. Please forgive my gaucheness, but this is a topic near to my core. On Thu, Sep 29, 2011 at 4:35 PM, Horace Tso <[hidden email]> wrote: > John, always appreciate the insights from an expert in the trade, but what seems to be missing from your list is a simple series generated from random walk, e.g. > > x_t = cumsum(rnorm(10000,mean=0.05)/100) > > That's pretty much the null hypothesis for testing any trading system. > > Horace > > > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf Of BBands > Sent: Thursday, September 29, 2011 3:00 PM > To: R-sig-finance > Subject: Re: [R-SIG-Finance] Test data > > On Tue, Sep 27, 2011 at 2:14 PM, Worik Stanton <[hidden email]> wrote: >> I am about to generate some data to test some technical analysis functions. >> >> I expect I am not the first! Has anybody some advice about where to >> look for some data sets? >> >> What I need, naturally, is pairs of series, input and output. I >> expect I can roll my own without too much difficulty but... > > In developing indicators and technical methods it is very helpful to feed models various synthetic data streams. I have a library of these and will discuss a few that I use here. > > 1. Instantaneous change. The is a dead simple series, but it can be amazingly informative. Mine runs at 1 and then jumps to 2. You might be surprised at the results you get, especially if any form of advanced smoothing is used. > > 2. Sine, triangle, saw tooth and square waves of various periodicities. > > 3. Idealized typical technical patterns, head and shoulders, double bottoms and tops, wedges, simple reversals and the like. > > 4. Cyclically varying volatility. > > 5. Most of the above coupled with trends, say plus or minus 10% annualized growth rates. > > The ideal is of course to torture test transforms so you will know what to expect from them in evolving market conditions. This is especially helpful in avoiding signals that are artifacts of your transforms rather than of the data. Try plotting 20 period, 2 standard deviation Bollinger Bands with 10, 20, 30 and 40 period square waves. > > Best, > > John > > _______________________________________________ > [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance > -- Subscriber-posting only. If you want to post, subscribe first. > -- Also note that this is not the r-help list where general R questions should go. > -- John Bollinger, CFA, CMT www.BollingerBands.com If you advance far enough, you arrive at the beginning. _______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. If you want to post, subscribe first. -- Also note that this is not the r-help list where general R questions should go. |
|
On 29 September 2011 at 19:42, BBands wrote: | John -- Who is a bit worried that these comments are not Rsih | enough for this environment. Please forgive my gaucheness, but this is | a topic near to my core. Great posts, keep'em coming. All this is close to our hearts too. Dirk, with his listmaster hat on -- New Rcpp master class for R and C++ integration is scheduled for San Francisco (Oct 8), more details / reg.info available at http://www.revolutionanalytics.com/products/training/public/rcpp-master-class.php _______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. If you want to post, subscribe first. -- Also note that this is not the r-help list where general R questions should go. |
|
In reply to this post by BBands
On Fri, Sep 30, 2011 at 6:43 AM, Maheshwari, Dhruv
<[hidden email]> wrote: >> I've been thinking a lot about Ralph Vince's comment on the Markets list about the arc sine law. > > Can you point me to this mailing list? I am interested in joining. > > Regards, > Dhruv You can sign up for the Markets list here. http://mailman.bollingerbands.com/mailman/listinfo/markets In my keynote to the R/Finance conference in Chicago this Spring (great conference, wonderful people, highly recommended) I issued a general invite to the R community as I thought the possibilities for cross-fertilization interesting, but not much has happened in that regard. I've made some R-oriented posts, but the interest has been minimal. Enjoy, jab -- John Bollinger, CFA, CMT www.BollingerBands.com If you advance far enough, you arrive at the beginning. _______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. If you want to post, subscribe first. -- Also note that this is not the r-help list where general R questions should go. |
| Powered by Nabble | Edit this page |
