374 search results for "quantmod"

An Update On EAA and a Volatility Strategy

January 16, 2015
By
An Update On EAA and a Volatility Strategy

Again, before starting this post, I’d like to inform readers that the book Quantitative Trading With R, written by Harry … Continue reading →

Read more »

Downloading Option Chain Data from Google Finance in R: An Update

January 13, 2015
By
Downloading Option Chain Data from Google Finance in R: An Update

I recently read an article which showed how to download Option Chain data from Google Finance using R. Interestingly, that article appears to be a close adaption of another article which does the same thing using Python. While playing around with the code from these articles I noticed a couple of things that might benefit

Read more »

Adding a Risk-Free Rate To Your Analyses

January 9, 2015
By
Adding a Risk-Free Rate To Your Analyses

First off, before beginning this post, I’d like to make my readers aware of the release of a book that … Continue reading →

Read more »

For A New Year, A New Asset Allocation System Just Published in SSRN

January 2, 2015
By
For A New Year,  A New Asset Allocation System Just Published in SSRN

Happy New Year! So, this is something I’ve been working on before its official publication (so this is the first … Continue reading →

Read more »

Why Backtesting On Individual Legs In A Spread Is A BAD Idea

December 31, 2014
By
Why Backtesting On Individual Legs In A Spread Is A BAD Idea

So after reading the last post, the author of quantstrat had mostly critical feedback, mostly of the philosophy that prompted … Continue reading →

Read more »

A Way To Model Execution On Individual Legs Of A Spread In Quantstrat

December 23, 2014
By
A Way To Model Execution On Individual Legs Of A Spread In Quantstrat

In this post, I’ll attempt to address a question I’ve seen tossed around time and again regarding quantstrat. “How do … Continue reading →

Read more »

The ZOMMA Warthog Index

December 12, 2014
By
The ZOMMA Warthog Index

Harry Long posted another article on SeekingAlpha. As usual, it’s another “looks amazing at first glance, and winds up being … Continue reading →

Read more »

Bonds are boring…read this

December 8, 2014
By

If you would have invested in 1992 in the DAX ETF - provided it would have been around, of course - you would have earned a decent amount of money.That's the story of the passive guys and in my previous post I'm borrowing a few arguments of this guys t...

Read more »

Pipeline to Plot Annual % Change

November 24, 2014
By

Pipes in R make my life incredibly easy, and I think my code easier to read.   Note, there are a couple different flavors of pipes (see magrittr and pipeR).  For now, I choose pipeR.library(quantmod)library(pipeR)library(ggplot2)getSymbols("^GSPC",from="1900-01-01",auto.assign=F) %>>% #get S&P 500 from Yahoo!Finance ( . ) %>>% #get end of year ROC( type="discrete", n=1

Read more »

Seeking Volatility and Leverage

November 3, 2014
By
Seeking Volatility and Leverage

So Harry Long recently posted several articles, a couple of them all that have variations on a theme of a … Continue reading →

Read more »