Analysis Techniques & Strategies

About COT Data in TradeStation

Commitments of Traders (COT) data provides a detailed breakdown of the number of Futures contracts held long, short, or spread by commercial, non-commercial entities, and speculative traders that can be used for fundamental analysis of the Futures markets.  

In TradeStation, fundamental COT data may be referenced by analysis techniques and used within strategies. There are a number of built-in indicators along with EasyLanguage reserved words and functions that provide tools for accessing COT data.  COT data is accessed using the same functions and reserved words that access historical fundamental data.

Overview

Commitments of Traders (COT) is a historical record of Futures positions open interest for US Futures markets broken down by type of trader; Commercials, which are producers and consumers of commodities; Non-Commercials are large speculators like hedge funds; and Speculators (non-reportable), which are smaller traders. Starting in 1962, the Commodity Futures Trading Commission (CFTC) started requiring all significant traders meeting certain criteria to report the futures positions they were holding. The CFTC reports this data on their website each week.

Due to its infrequency and delay in reporting to the public (only once a week and at least three days into the next week) it is not a real-time data stream, but it can be used to show which groups of traders have a position bias in a market direction, which groups may be driving the market trend, and which groups are increasing or decreasing position size.

Built-in COT Analysis Techniques

TradeStation includes several analysis techniques that make use of COT data and are listed in the COT Data Analysis Technique Library topic.  

Custom Plots and COT Data

In addition to using built-in indicators that reference the basic COT data, you can plot any of the dozens of additional COT data fields in a RadarScreen or Chart Analysis window using one of the built-in 'Custom' indicators from the library along with the appropriate reserved word and field input values. This is an easy and flexible way to plot virtually any fundamental COT values (up to 4 at a time).  

Writing Your Own COT Analysis Techniques and Strategies

The TradeStation platform allows you to use EasyLanguage to include any combination of fundamental COT data values in analysis techniques or strategies.  

Functions

A set of supplied functions are also available for use in your own EasyLanguage statements that can be used to return the COT data value and error status in one call.  These functions require that you declare a variable in your EasyLanguage code and understand the use of output parameters.  You may choose to look at the EasyLanguage code for each function to develop a better understanding of how to use the underlying reserved words.  Note that these functions allow you to access fundamental fields from other data streams, such as 'of Data2'.  

Reserved Words

There are a set of reserved words that may be used to retrieve values for fundamental COT data fields and error status for Data1.  These words can be used as inputs with Custom 1, 2, 3, and 4 Line indicators to directly display values in charts and grids in addition to using the words in your own EasyLanguage statements.

COT Data - EasyLanguage Field Names

In EasyLanguage, fundamental COT data fields are provided that correspond to the two CFTC (Commodity Futures Trading Commission) reports for the Futures Only positions and for Combined Futures & Options.  Historical values for Futures Only data goes back to 1986 and historical values for Combined Futures & Options data goes back to about 1995.  

Lists of the COT data fields are organized as they would commonly appear on their respective CFTC reports.