<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3965329713014965566.post1493225723618880337..comments</id><updated>2010-04-22T08:38:23.439-07:00</updated><title type='text'>Comments on Max Dama on Automated Trading: Decision Trees</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.maxdama.com/feeds/1493225723618880337/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html'/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-4994101394938753032</id><published>2010-04-22T08:38:23.435-07:00</published><updated>2010-04-22T08:38:23.435-07:00</updated><title type='text'>Thanks Chris.</title><content type='html'>Thanks Chris.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/4994101394938753032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/4994101394938753032'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1271950703435#c4994101394938753032' title=''/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17229209747989421341'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-1323827046393392010</id><published>2010-04-22T08:31:34.069-07:00</published><updated>2010-04-22T08:31:34.069-07:00</updated><title type='text'>Hi Max,

Great blog!  Excellent source of material...</title><content type='html'>Hi Max,&lt;br /&gt;&lt;br /&gt;Great blog!  Excellent source of material to browse though and thanks for sharing!&lt;br /&gt;&lt;br /&gt;     CS</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/1323827046393392010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/1323827046393392010'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1271950294069#c1323827046393392010' title=''/><author><name>Chris Sutherland</name><uri>http://www.blogger.com/profile/18434825696685332699</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-4760921598066742485</id><published>2009-05-18T06:47:00.000-07:00</published><updated>2009-05-18T06:47:00.000-07:00</updated><title type='text'>Ken, 

Just an update: I'll post the next note by ...</title><content type='html'>Ken, &lt;br /&gt;&lt;br /&gt;Just an update: I'll post the next note by Thursday.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Max</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/4760921598066742485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/4760921598066742485'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1242654420000#c4760921598066742485' title=''/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17229209747989421341'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-269404454722438481</id><published>2009-05-16T23:02:00.000-07:00</published><updated>2009-05-16T23:02:00.000-07:00</updated><title type='text'>Max, check out what the R project has proposed for...</title><content type='html'>Max, check out what the R project has proposed for the Google Summer of Code:&lt;br /&gt;&lt;br /&gt;http://www.r-project.org/soc09/ideas.html#p3&lt;br /&gt;&lt;br /&gt;I'm anxious to read your post on the weaknesses of decision trees and your improvements.  I use regression trees quite successfully in trading, and I'm curious whether you'll say anything that's new to me.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/269404454722438481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/269404454722438481'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1242540120000#c269404454722438481' title=''/><author><name>Ken</name><uri>http://www.blogger.com/profile/11583717134076863159</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-272247353126117368</id><published>2009-05-09T10:09:00.000-07:00</published><updated>2009-05-09T10:09:00.000-07:00</updated><title type='text'>Josh,

My bad...  It works as expected / documente...</title><content type='html'>Josh,&lt;br /&gt;&lt;br /&gt;My bad...  It works as expected / documented then ;-)  Just not what I had expected ;-(&lt;br /&gt;&lt;br /&gt;I'll be looking forward to seeing the acquire and analyze example that you and Jeff are working on.&lt;br /&gt;&lt;br /&gt;Again, thanks to all 8^)&lt;br /&gt;&lt;br /&gt;Cordially,&lt;br /&gt;&lt;br /&gt;-Digital Dude-&lt;br /&gt;&lt;br /&gt;"Simple things should be simple. Complex things should be possible." -Alan Kay-</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/272247353126117368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/272247353126117368'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241888940000#c272247353126117368' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-6463974551964191347</id><published>2009-05-09T01:48:00.000-07:00</published><updated>2009-05-09T01:48:00.000-07:00</updated><title type='text'>DD,

I just tried it myself without issue.  R "han...</title><content type='html'>DD,&lt;br /&gt;&lt;br /&gt;I just tried it myself without issue.  R "hangs" because it isn't multi-threaded (i.e. it can only do one thing at a time).&lt;br /&gt;&lt;br /&gt;So, it's a bit tricky to gather an analyze data at the same time.  That said, Jeff and I are working on an example of how to run a real-time trading strategy using IBrokers.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/6463974551964191347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/6463974551964191347'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241858880000#c6463974551964191347' title=''/><author><name>Joshua Ulrich</name><uri>http://www.blogger.com/profile/16641971932645230429</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-1868149830257672143</id><published>2009-05-08T19:39:00.000-07:00</published><updated>2009-05-08T19:39:00.000-07:00</updated><title type='text'>Max &amp; Josh,

Thank you both very much!  Its nice t...</title><content type='html'>Max &amp;amp; Josh,&lt;br /&gt;&lt;br /&gt;Thank you both very much!  Its nice to see the collaboration ;-)&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll be looking for your upcoming R work Max...&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve already seen this example with IBrokers Josh...  It hangs for me collecting data forever...  I was looking for a more useful example...  As for the model building in quantmod...  Just hack something together to get a working start...  I&amp;#39;m sure you and Jeff will get plenty of feedback ;-)  Rattle seems to have hung some stuff together...&lt;br /&gt;&lt;br /&gt;Cordially,&lt;br /&gt;&lt;br /&gt;-Digital Dude-&lt;br /&gt;&lt;br /&gt;“We keep moving forward, opening new doors and doing new things, because we’re curious.” -Walt Disney-</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/1868149830257672143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/1868149830257672143'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241836740000#c1868149830257672143' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-4883879212889907501</id><published>2009-05-08T09:52:00.000-07:00</published><updated>2009-05-08T09:52:00.000-07:00</updated><title type='text'>Josh,

