358 search results for "quantmod"

Intraday data

March 9, 2014
By
Intraday data

In the Intraday Backtest post I showed an example of loading and working with Forex Intraday data from the FXHISTORICALDATA.COM. Recently, I came across another interesting source of Intraday data at the Bonnot Gang site. Please note that you will have to register to get access to the Intraday data; the registration is free. Today,

Read more »

Quantitative Finance Applications in R – 4: Using the Generalized Lambda Distribution to Simulate Market Returns

February 25, 2014
By
Quantitative Finance Applications in R – 4:  Using the Generalized Lambda Distribution to Simulate Market Returns

by Daniel Hanson, QA Data Scientist, Revolution Analytics Introduction As most readers are well aware, market return data tends to have heavier tails than that which can be captured by a normal distribution; furthermore, skewness will not be captured either. For this reason, a four parameter distribution such as the Generalized Lambda Distribution (GLD) can give us a more...

Read more »

Probabilistic Momentum

February 16, 2014
By
Probabilistic Momentum

David Varadi has recently discussed an interesting strategy in the Are Simple Momentum Strategies Too Dumb? Introducing Probabilistic Momentum post. David also provided the Probabilistic Momentum Spreadsheet if you are interested in doing computations in Excel. Today I want to show how you can test such strategy using the Systematic Investor Toolbox: The Simple Momentum

Read more »

Quantitative Finance Applications in R – 3: Plotting xts Time Series

January 28, 2014
By
Quantitative Finance Applications in R – 3: Plotting xts Time Series

by Daniel Hanson, QA Data Scientist, Revolution Analytics Introduction and Data Setup Last time, we included a couple of examples of plotting a single xts time series using the plot(.) function (ie, said function included in the xts package). Today, we’ll look at some quick and easy methods for plotting overlays of multiple xts time series in a single...

Read more »

Overnight vs. Intraday ETF Returns

January 25, 2014
By

I haven’t done much “googling” before posting, so this topic might have been covered elsewhere but I think it’s  really worth sharing or repeating anyway. A lot has been written about the source of  ETF returns (some insights might be found here). In a nutshell some analysis found that the bulk of the return is made

Read more »

Playing Financial Data Series(1)

January 24, 2014
By
Playing Financial Data Series(1)

These days I became interested in financial data, such as stock price, exchange rate and so on. Obviously there are a lot of available models to fit, analyze and predict these types of data. For instance, basic time series model arima(p,d,q), Garch model, and multivariate time series model such  as VARX model, state space models. … Continue reading...

Read more »

Solving Quadratic Progams with R’s quadprog package

January 13, 2014
By
Solving Quadratic Progams with R’s quadprog package

In this post, we'll explore a special type of nonlinear constrained optimization problems called quadratic programs. Quadratic programs appear in many practical applications, including portfolio optimization and in solving support vector machine (SVM) classification problems. There are several packages available to solve quadratic programs in R. Here, we'll work with the quadprog package. Before we dive...

Read more »

Quantitative Finance Applications in R – 2

January 9, 2014
By
Quantitative Finance Applications in R – 2

by Daniel Hanson QA Data Scientist, Revolution Analytics Some Applications of the xts Time Series Package In our previous discussion, we looked at accessing financial data using the quantmod and Quandl R packages. As noted there, the data series returned by quantmod comes in the form of an xts time series object, and Quandl provides a parameter that sets...

Read more »

2013 Summary

January 6, 2014
By
2013 Summary

2013 was a tough year. Trading was tough, with one of my strategies experiencing a significant drawdown. Research was tough – wasted a lot of time on machine learing techneques, without much to show for it. Also made some expensive mistakes, so all in all – it was a year I’d prefer I had avoided.

Read more »

Quantitative Finance Applications in R

December 27, 2013
By
Quantitative Finance Applications in R

by Daniel Hanson, QA Data Scientist, Revolution Analytics Extracting Financial Data from Internet Source Using R (first in a series) Earlier this month, a colleague and I attended a presentation on Computational Finance in R, given by Guy Yollin of the University of Washington Applied Mathematics faculty, at a meeting of the Seattle useR Group. The first among several...

Read more »