# NOT RUN {
# Pull all option contracts expiring over the next 6 months
# with 5 strikes above and below the at-the-money price
td_optionChain(ticker = 'SPY',
strikes = 5,
endDate = Sys.Date() + 180)
# }
Run the code above in your browser using DataLab