As I've been building more models I've noti...</title><content type='html'>Josh,&lt;br /&gt;&lt;br /&gt;As I've been building more models I've noticed that there's not one perfect template for all systems, so I see how that could be an impediment. I think about it often too so I'll get in touch with him soon. &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Max</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/4883879212889907501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/4883879212889907501'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241801520000#c4883879212889907501' title=''/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17229209747989421341'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-1839023342455450734</id><published>2009-05-08T09:48:00.000-07:00</published><updated>2009-05-08T09:48:00.000-07:00</updated><title type='text'>You're welcome Max.  The only reason it's easy is ...</title><content type='html'>You're welcome Max.  The only reason it's easy is because of Jeff Ryan's work on the quantmod package.&lt;br /&gt;&lt;br /&gt;Please keep me in mind when you do start using R more.  I'm more-than-happy to help. :-)&lt;br /&gt;&lt;br /&gt;Sadly, the model building/testing functionality of quantmod hasn't progressed much.  One big reason for this is because Jeff isn't certain how they should be implemented.  Think of them more as "concepts" than firm ideas that simply need to be coded.  If you have ideas for how they should be implemented, please contact Jeff.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/1839023342455450734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/1839023342455450734'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241801280000#c1839023342455450734' title=''/><author><name>Joshua Ulrich</name><uri>http://www.blogger.com/profile/16641971932645230429</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-2760387259375567295</id><published>2009-05-08T09:38:00.000-07:00</published><updated>2009-05-08T09:38:00.000-07:00</updated><title type='text'>Thanks Josh. Everything's easy in R. 

The main re...</title><content type='html'>Thanks Josh. Everything's easy in R. &lt;br /&gt;&lt;br /&gt;The main reason was what I mentioned to Digital but slipped my mind when I first replied,&lt;br /&gt;"I've been hesitant to switch because this summer I have to use Matlab at a job so I want to stay in that mindset until it starts."&lt;br /&gt;&lt;br /&gt;One question: in the quantmod package, are the model building and testing functions completed? I've tried to use them but got an error somewhere and the examples on the website haven't been finished. &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Max</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/2760387259375567295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/2760387259375567295'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241800680000#c2760387259375567295' title=''/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17229209747989421341'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-7466709242243313213</id><published>2009-05-08T09:26:00.000-07:00</published><updated>2009-05-08T09:26:00.000-07:00</updated><title type='text'>Max,

In that case, it's pretty easy.  This should...</title><content type='html'>Max,&lt;br /&gt;&lt;br /&gt;In that case, it's pretty easy.  This should do the trick:&lt;br /&gt;&lt;br /&gt;&lt;B&gt;require(quantmod)&lt;br /&gt;url &amp;lt;- &amp;quot;http://www2.standardandpoors.com/servlet/Satellite?pagename=spcom/page/download&amp;amp;sectorid=%20%3E%20%2700%27&amp;amp;itemname=%3E=%20%271%27&amp;amp;dt=07-MAY-2009&amp;amp;indexcode=500&amp;quot;&lt;br /&gt;&lt;br /&gt;# Read in CSV from S&amp;amp;P website&lt;br /&gt;x &amp;lt;- read.csv(url)&lt;br /&gt;&lt;br /&gt;# Pull the first 10 symbols from Yahoo&lt;br /&gt;symbols &amp;lt;- paste(x[1:10,&amp;#39;Symbol&amp;#39;],collapse=&amp;quot;;&amp;quot;)&lt;br /&gt;getSymbols(symbols, env=.GlobalEnv)&lt;br /&gt;&lt;/B&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/7466709242243313213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/7466709242243313213'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241799960000#c7466709242243313213' title=''/><author><name>Joshua Ulrich</name><uri>http://www.blogger.com/profile/16641971932645230429</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-3456400471990448700</id><published>2009-05-08T09:18:00.000-07:00</published><updated>2009-05-08T09:18:00.000-07:00</updated><title type='text'>Josh,

