Pulling Historical Spread Data into Excel

Pull historical spread data into Microsoft Excel® using RTD formulas with this sample spreadsheet. It not only pulls open, high, low, and close values into Excel, but also a study, the simple moving average of the spread.

To pull in the data, we used the spread bar symbol:

Bar(CLE?1-CLE?2,1)

This symbol calls for 1-minute interval snapshots of the spread for determining the open, high, low, and close of the spread bar.

You can change the spread symbol, the time frame, including using a continuation setting, and the look-back period for the moving average.

Read more about spread bars ‌‍‍‍‍

Requires CQG Integrated Client or CQG QTrader, data enablements for all symbols used in the spreadsheet, and Excel 2010 or higher.

Downloads

Disclaimer

Trading and investment carry a high level of risk, and CQG, Inc. does not make any recommendations for buying or selling any financial instruments. We offer educational information on ways to use our sophisticated CQG trading tools, but it is up to our customers and other readers to make their own trading and investment decisions or to consult with a registered investment advisor. The opinions expressed here are solely those of the author and do not reflect the opinions of CQG, Inc. or its affiliates.