351 search results for "quantmod"

Drawdown Control Can Also Determine Ending Wealth

July 11, 2011
By
Drawdown Control Can Also Determine Ending Wealth

As an extension to yesterday’s post Just Arriving is Not Enough, I wanted to show how minimizing drawdown is a much better technique to help control comfort and potentially increase ending wealth.  CHTTX was one of the best performers of the fou...

Read more »

Importing google news data to R

July 6, 2011
By
Importing google news data to R

I've been playing around lately with the stock market data available from google finance, through quantmod in R. Here's a function I've written (which depends on the R Data Science Toolkit), to pull news stories related to a stock from google, parse t...

Read more »

Artificial intelligence in trading: k-means clustering

July 6, 2011
By
Artificial intelligence in trading: k-means clustering

There is many flavors of artificial intelligence (AI), however I want to show practical example of the cluster analysis. It is very applicable in finance. For example, one of stylized facts of volatility is, that it moves in clusters, meaning that today’s volatility will be more likely as yesterday’s volatility. To gauge these moves you

Read more »

ARMA Models for Trading, Part VI

July 5, 2011
By
ARMA Models for Trading, Part VI

All posts in this series were combined into a single, extended tutorial and posted on my new blog. In the fourth posting in this series, we saw the performance comparison between the ARMA strategy and buy-and-hold over the last approximately 10 years. Over the last few weeks (it does take time, believe me) I back-tested

Read more »

A Quantstrat to Build On Part 6

July 5, 2011
By
A Quantstrat to Build On Part 6

THIS IS NOT INVESTMENT ADVICE.  ACTING ON THIS MAY LOSE LOTS OF MONEY. In A Quantstrat to Build on Part 5, I promised some performance reporting on quantstrat portfolios, but then in REIT Momentum in Quantstrat, I discovered it is not nearly as ea...

Read more »

Last Time That Happened

June 30, 2011
By
Last Time That Happened

I bought a lottery ticket yesterday. I hardly ever buy them. The last time I did I lost a dollar. Actually, every time I've bought a ticket I've lost.  Yesterday I was at the local gas station in line behind a bloke who had a comprehensive folder ...

Read more »

Beating Kenneth French Small – High

June 30, 2011
By
Beating Kenneth French Small – High

With 148 pageviews over the last 24 hours, my post Kenneth French Gift to the Finance World has been popular relative to most of my other posts.  I think the popularity is due to Kenneth French’s notoriety and the amazing outperformance of Small...

Read more »

Cash Might be Your Tail Risk

June 30, 2011
By
Cash Might be Your Tail Risk

Just like James Montier Ode to the Joy of Cash and David Merkel Got Cash?, I think cash is an extremely powerful tool.  Of the 3 ingredients (land, labor, and capital) of the economy, capital (cash) is most scarce at the end of a crisis or recessi...

Read more »

Kenneth French Gift to the Finance World

June 29, 2011
By
Kenneth French Gift to the Finance World

Kenneth French gives one of the best gifts to the finance world at his website http://mba.tuck.dartmouth.edu/pages/faculty/ken.french/data_library.html.  I am surprised I have waited so long to write a post about this wonderful resource.  Aft...

Read more »

Monitoring Sources of Bond Returns with ML/BAC Corporate OAS and CPI

June 28, 2011
By
Monitoring Sources of Bond Returns with ML/BAC Corporate OAS and CPI

In response to the nice comment requesting an update to Monitoring Sources of Bond Return and also longer history, I thought I would update the original and then rerun with CPI to give a longer time series.  For even longer history back to 1919, s...

Read more »