Skip to content

Use of sorting in Financial Domain

4 messages · subramanian R, Brian G. Peterson, Joshua Reich +1 more

#
On Wed, 2008-09-24 at 11:37 +0530, subramanian R wrote:
Sorting is often used in financial time series: e.g. to examine
drawdowns, or to extract a quantile of an observed series or a monte
carlo simulation.

Implementation of additional parallel sort algorithms in R such as
Batcher's bitonic sort seems as though it could be valuable in financial
time series.

I'm not aware of additional sorting implementations in R specific to
finance, most finance specific functionality uses R general functions
such as sort() and order() 

It seems that your implementation would be best proposed as a patch to
one of these functions on the r-devel list, or alternately contained in
an optimized sorting package that could overload the standard functions
with a new implementation.

Regards,

   - Brian
#
Extending the question further, I assume that bitonic sorting makes
sense when you have access to a SIMD platform, such as in a GPU.

I have been playing with porting some of my code to NVIDA's CUDA
platform, and I'd love to hear if other people have had much success. If
I recall correctly, I had discussed this on the list in the past and we
discussed using CUDA BLAS over default installations. Has anyone moved
CUDA into a production environment? If so, how has it fared? If not, why
not?

Josh Reich

-----Original Message-----
From: r-sig-finance-bounces at stat.math.ethz.ch
[mailto:r-sig-finance-bounces at stat.math.ethz.ch] On Behalf Of Brian G.
Peterson
Sent: Wednesday, September 24, 2008 6:08 AM
To: subramanian R
Cc: r-sig-finance at stat.math.ethz.ch
Subject: Re: [R-SIG-Finance] Use of sorting in Financial Domain
On Wed, 2008-09-24 at 11:37 +0530, subramanian R wrote:
of
R.It is
and
optimized
Sorting is often used in financial time series: e.g. to examine
drawdowns, or to extract a quantile of an observed series or a monte
carlo simulation.

Implementation of additional parallel sort algorithms in R such as
Batcher's bitonic sort seems as though it could be valuable in financial
time series.

I'm not aware of additional sorting implementations in R specific to
finance, most finance specific functionality uses R general functions
such as sort() and order() 

It seems that your implementation would be best proposed as a patch to
one of these functions on the r-devel list, or alternately contained in
an optimized sorting package that could overload the standard functions
with a new implementation.

Regards,

   - Brian

_______________________________________________
R-SIG-Finance at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.