<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/markets-performance-after-election/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://www.quintuitive.com/2017/10/16/markets-performance-election/"> R – Quintuitive</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>Coming back to markets and trading (after a while), the feeling has been that the markets, and the economy as a whole, are doing good. How good? Since I haven’t been following things closely, I had to do some forensics.</p>
<p><span></span></p>
<p>Friday was the 234th trading day after the election. There were claims at different points in time that the market is the best in recent history. Let’s take a look at the top five presidential rallies since election:<br>
<a rel="nofollow" href="https://i0.wp.com/www.quintuitive.com/wp-content/uploads/2017/10/rallies.png" target="_blank"><img sizes="(max-width: 720px) 100vw, 720px" src="https://i2.wp.com/www.quintuitive.com/wp-content/uploads/2017/10/rallies-720x523.png?w=450" alt="" class="wp-image-3178" data-recalc-dims="1"></a></p>
<p>As of Friday, President Trump’s rally is standing at <b>24.76%</b>. That qualifies it as the 3rd best in more modern history (I will come back to this later). At least on the Dow Jones Industrial Average.</p>
<p>It is easy to see that on two occasions, in the middle of the chart, as well as around first 30 days, President Trump’s rally was in fact on top.</p>
<p>It is also worth noting that up to this point, only President Clinton’s 2nd term rally and President Trump’s rally lifted the markets to new highs. President H.W. Bushes rally was running on the back of the calamitous but short-lived recession of 1987. It had to run for a while longer before hitting a new high.</p>
<p>To put the current <b>24.76%</b> into perspective, a genuine question to ask is how big is the typical return over 234 days? The answer is a “meager” <b>7.62%</b>. In other words, <b>88%</b> of the times, the return over 234 day has been lower than the current return of <b>24.76%</b>.</p>
<p>The picture on the S&amp;P 500 is somewhat different. There President Trump’s rally is at around <b>20%</b>. If you are curious – <a rel="nofollow" href="https://gist.github.com/ivannp/f989a2d25f4efbbbb9d547767fdd15c0" target="_blank">here is the R code</a> to get you started.</p>
<p>Currently <a rel="nofollow" href="http://finance.yahoo.com/" target="_blank">Yahoo</a> provides the Dow Jones only back to 1985. To go further in history, you need to dig up the index from elsewhere. I had it in a data set I purchased a while back.</p>
<p>There was one bigger rally in history. It was monstrous. President Roosevelt’s (first term, elected in 1927) rally was up to 60% at this point! But … it was very volatile. At the 30 day mark it was 20% in the red! Hmm, what was going on I asked myself. Well this was the bottom of the Great Depression! The market has dipped 80% over two years and was starting to rally.</p>
<p>All in all – the market has been doing great. At least since election day. And the market data is not alone: labor and other economic data confirms.</p>
<p>The post <a rel="nofollow" href="http://www.quintuitive.com/2017/10/16/markets-performance-election/" target="_blank">Markets Performance after Election</a> appeared first on <a rel="nofollow" href="http://www.quintuitive.com/" target="_blank">Quintuitive</a>.</p>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://www.quintuitive.com/2017/10/16/markets-performance-election/"> R – Quintuitive</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/sX7wn3wGSDQ" height="1"></a></div>