348 search results for "quantmod"

First Answer to My Own Question-Combine LSPM and Mahalanobis

May 2, 2011
By
First Answer to My Own Question-Combine LSPM and Mahalanobis

I first wanted to thank http://www.fosstrading.com for the very kind and unexpected mention over the weekend.  You will notice almost all of my code contains some credit to Foss Trading for the examples and great packages.  I hate that I coul...

Read more »

ARMA Models for Trading, Part III

May 2, 2011
By
ARMA Models for Trading, Part III

In the last post I showed how to pick the parameters for the ARMA model. The next step is to determine the position at the close. One way to do that is by a one day ahead prediction, if the prediction comes negative (remember the series we are operating on is the daily returns) then

Read more »

Another Use of LSPM in Tactical Portfolio Allocation

April 29, 2011
By
Another Use of LSPM in Tactical Portfolio Allocation

After the slightly unconventional use of LSPM presented in Slightly Different Use of Ralph Vince’s Leverage Space Trading Model, I thought I should follow up with something that more closely resembles my interpretation of Ralph Vince’s book. LSPM s...

Read more »

Slightly Different Use of Ralph Vince’s Leverage Space Trading Model

April 28, 2011
By
Slightly Different Use of Ralph Vince’s Leverage Space Trading Model

In honor of the press release Dow Jones Indexes To Develop, Co-Brand Index Family With LSP Partners two days ago, I thought I would show another slightly different use of Ralph Vince’s The Leverage Space Trading Model. Using the R LSPM package, we c...

Read more »

Bug Collector

April 26, 2011
By
Bug Collector

Most are quite unamused to find an ant infestation in their kitchen around this time of year. Time to start spraying that stuff that's not supposed to be harmful to humans but that you always wonder if it is anyway. Some bugs, such as ant attacks or so...

Read more »

Great FAJ Article on Statistical Measure of Financial Turbulence Part 3

April 26, 2011
By
Great FAJ Article on Statistical Measure of Financial Turbulence Part 3

Building on posts Great FAJ Article on Statistical Measure of Financial Turbulence and Great FAJ Article on Statistical Measure of Financial Turbulence Part 2, I will now build a system incorporating a new correlation-based measure of turbulence and a ...

Read more »

Great FAJ Article on Statistical Measure of Financial Turbulence Part 2

April 26, 2011
By
Great FAJ Article on Statistical Measure of Financial Turbulence Part 2

I did not intend for this to be a multi-part series, but after some clear thinking at the beach over the weekend, I decided that it needed some more analysis.  For those of you that read the article or know Mahalanobis distance, the measure I pre...

Read more »

Milktrader: Quantitative finance in R

April 25, 2011
By

The blog Milktrader has been on a roll recently with a series of posts with practical examples of quantitative in finance, from backtesting to automated trading, and option pricing to data acquisition. The latest post focuses on calculating returns, with an example of downloading data for a silver ETF and calculating daily returns with the dailyReturn function in the...

Read more »

Chop, Slice and Dice Your Returns in R

April 24, 2011
By
Chop, Slice and Dice Your Returns in R

I have a knife rack on my kitchen wall with all my kitchen knives easily identifiable and accessible. I also have small scars on my hand where each knife can claim to have left a mark. It's not the knife's fault, of course. They hardly like being sudde...

Read more »

Great FAJ Article on Statistical Measure of Financial Turbulence

April 21, 2011
By
Great FAJ Article on Statistical Measure of Financial Turbulence

I particularly liked this well-written paper, since unlike most academic research, I was able to understand it, replicate it, and incorporate it.  I know that the Financial Analyst Journal is not considered by the academic community as a top-ti...

Read more »