It downloads data only for the current comp...</title><content type='html'>Josh,&lt;br /&gt;&lt;br /&gt;It downloads data only for the current composition. &lt;br /&gt;&lt;br /&gt;Max</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/3456400471990448700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/3456400471990448700'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241799480000#c3456400471990448700' title=''/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17229209747989421341'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-2010651103842734363</id><published>2009-05-08T09:16:00.000-07:00</published><updated>2009-05-08T09:16:00.000-07:00</updated><title type='text'>Max,

Do those Matlab functions download all the S...</title><content type='html'>Max,&lt;br /&gt;&lt;br /&gt;Do those Matlab functions download all the S&amp;amp;P 500 constituents as-of a particular day, or does it download the data for each constituent as the index was defined for each day (i.e. accounting for index changes)?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Digital Dude,&lt;br /&gt;&lt;br /&gt;I will post an example of using this code in an actual trading rule in the next few weeks.&lt;br /&gt;&lt;br /&gt;Make sure you have the latest version of R and IBrokers, and the TWS needs to be running.&lt;br /&gt;&lt;br /&gt;&lt;B&gt;require(IBrokers)&lt;br /&gt;tws &amp;lt;- twsConnect()&lt;br /&gt;fh &amp;lt;- file(&amp;#39;ES_depth_0509.dat&amp;#39;,open=&amp;#39;a&amp;#39;)&lt;br /&gt;reqMktDepth(tws, twsFUT(&amp;quot;ES&amp;quot;,&amp;quot;GLOBEX&amp;quot;,&amp;quot;200905&amp;quot;), file=fh )&lt;br /&gt;close(fh)&lt;/B&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/2010651103842734363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/2010651103842734363'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241799360000#c2010651103842734363' title=''/><author><name>Joshua Ulrich</name><uri>http://www.blogger.com/profile/16641971932645230429</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-8723769157949020312</id><published>2009-05-08T08:40:00.000-07:00</published><updated>2009-05-08T08:40:00.000-07:00</updated><title type='text'>Max,

I'm still around and looking forward to more...</title><content type='html'>Max,&lt;br /&gt;&lt;br /&gt;I'm still around and looking forward to more questions and answers and examples from you and your readers ;-)&lt;br /&gt;&lt;br /&gt;Josh,&lt;br /&gt;&lt;br /&gt;Any chance you would share some or all of your realtime ES book data with IBrokers and R as an example???&lt;br /&gt;&lt;br /&gt;Cordially,&lt;br /&gt;&lt;br /&gt;-Digital Dude-&lt;br /&gt;&lt;br /&gt;“Weed out the bureaucracies that stifle cooperation and collaboration.” -Jack Welch, ex-Chairman, General Electric-</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/8723769157949020312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/8723769157949020312'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241797200000#c8723769157949020312' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-1836708535704980835</id><published>2009-05-07T23:30:00.000-07:00</published><updated>2009-05-07T23:30:00.000-07:00</updated><title type='text'>Digital, 

I was wondering if you were still aroun...</title><content type='html'>Digital, &lt;br /&gt;&lt;br /&gt;I was wondering if you were still around. &lt;br /&gt;&lt;br /&gt;I agree, also I'm teaching a class at Berkeley on quantitative trading which I'll probably need to use R for since I can't require everyone buys Matlab. However, I've been hesitant to switch because this summer I have to use Matlab at a job so I want to stay in that mindset until it starts. I would like to recode the decision tree system in R anyways. In fact, I've started on it. &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Max</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/1836708535704980835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/1836708535704980835'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241764200000#c1836708535704980835' title=''/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17229209747989421341'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-3048494100846676445</id><published>2009-05-07T18:31:00.000-07:00</published><updated>2009-05-07T18:31:00.000-07:00</updated><title type='text'>Max,

