# 451 search results for "trading"

## Twelve Days 2013: LASSO Regression

December 19, 2013
By

Day Eight: LASSO RegressionTL/DRLASSO regression (least absolute shrinkage and selection operator) is a modified form of least squares regression that penalizes model complexity via a regularization parameter. It does so by including a term proportional to $||\beta||_{l_1}$ in the objective function which shrinks coefficients towards zero, and can even eliminate them entirely. In that light, LASSO is a...

## A Review of Risk Parity

December 17, 2013
By

What is risk parity (RP)? Simply put, it is a method of allocating equal risk shares to each asset in the portfolio. In more traditional allocation schemes, equity, being the riskiest asset (and hence providing the highest reward), has typically received the lion’s share. With RP, equalization of risk contribution means that equity and other

## Financial Data Accessible from R – part IV

December 13, 2013
By

DataMarket is the latest data source of financial data accessible from R I came across. A good tutorial can be found here. I updated the table and the descriptions below. Source R Package Free Access Available on CRAN Provider url Yahoo, FRED, Oanda, Google Quantmod Yes Yes Quantmod Quandl Quandl Yes Yes Quandl TrueFX TFX

## Analyzing the DVI Indicator

November 30, 2013
By

The DVI indicator is a well-known indicator, created by David Varadi from CSS Analytics. It was introduced in 2009 as a good predictor for the S&P 500 over the past 30 years. Its performance on the S&P 500 has been studied in the blogosphere comprehensively. None of these studies, however, contained everything I was looking

## The R Backpages 2

November 27, 2013
By

by Joseph Rickert In this roundup of R-related news: Domino enables data science collaboration; Plotly adds an R graphics gallery; Revolution Analytics R user group sponsorship applications are open; and Quandl adds new data sets. San Francisco startup takes on collaborative Data Science Domino, a San Francisco based startup, is inviting users to sign up to beta test its...

## getSymbols Extra

November 25, 2013
By

The getSymbols function from the quantmod package is an easy and convenient way to bring historical stock prices into your R environment. You need to specify the list of tickers, the source of historical prices and dates. For example following commands will download historical stock prices from yahoo finance for ‘RWX’, ‘VNQ’, ‘VGSIX’ symbols: Now,

## Historical Value at Risk versus historical Expected Shortfall

November 18, 2013
By

Comparing the behavior of the two on the S&P 500. Previously There have been a few posts about Value at Risk (VaR) and Expected Shortfall (ES) including an introduction to Value at Risk and Expected Shortfall. Data and model The underlying data are daily returns for the S&P 500 from 1950 to the present. The VaR and … Continue reading...

## Financial Data Accessible from R – part III

November 8, 2013
By

I came across a new source of data which I think is really worth sharing: ThinkNum. It gathers around 2,000 sources of data but more importantly it allows the user to manipulate this data via functions and graphics and there is an R package available on CRAN. Interested readers can find a very good post

## The R Backpages

November 7, 2013
By

by Joseph Rickert As an avid newspaper reader (I still get the print edition of the New York Times delivered every Sunday morning) I have always thought that some of the most interesting news is to be found in the back pages. So, in that spirit here are some things that I thought might be fit to print. Plotly...