This document provides an introduction to time series analysis using R. It discusses key concepts like stationarity, unit roots, and integrated processes. It demonstrates how to check for stationarity in the SPY ETF price series and returns. Non-stationary price data can be made stationary by taking the first difference (returns). Unit root tests like the Augmented Dickey-Fuller test are used to formally test for a unit root. The document also shows how to access real-time market data using the IBrokers package in R.