Welcome to the Traders Laboratory Forums.
Automated Trading Black box systems, strategy automation, algorithmic trading, etc...

Reply
Old 10-20-2009, 02:32 AM   #1

Join Date: Oct 2009
Location: Exeter
Posts: 3
Ignore this user

Thanks: 1
Thanked 0 Times in 0 Posts

Has the Last Time Period Ever Happened Before?

Hello,

I am about to start a hobby-project that will hopefully get a nagging idea out of my head. However before starting, I would like your views on whether it is completely daft. It involves:

1. Grabbing as much historical data as possible for a whole market.
2. Arranging the data in such a way that the whole database can be searched for a pattern formed by the last 15minutes (say) market activity.
3. Count how many times a scenario has taken place before - if at all.
4. Extract details of what happens next.
5. Decide if the odds of making money are good.
6. Search/calculation time to be less than a second.

Has anyone tried this before? I have searched the forum, but found little. I apologize in advance if I missed something obvious.

Regards, Peter.
MixedHerbs is offline  
Reply With Quote
Old 10-20-2009, 09:17 AM   #2
zdo

Join Date: Nov 2007
Location: boonies
Posts: 1,349
Ignore this user

Thanks: 317
Thanked 355 Times in 256 Posts
Blog Entries: 104

Re: Has the Last Time Period Ever Happened Before?

Building an array of setups is a good idea but using pattern recognition has not borne the fruit most of its visionaries thought it would. Since the 80’s a series of commercial pattern recognition programs have come and gone. Just saw a blurb about one in a tv commercial (eTrade ?) recently. The practical application of pattern recognition has several limitations. One is the tolerance / fuzziness of the underlying templates - which in the trading world needs to be variable , looser then tighter the looser, etc.... But how does one intelligently pull that variability off. Second, patterns in a vacuum may show slight statistical odds, but when applied real time aren't so shiny. Third patterns not run in a vacuum, ie those with a contextual layer above the actual pattern require, again, variable tolerance in both the granular pattern and the ‘background’ pattern. Fourth, ….
What you’re thinking can be done. It’s a specialty, a niche… and if it's you, don't let anything discourage you... but bottom line, pattern recognition algos in general do not produce extraordinary results. hth
zdo is offline  
Reply With Quote
The Following User Says Thank You to zdo For This Useful Post:
MixedHerbs (10-27-2009)
Old 10-20-2009, 09:22 AM   #3

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,778
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Has the Last Time Period Ever Happened Before?

Quote:
Originally Posted by MixedHerbs »
....Has anyone tried this before? I have searched the forum, but found little. I apologize in advance if I missed something obvious.

Regards, Peter.

Yes... many people have done this before...

One commercial service (the name escaped me at the moment) has their database and search software for rent at $5k per month.


when you say 15 min pattern, what resolution are you talking about?
at 5 min interval? 1 min? 1 sec? 1 tick?

have you worked out the factorial number of a 2 bar + volume pattern?
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 10-27-2009, 03:06 PM   #4

Join Date: Oct 2009
Location: Exeter
Posts: 3
Ignore this user

Thanks: 1
Thanked 0 Times in 0 Posts

Re: Has the Last Time Period Ever Happened Before?

Quote from ZDO;

"Building an array of setups is a good idea..."

That's not quite what I meant. My intention is to arrange the data in such a way that it can be searched as efficiently as possible - probably using bitmaps. Before indexing, I would convert the raw data into a form that made volumes and prices the same scale. I would take the last period's data for a share price, convert it into the same form as the index, then work my way backwards to discover if history has repeated itself. As you say, there will need to be some adjustment for "granularity", but it will be fun to discover.

Searching for contextual layers is an interesting idea, thank you. I will put some thought into that.

Regards, Peter.
MixedHerbs is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Plot Automatically a Moving Period ? aaa Coding Forum 5 05-10-2009 05:52 PM
Average Holding Period in U.S. Stock Indexes and U.S. Treasuries AgeKay Futures Trading Laboratory 3 12-19-2008 05:21 PM
Something Great Finally Happened james_gsx Trading Psychology 7 03-01-2008 08:51 PM
What happened to Ags today? torero Futures Trading Laboratory 6 08-24-2007 10:50 AM
What happened after market close? TinGull General Discussion 4 01-10-2007 08:06 PM

All times are GMT -4. The time now is 10:49 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.