<?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-5815834906618132494.post1477228546344728693..comments</id><updated>2011-11-02T02:26:21.826-05:00</updated><category term='xts'/><category term='Code'/><category term='Interactive Brokers'/><category term='Drawdown'/><category term='LSPM'/><category term='quantmod'/><category term='Data'/><category term='Releases'/><category term='HIstorical Data'/><category term='blotter'/><category term='quantstrat'/><category term='Events'/><category term='TTR'/><category term='API'/><category term='IBrokers'/><category term='Examples'/><category term='R'/><category term='Excel'/><title type='text'>Comments on FOSS Trading: LSPM with snow</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.fosstrading.com/feeds/1477228546344728693/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default'/><link rel='alternate' type='text/html' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html'/><author><name>Joshua Ulrich</name><uri>https://profiles.google.com/101580259945483587604</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-cNBfNQ-0tKE/AAAAAAAAAAI/AAAAAAAAAAA/QxKaQjp1h4M/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5815834906618132494.post-5358507501352320204</id><published>2011-11-02T02:26:21.826-05:00</published><updated>2011-11-02T02:26:21.826-05:00</updated><title type='text'>This is just a heads up to let you know that with ...</title><content type='html'>This is just a heads up to let you know that with the latest release of R released this week (2.14.0) we now have the &amp;quot;parallel&amp;quot; libaray which is distributed &amp;quot;native&amp;quot; with R itself.&lt;br /&gt;&lt;br /&gt;It is based upon the snow and multicore packages.&lt;br /&gt;&lt;br /&gt;Not sure yet what benefits it brings to the table but to use it simply substitute&lt;br /&gt;&lt;br /&gt;clust &amp;lt;- makePSOCKcluster(16)&lt;br /&gt;for&lt;br /&gt;clust &amp;lt;- makeSOCKcluster(16)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/5358507501352320204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/5358507501352320204'/><link rel='alternate' type='text/html' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html?showComment=1320218781826#c5358507501352320204' title=''/><author><name>TradingPro</name><uri>http://www.blogger.com/profile/01987456606418594625</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='14625847397495846268'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-dtBln0L0CpM/Tiwc7JyfIyI/AAAAAAAAANY/aP6wWDzTOwA/s220/Aiki%2BRei.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html' ref='tag:blogger.com,1999:blog-5815834906618132494.post-1477228546344728693' source='http://www.blogger.com/feeds/5815834906618132494/posts/default/1477228546344728693' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1029791792'/></entry><entry><id>tag:blogger.com,1999:blog-5815834906618132494.post-4918095317436051045</id><published>2011-09-02T03:04:20.957-05:00</published><updated>2011-09-02T03:04:20.957-05:00</updated><title type='text'>Over the past month I have had our network migrate...</title><content type='html'>Over the past month I have had our network migrated to Open Directory hosted by OS X Lion servers.&lt;br /&gt;&lt;br /&gt;As we also now have a number of OSX/Windows devices on the network (and inspired by a previous thread on the possibility of running R in the cloud) I have been looking at the possibility of leveraging current available processing assets to run LSPM.&lt;br /&gt;&lt;br /&gt;Am currently looking at:&lt;br /&gt;&lt;br /&gt;http://cran.r-project.org/web/packages/runjags/index.html&lt;br /&gt;[A set of utility functions ….. arbitrary R code submission to Xgrid clusters (requires Mac OS X). ….. Utilities to run user-supplied R functions on Xgrid (using xapply as a replacement for lapply) are also included, and do not require JAGS.]&lt;br /&gt;&lt;br /&gt;there is also:&lt;br /&gt;&lt;br /&gt;http://cran.r-project.org/web/packages/xgrid/index.html&lt;br /&gt;[Functions to distribute and collate results from simulation studies and other computationally expensive tasks to Apple Xgrid clusters from within R]&lt;br /&gt;&lt;br /&gt;Grant</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/4918095317436051045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/4918095317436051045'/><link rel='alternate' type='text/html' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html?showComment=1314950660957#c4918095317436051045' title=''/><author><name>TradingPro</name><uri>http://www.blogger.com/profile/01987456606418594625</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='14625847397495846268'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-dtBln0L0CpM/Tiwc7JyfIyI/AAAAAAAAANY/aP6wWDzTOwA/s220/Aiki%2BRei.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html' ref='tag:blogger.com,1999:blog-5815834906618132494.post-1477228546344728693' source='http://www.blogger.com/feeds/5815834906618132494/posts/default/1477228546344728693' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1029791792'/></entry><entry><id>tag:blogger.com,1999:blog-5815834906618132494.post-4166419298439760388</id><published>2010-05-18T22:34:53.566-05:00</published><updated>2010-05-18T22:34:53.566-05:00</updated><title type='text'>It&amp;#39;s no self-organizing map, but my &lt;a href="h...</title><content type='html'>It&amp;#39;s no self-organizing map, but my &lt;a href="http://blog.fosstrading.com/2010/05/lspm-joint-probability-tables.html" rel="nofollow"&gt;most recent post&lt;/a&gt; provides a function that creates a joint probability table from a matrix of input data.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/4166419298439760388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/4166419298439760388'/><link rel='alternate' type='text/html' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html?showComment=1274240093566#c4166419298439760388' title=''/><author><name>Joshua Ulrich</name><uri>http://www.blogger.com/profile/16641971932645230429</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html' ref='tag:blogger.com,1999:blog-5815834906618132494.post-1477228546344728693' source='http://www.blogger.com/feeds/5815834906618132494/posts/default/1477228546344728693' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1996417509'/></entry><entry><id>tag:blogger.com,1999:blog-5815834906618132494.post-4851716488515385862</id><published>2010-05-18T12:56:44.031-05:00</published><updated>2010-05-18T12:56:44.031-05:00</updated><title type='text'>Got it thanks.  What I&amp;#39;ve quickly realized is ...</title><content type='html'>Got it thanks.  What I&amp;#39;ve quickly realized is my event populations are much too large.  I have 10 years of daily historical P&amp;amp;L for strategies and have weighted all days with equal probability.  I wonder if anyone has used a Self Organizing Map for their history to chop events into a number of distinct buckets and give back the mean P&amp;amp;L in those areas for each strategy/trade?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/4851716488515385862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/4851716488515385862'/><link rel='alternate' type='text/html' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html?showComment=1274205404031#c4851716488515385862' title=''/><author><name>G$</name><uri>http://www.blogger.com/profile/01349972242888715865</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html' ref='tag:blogger.com,1999:blog-5815834906618132494.post-1477228546344728693' source='http://www.blogger.com/feeds/5815834906618132494/posts/default/1477228546344728693' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2041577014'/></entry><entry><id>tag:blogger.com,1999:blog-5815834906618132494.post-1760909988488472926</id><published>2010-05-18T10:36:18.341-05:00</published><updated>2010-05-18T10:36:18.341-05:00</updated><title type='text'>Note the optimalf function only has 4 arguments:
1...</title><content type='html'>Note the optimalf function only has 4 arguments:&lt;br /&gt;1) the lsp object (&amp;quot;port&amp;quot;),&lt;br /&gt;2) the constraint function (&amp;quot;probDrawdown&amp;quot;),&lt;br /&gt;3) the constraint value (0.1), and&lt;br /&gt;4) &amp;#39;...&amp;#39;&lt;br /&gt;&lt;br /&gt;In this post, &amp;quot;port&amp;quot;, &amp;quot;probDrawdown&amp;quot;, and &amp;quot;0.1&amp;quot; are 1, 2, and 3, respectively.  All the other arguments fall into &amp;#39;...&amp;#39;, which get passed to the probDrawdown function (note that all arguments in &amp;#39;...&amp;#39; must be name/value pairs).&lt;br /&gt;&lt;br /&gt;For more information on &amp;#39;...&amp;#39;, see&lt;br /&gt;http://cran.r-project.org/doc/manuals/R-intro.html#Writing-your-own-functions&lt;br /&gt;&lt;br /&gt;So, after all that background information, 0.1 is the maximum constraint value (i.e. probDrawdown cannot exceed this value).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/1760909988488472926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/1760909988488472926'/><link rel='alternate' type='text/html' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html?showComment=1274196978341#c1760909988488472926' title=''/><author><name>Joshua Ulrich</name><uri>http://www.blogger.com/profile/16641971932645230429</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html' ref='tag:blogger.com,1999:blog-5815834906618132494.post-1477228546344728693' source='http://www.blogger.com/feeds/5815834906618132494/posts/default/1477228546344728693' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1996417509'/></entry><entry><id>tag:blogger.com,1999:blog-5815834906618132494.post-2465813064703891211</id><published>2010-05-18T10:29:10.823-05:00</published><updated>2010-05-18T10:29:10.823-05:00</updated><title type='text'>I&amp;#39;m having trouble following the 0.1 argument ...</title><content type='html'>I&amp;#39;m having trouble following the 0.1 argument to the optimalf function.  I looked into the help files, and see that probDrawdown is the constraint function here, and the DD=0.2 is the ruin level being passed to probDrawdown, but what is the 0.1 between the probDrawdown and the DD arguments to this optimalf?&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;&lt;br /&gt; optimalf(port,probDrawdown,0.1,DD=0.2,horizon=5,snow=clust,control=list(NP=30,itermax=100)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/2465813064703891211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/2465813064703891211'/><link rel='alternate' type='text/html' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html?showComment=1274196550823#c2465813064703891211' title=''/><author><name>G$</name><uri>http://www.blogger.com/profile/01349972242888715865</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html' ref='tag:blogger.com,1999:blog-5815834906618132494.post-1477228546344728693' source='http://www.blogger.com/feeds/5815834906618132494/posts/default/1477228546344728693' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2041577014'/></entry><entry><id>tag:blogger.com,1999:blog-5815834906618132494.post-7906469266273079244</id><published>2010-04-09T07:48:48.813-05:00</published><updated>2010-04-09T07:48:48.813-05:00</updated><title type='text'>nevermind, i got wrong dd parameter.</title><content type='html'>nevermind, i got wrong dd parameter.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/7906469266273079244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/7906469266273079244'/><link rel='alternate' type='text/html' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html?showComment=1270817328813#c7906469266273079244' title=''/><author><name>senyai</name><uri>http://www.blogger.com/profile/05832095029637788492</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html' ref='tag:blogger.com,1999:blog-5815834906618132494.post-1477228546344728693' source='http://www.blogger.com/feeds/5815834906618132494/posts/default/1477228546344728693' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1277469274'/></entry><entry><id>tag:blogger.com,1999:blog-5815834906618132494.post-2485519725939106169</id><published>2010-04-09T07:39:34.366-05:00</published><updated>2010-04-09T07:39:34.366-05:00</updated><title type='text'>Hi Joshua! Could you tell me how to calculate prob...</title><content type='html'>Hi Joshua! Could you tell me how to calculate probability of drawdown using martingale exponents? I do not want to optimize anything, just calculate dd like Vince did at 173 page. My code:&lt;br /&gt;---------------------------------&lt;br /&gt;port &amp;lt;- lsp(trades,probs, f=c(0.085,0.015,0.129), z = c(-0.76, -0.992, 0.0))&lt;br /&gt;probDrawdown(port,0.8,12,13)&lt;br /&gt;---------------------------------&lt;br /&gt;This code shows me value 0.0001982222, but Vince says his dd is 0.012. And when I use my algorithm I get 0.0017759413.&lt;br /&gt;&lt;br /&gt;Thx.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/2485519725939106169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5815834906618132494/1477228546344728693/comments/default/2485519725939106169'/><link rel='alternate' type='text/html' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html?showComment=1270816774366#c2485519725939106169' title=''/><author><name>senyai</name><uri>http://www.blogger.com/profile/05832095029637788492</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.fosstrading.com/2010/01/lspm-with-snow.html' ref='tag:blogger.com,1999:blog-5815834906618132494.post-1477228546344728693' source='http://www.blogger.com/feeds/5815834906618132494/posts/default/1477228546344728693' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1277469274'/></entry></feed>
