353 search results for "quantmod"

Error Handling in Lyx & Sweave: using Quantmod (and R, of course)

November 8, 2011
By

I do reports for clients with LyX and Sweave. It took me an extremely long time to get them working, but now that they’re working I can do more in an hour and thus charge more per hour. If you’re not familiar, here’s a rundown: LaTeX is the stand...

Read more »

Error Handling in Lyx & Sweave: using Quantmod (and R, of course)

November 8, 2011
By

I do reports for clients with LyX and Sweave. It took me an extremely long time to get them working, but now that they’re working I can do more in an hour and thus charge more per hour. (Which is, like, the point.) If you’re not familiar, here’s ...

Read more »

quantmod makes it easy to watch silver prices crash in R #rstats

May 7, 2011
By
quantmod makes it easy to watch silver prices crash in R #rstats

Jeffrey Ryan's quantmod package makes it simple to download and graph pricing data from a variety of sources. A couple of lines of R is all it takes to see that silver has had a very bad week.

Read more »

Duck typing with quantmod

February 4, 2011
By
Duck typing with quantmod

This is a short example of using duck typing in a guard statement in the futile.paradigm. We are implementing a …Continue reading »

Read more »

Wavelet Spectrogram Non-Stationary Financial Time Series analysis using R (TTR/Quantmod/dPlR) with USDEUR

April 28, 2010
By
Wavelet Spectrogram Non-Stationary Financial Time Series analysis using R (TTR/Quantmod/dPlR) with USDEUR

I've been doing some research lately regarding types of spectral imaging and decomposition techniques that apply to non-stationary signals. As mentioned earlier, one of the major problems with the simple fourier analysis is that the basis functions ext...

Read more »

Modified Donchian Band Trend Follower using R, Quantmod, TTR -Part 2: Parameter Sweep Sensitivity over long run

March 24, 2010
By
Modified Donchian Band Trend Follower using R, Quantmod, TTR  -Part 2: Parameter Sweep Sensitivity over long run

Here is a small update to the Donchian Channel type system I displayed in the last post.Fig 1. Sensitivity of Net Combined L/S Gain to parameter n.Using the S&P500 index as a proxy for the market, a simulation was run over the lifetime of the index. No...

Read more »

Modified Donchian Band Trend Follower using R, Quantmod, TTR

March 12, 2010
By
Modified Donchian Band Trend Follower using R, Quantmod, TTR

I've been toying around with the examples given on the FOSS trading site for some of the great work they've put together in the Quantmod and TTR packages. Those viewers who are looking for a nice (and free) backtesting suite to possibly complement s...

Read more »

chart with individual signals

April 12, 2014
By
chart with individual signals

Also I'm not to much into Technical Indicators and Chart-Analysis during system development it is sometimes handy to visualize your buy and selllimits in a chart.The quantmod package provides a nice charting environment and you can select from a bunch ...

Read more »

Using R to model the classic 60/40 investing rule

April 9, 2014
By
Using R to model the classic 60/40 investing rule

Image by Timothy Poulton   A long-standing paradigm among savers and investors is to favor a mixture of 40% bonds and 60% equities. The simple rationale is that stocks will provide greater returns while bonds will serve as a diversifier when if equities fall. If you are saving for your pension, you probably heard this

Read more »

Quality of Historical Stock Prices from Yahoo Finance

April 7, 2014
By
Quality of Historical Stock Prices from Yahoo Finance

I recently looked at the strategy that invests in the components of S&P/TSX 60 index, and discovered that there are some abnormal jumps/drops in historical data that I could not explain. To help me spot these points and remove them, I created a helper function data.clean() function in data.r at github. Following is an example

Read more »