433 search results for "quantmod"

Portfolio Optimization using R and Plotly

April 2, 2016
By

In this post we’ll focus on showcasing Plotly’s WebGL capabilities by charting financial portfolios using an R package called PortfolioAnalytics. The package is a generic portfolo optimization framework developed by folks at the University of Washington and Brian Peterson (of the PerformanceAnalytics fame). You can see the vignette here Let’s pull in some data first.

Read more »

A Tale of Two Charting Paradigms: Vega-Lite vs R+ggplot2

February 28, 2016
By
A Tale of Two Charting Paradigms: Vega-Lite vs R+ggplot2

This post comes hot off the heels of the nigh-feature-complete release of vegalite (virtually all the components of Vega-Lite are now implemented and just need real-world user testing). I’ve had a few and seen a few questions about “why Vega-Lite”? I think my previous post gave some good answers to “why”. However, Vega-Lite and Vega

Read more »

flipsideR: Support for ASX Option Chain Data

February 8, 2016
By

I previously wrote about some ad hoc R code for downloading Option Chain data from Google Finance. I finally wrapped it up into a package called flipsideR, which is now available via GitHub. Since I last wrote on this topic I've also added support for downloading option data from the Australian Securities Exchange (ASX). Installation The post

Read more »

On The Relationship Between the SMA and Momentum

January 13, 2016
By
On The Relationship Between the SMA and Momentum

Happy new year. This post will be a quick one covering the relationship between the simple moving average and time … Continue reading →

Read more »

Maintaining a database of price files in R

December 13, 2015
By
Maintaining a database of price files in R

Doing quantitative research implies a lot of data crunching and one needs clean and reliable data to achieve this. What is really needed is clean data that is easily accessible (even without an internet connection). The most efficient way to do this for me has been to maintain a set of csv files. Obviously this

Read more »

R tutorials

December 10, 2015
By
image02

There are tons of resources to help you learn the different aspects of R, and as a beginner this can be overwhelming. It’s also a dynamic language and rapidly changing, so it’s important to keep up with the latest tools and technologies. That’s why R-bloggers and DataCamp have worked together to bring you a learning path for R. Each section...

Read more »

A First Attempt At Applying Ensemble Filters

December 4, 2015
By
A First Attempt At Applying Ensemble Filters

This post will outline a first failed attempt at applying the ensemble filter methodology to try and come up with … Continue reading →

Read more »

Calculate Inflation with R

December 1, 2015
By
Calculate Inflation with R

I was surprised to see there weren’t more of these types of calculators in the R community. Inflation and adjusted payments seem like they would be more common. I was able to find a way to gather Consumer Price Index data using the quantmod package but quantmod leaves you to your own devices in converting

Read more »

Comment on Overnight SPY Anomaly

November 16, 2015
By

This post is in response to Michael Harris' Price Action Lab post, where he uses some simple R code to evaluate the asymmetry of returns from the day's close to the following day's open.  I'd like to respond to his 3 notes, which I've included below.The R backtest assumes fractional shares. This means that equity is fully...

Read more »

Trading Autocorrelation?

November 15, 2015
By
Trading Autocorrelation?

Markets are very smart in absorbing and reflecting information. If you think otherwise, try making money by trading. If you are new to it, make sure you don’t bet the house. In other words, markets are efficient. At least most of the time. So then why people trade? The general believe is that there are The post

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Dommino data lab

Quantide: statistical consulting and training



http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training





Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)