[R-SIG-Finance] Generating a front month only Time Series for Futures Prices

gussinsky sduve at hotmail.com
Thu May 3 20:44:10 CEST 2012


Hello All,

I am struggeling to find a method which would enable me to generate a
historical time series which only contains a commodities front month price,
and after expiry automatically rolls over to the next month. 

I suspect one has to code the roll over rule from the respective exchange
into a function, and supply the function with the respective expired
historical data.

My aim is to backtest those data for delta 1 strategies, but also for
cointegration. One example would be heating oil futures vs. gasoil futures.

Many thanks


Gussinsky

--
View this message in context: http://r.789695.n4.nabble.com/Generating-a-front-month-only-Time-Series-for-Futures-Prices-tp4606794.html
Sent from the Rmetrics mailing list archive at Nabble.com.



More information about the R-SIG-Finance mailing list