Monday, June 28, 2010

Re: [TheOptionClub.com] Setting up analytics : technology choices

 

No problem J - 

I still have allot of learning to do with "R" myself.  I'm being forced into"R" this week and up until now I've only briefly looked it over.
I was surprised to learn that many 'quant houses' use "R" and QuantLib, and hire folks with that experience.

On Mon, Jun 28, 2010 at 8:12 AM, Jay <jfrayit@yahoo.com> wrote:
 

Hi Dennis,
 
Thanks a lot for the advice. R seem to be much better indeed interfacing with exteral data sources. It also seem to have a module for quantlib recently. I need to start learning. I want to start with the Greeks and perhaps move to surfaces and stochastic models down the road - so need to choose the right technology for longer term. "R" has better graphical library as well it seems (Octave is not bad but nowhere close to Matlab). Thanks again for your suggestion, I really appreciate it.
 
Tx
J

--- On Sun, 6/27/10, Dennis <dennis.lastor@gmail.com> wrote:

From: Dennis <dennis.lastor@gmail.com>
Subject: RE: [TheOptionClub.com] Setting up analytics : technology choices
To: OptionClub@yahoogroups.com
Date: Sunday, June 27, 2010, 7:46 AM


 

Jay –

I've done something like this in the past to gather some rather interesting data on expiration day pinning, as well as monitoring the IV and greeks at 15 minutes intervals throughout the day.

What I did was pull the option chain from yahoo every 15 minutes, compute the IV and greeks and store this information in a database along with a date-time stamp.

 

I used "Numerical Recipes" C-library for computing the greeks and IV, then MySQL (free) data base for storage, and perl as a wrapper.  Then I just wrote a cron job to kick this off every 15minutes of trading hours.

My code isn't all that pretty, but if you're interested, I don't mind sharing.

 

If you're into more 'heavy' statistical analysis, 3D volatility surfaces,  term-structures, time-series correlations, etc…check out "R" it's a free Matlab-ish package that has an options plug in as well as many other financial add-ins (portfolio theory stuffs, etc..)  I recently learned it also has a plug in for Interactive Brokers to pull real-time data, perform high speed statistical operations, and initiate trades based on the outcome of the data.  There are a few retail traders messing around with this from what I understand – but I think it's mostly academic. 

 

Quantlib – is another great, free package that is the back-end for many high frequency trading firms.  It's also free and there is allot of support for it in the open source community.  Solomon Brothers uses it extensively, as do many others.  I've used it for American and European option pricing and greeks – but that's really just a small portion of it's underlying power.  An excel version (believe it or not) was release not that long ago as well…

 

All good stuff –

 

 

 

 

From: OptionClub@yahoogro ups.com [mailto:OptionClub@ yahoogroups. com] On Behalf Of Jay


Sent: Saturday, June 26, 2010 4:49 AM
To: OptionClub@yahoogro ups.com

Subject: [TheOptionClub. com] Setting up analytics : technology choices

 

 

Hi,

I am in the process of setting up my own little analytics database for generating some technical indicators as well as for options Greek. I wrote the initial technical analysis part in Perl which I found was too slow when more than one day needs to be processed. So re-wrote it into Octave (clone of Mat lab) which was faster but querying the result from Octave native files was a pain. So yet again decided to use a database system to keep the data and chose kdb (trail version for now). However Octave does not seem to have any interface to kdb, once again I had to go back to Perl and write it for kdb - which is now fast enough.
As you may realize Perl is not really handy for modeling ( while Octave is ), so although I am done for now I am realizing this is not perfect for future expansion considering that I have not yet started with the Options pieces. I was considering the "q" language which works with kdb as a script which seem to be quite different from any other scripting languages I have used in the past and not as much readable. I am sure a few of you out there have tacked similar problem as me with the wide choice of languages out there. Any suggestions which one of these (or something not mentioned here) could

be a winner long term?

 

Tx

 



__._,_.___
Recent Activity:
The goal of TheOptionClub is to provide a forum for members to work together for the purpose of furthering our individual understanding option trading.  All messages and postings, and any materials circulated are provided for discussion and educational purposes only.  No statement contained in any materials from TheOptionClub should be considered a recommendation to buy or sell a security or to provide investment, legal or tax advice.  All investors are encouraged to consult a qualified professional before trading in any security.  Stock and option trading involves risk and is not suitable for most people.  There is no guarantee that any information provided is accurate and, may in fact, be wrong.  It is understood that the participants in TheOptionClub have varying backgrounds and degrees of experience in option trading, and that regardless of experience each member is considered a student.  As such, any information distributed through TheOptionClub should be considered with a critical mind and not relied upon as an authoritative source.

To unsubscribe from TheOptionClub, send an email to:
OptionClub-unsubscribe@yahoogroups.com
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.


Get great advice about dogs and cats. Visit the Dog & Cat Answers Center.


Get real-time World Cup coverage on the Yahoo! Toolbar. Download now to win a signed team jersey!

.

__,_._,___

No comments:

Post a Comment