CL vs. K/KDB or efficient analysis of financial time series
- From: "Joel Reymont" <joelr1@xxxxxxxxx>
- Date: 9 Jul 2005 10:05:34 -0700
Folks,
Suppose I have a stock price time series of a million or more entries.
I'm looking to backtest a trading strategy over all these price points.
My strategy would only need, say, 400 points at a time so I would need
to have a sliding window where the first point is always dropped as I
move the window forward.
What is the most efficient way of implementing this with Lisp? Would
the series package help?
I'm being as non-technical as possible on purpose and I'm avoiding the
issue of how to store all the data.
Basically, I evaluating different technologies for implementing a
short-term futures trading platform. The original post is here:
http://groups-beta.google.com/group/uptick/browse_thread/thread/bf733a1f3f3a2e38
I was looking at http://kx.com/papers/kdb-tickdemo.php which tells you
that
"Kdb achieves this kind of efficiency because of its design. It is
fully vertically partitioned and replaces tables by ordered arrays. For
this reason, moving averages, correlations and other such queries can
be done directly in the database."
I'm wondering if it's possible to achieve with Lisp the kind of time
series analysis performance that K achieves with KDB. Apparently,
simple table scans on over one billion trades (e.g. select max price
from trades) can be done in less than a second with K.
Thanks, Joel
.
- Follow-Ups:
- Re: CL vs. K/KDB or efficient analysis of financial time series
- From: Fernando
- Re: CL vs. K/KDB or efficient analysis of financial time series
- From: Joe Marshall
- Re: CL vs. K/KDB or efficient analysis of financial time series
- From: Eric Lavigne
- Re: CL vs. K/KDB or efficient analysis of financial time series
- From: GP lisper
- Re: CL vs. K/KDB or efficient analysis of financial time series
- Prev by Date: Re: GNU Emacs now also at bearable prettiness on linux...
- Next by Date: Re: Martin Fowler talks about Lisp...
- Previous by thread: GNU Emacs now also at bearable prettiness on linux...
- Next by thread: Re: CL vs. K/KDB or efficient analysis of financial time series
- Index(es):
Relevant Pages
|