403 search results for "quantmod"

A look at market returns by month

November 30, 2011
By
A look at market returns by month

I’ve been reading The Big Picture, and again, there was a discussion about seasonality in stock markets (see Fourth Quarter is Da Bomb). I’ve already discussed the two seasonal investment scenarios (Nov. to Apr VS May to Oct) in this post, and was wondering if one could break it down further into a monthly analysis.

Read more »

Trading Strategy Sensitivity Analysis

November 28, 2011
By
Trading Strategy Sensitivity Analysis

When designing a trading strategy, I want to make sure that small changes in the strategy parameters will not transform the profitable strategy into the loosing one. I will study the strategy robustness and profitability under different parameter scenarios using a sample strategy presented by David Varadi in the Improving Trend-Following Strategies With Counter-Trend Entries

Read more »

Introduction to Backtesting library in the Systematic Investor Toolbox

November 24, 2011
By
Introduction to Backtesting library in the Systematic Investor Toolbox

I wrote a simple Backtesting library to evaluate and analyze Trading Strategies. I will use this library to present the performance of trading strategies that I will study in the next series of posts. It is very easy to write a simple Backtesting routine in R, for example: The code I implemented in the Systematic

Read more »

Volume by Price Charts using R

November 23, 2011
By
Volume by Price Charts using R

R-Bloggers is a wonderful site which offers some great ideas for analysis.While I have been busy of late, hence could not do much with R, I was inspired by this post by Eric Nguyen on Volume by Price chart. This chart can be used with a great effe...

Read more »

Popular Baby Names Walk-Through Part 2 – Graphing the fast movers

November 21, 2011
By
Popular Baby Names Walk-Through Part 2 – Graphing the fast movers

I will assume you have read through part 1 and have the csv file loaded. While we covered some basic graphing in the last post i hope to get into a little more of the data crunching. Specifically I am interested in the names which where driven by a spe...

Read more »

A Simple R Script for Traders

November 21, 2011
By
A Simple R Script for Traders

Now that we've got the Python implementation under out belts, let's do the same thing with R. We'll still be able to pass command-line arguments to get a quick look at what our stock of interest is doing during the day. And we start with the familiar i...

Read more »

Magical Russell 2000

November 21, 2011
By
Magical Russell 2000

I have marveled at the magical Russell 2000 in Crazy RUT, but I am still surprised at its behavior through this selloff.  With a 20-day move of 30% (6% in one hour) and big outperformance to the developed and developing world, the Russell 2000 con...

Read more »

Cross Pollination from Systematic Investor

November 20, 2011
By
Cross Pollination from Systematic Investor

After reading the fine article Style Analysis from Systematic Investor and What we can learn from Bill Miller and the Legg Mason Value Trust from Asymmetric Investment Returns, I thought I should combine the two in R with the FactorAnalytics package.&n...

Read more »

Let the Lagging Lead

November 18, 2011
By
Let the Lagging Lead

THIS IS NOT INVESTMENT ADVICE AND WILL PROBABLY WIPE OUT ALL YOUR MONEY IF PURSUED.  While exploring utilities, I discovered a strange phenomenon that I have not quite thoroughly understood, but I attribute to the business cycle.  If I dust o...

Read more »

Style Analysis

November 17, 2011
By
Style Analysis

During the final stage of asset allocation process we have to decide how to implement our desired allocation. In many cases we will allocate capital to the mutual fund managers who will invest money according to their fund’s mandate. Usually there is no perfect relationship between asset classes and fund managers. To determine the true

Read more »