It would be nice to see your examples in a f...</title><content type='html'>Max,&lt;br /&gt;&lt;br /&gt;It would be nice to see your examples in a free open source solution (FOSS) so your readers can all follow along...&lt;br /&gt;&lt;br /&gt;Cordially,&lt;br /&gt;&lt;br /&gt;-Digital Dude-&lt;br /&gt;&lt;br /&gt;"We have very few inferior people in the world.  We have lots of inferior environments.  Try to enrich your environment." -Frank Loyd Wright-</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/3048494100846676445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/3048494100846676445'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241746260000#c3048494100846676445' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-822011959150467929</id><published>2009-05-06T23:04:00.000-07:00</published><updated>2009-05-06T23:04:00.000-07:00</updated><title type='text'>Josh,

It downloads all the data over a specified ...</title><content type='html'>Josh,&lt;br /&gt;&lt;br /&gt;It downloads all the data over a specified period for all the symbols, taken from S&amp;amp;P&amp;#39;s website I believe, and filters out the ones that have missing data. Here&amp;#39;s the file: http://www.mathworks.com/matlabcentral/fileexchange/23569&lt;br /&gt;&lt;br /&gt;I have a funded IB account. &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Max</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/822011959150467929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/822011959150467929'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241676240000#c822011959150467929' title=''/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17229209747989421341'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-5963045995120778484</id><published>2009-05-06T21:28:00.000-07:00</published><updated>2009-05-06T21:28:00.000-07:00</updated><title type='text'>When you say "download the S&amp;P500" are you referri...</title><content type='html'>When you say &amp;quot;download the S&amp;amp;P500&amp;quot; are you referring to the index or all its components?&lt;br /&gt;&lt;br /&gt;If it&amp;#39;s just the index, take a look at getSymbols() in the quantmod package.  If it downloads all the components, I could quickly write a function to do that in R.  I would just need to know how to determine all 500 symbols. :)&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t know how easy it is to use IB&amp;#39;s TWS with Matlab.  I&amp;#39;ve had success downloading real-time ES book data with IBrokers in R.  If you don&amp;#39;t have an IB account, you can test the IBrokers package with the IB demo TWS.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/5963045995120778484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/5963045995120778484'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241670480000#c5963045995120778484' title=''/><author><name>Joshua Ulrich</name><uri>http://www.blogger.com/profile/16641971932645230429</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-7436559920121271840</id><published>2009-05-06T21:23:00.000-07:00</published><updated>2009-05-06T21:23:00.000-07:00</updated><title type='text'>Josh,

Thanks, I've come across the random forest ...</title><content type='html'>Josh,&lt;br /&gt;&lt;br /&gt;Thanks, I've come across the random forest library for R, and I was going to use it for the system I mentioned above. In the end I decided to use Matlab because there's a good function to download the SP500. My next system will likely be in R because of the IBrokers package. I was wondering how easy it would be to just use IB's Java API in either R or Matlab.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Max</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/7436559920121271840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/7436559920121271840'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241670180000#c7436559920121271840' title=''/><author><name>Max Dama</name><uri>http://www.blogger.com/profile/12948829617916062149</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17229209747989421341'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3965329713014965566.post-8273510715859211301</id><published>2009-05-06T20:22:00.000-07:00</published><updated>2009-05-06T20:22:00.000-07:00</updated><title type='text'>Max,

This is a nice and quick introduction to dec...</title><content type='html'>Max,&lt;br /&gt;&lt;br /&gt;This is a nice and quick introduction to decision trees.  I've used Breiman and Cutler's random forests to test if my ideas are predictive of the next day's returns.  It's quite easy to use in R.&lt;br /&gt;&lt;br /&gt;I look forward to your next post on this topic.&lt;br /&gt;&lt;br /&gt;Best,&lt;br /&gt;Josh</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/8273510715859211301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3965329713014965566/1493225723618880337/comments/default/8273510715859211301'/><link rel='alternate' type='text/html' href='http://www.maxdama.com/2009/05/decision-trees.html?showComment=1241666520000#c8273510715859211301' title=''/><author><name>Josh Ulrich</name><uri>http://www.blogger.com/profile/16641971932645230429</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.maxdama.com/2009/05/decision-trees.html' ref='tag:blogger.com,1999:blog-3965329713014965566.post-1493225723618880337' source='http://www.blogger.com/feeds/3965329713014965566/posts/default/1493225723618880337' type='text/html'/></entry></feed>