COT Data Trade Station Documentation
COT Data Trade Station Documentation
COT Data Trade Station Documentation
TradeStation Securities, Inc. seeks to serve institutional and active traders. Please be advised that active trading is generally not appropriate for someone of limited resources, limited investment or trading experience, or low risk tolerance, or who is not willing to risk at least $50,000 of capital. This document may discuss in detail how TradeStation is designed to help you develop, test and implement trading strategies. However, TradeStation Securities does not provide or suggest trading strategies. We offer you unique tools to help you design your own strategies and look at how they could have performed in the past. While we believe this is very valuable information, we caution you that simulated past performance of a trading strategy is no guarantee of its future performance or success. We also do not recommend or solicit the purchase or sale of any particular securities or derivative products. Any symbols referenced are used only for the purposes of the demonstration, as an example ---- not a recommendation. Finally, this document may discuss automated electronic order placement and execution. Please note that even though TradeStation has been designed to automate your trading strategies and deliver timely order placement, routing and execution, these things, as well as access to the system itself, may at times be delayed or even fail due to market volatility, quote delays, system and software errors, Internet traffic, outages and other factors.
Overview
Commitments of Traders (COT) is a historical record of Futures positions open interest for all 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 (nonreportable), 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.
COT Net Position The COT Net Position indicator plots the net long/short OpenInterest positions of each group. It is the difference between the long and short positions held by each group. A positive number shows how many more long contracts are held by a particular group than short contracts. Conversely, a negative number shows how many more short contracts are held by a particular group than long contracts. COT Total Position The COT Total Position indicator plots the total Open Interest position for each group. COT Total Position % The COT Total Position % indicator plots the total Open Interest position for each group versus total Open Interest position for all groups as a percentage. This shows which group is holding the largest position relative to the other groups, and how those relationships change over time. Indicator Notes: The indicators provided in COT.ELD use a consistent color scheme when possible: Blue is for Commercials, Green is for Non-Commercials, Red is for Speculators. The user input "FuturesOnly_Or_FuturesAndOptions_1_or_2" determines whether the CFTC's "Futures Only" report is used, or the "Futures and Futures Options" report is used to determine the positions of the groups. By default, the "Futures Only" report is used. Input: 1 = Futures Only (Default) 2 = Futures and Futures Options Plots: Plot1: Commercial traders' net position (BLUE) Plot2: Non-commercial traders' net position (GREEN) Plot3: Speculators' net positions, for speculators not of reportable size (RED) Plot4: Zero line
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'. There is a specific function call for each type of fundamental COT data field including FundValue, FundString, and FundBoolean. The data type may be found under the Type column in each COT Data Field category help topic. You can also get the post and period end dates associated with a data field by using either FundDate or FundPeriodEndDate. The error status from the last 'GetFund' call is returned using the FundErr word. A status of 0 indicates that the last data value was retrieved successfully. For all non-zero status values, compare the returned value with the error code list in the help topic to identify the error type.
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. There is a specific reserved word for getting each type of fundamental COT data field including GetFundData, GetFundAsString, and GetFundBoolean. The data type may be found under the Type column in each Fundamental Data Field category help topic. You can also get the post and period end dates associated with a data field by using either GetFundPostDate or GetFundPeriodEndDate. The error status from the last 'GetFund' call is returned using the GetLastFundDataError word. A status of 0 indicates that the last data value was retrieved successfully. For all non-zero status values, compare the returned value with the error code list in the help topic to identify the error type.
Name (Futures Only) COTF-1 COTF-4 COTF-5 COTF-6 COTF-7 COTF-8 COTF-9 COTF-10 COTF-11 COTF-12 COTF-13 COTF-14 COTF-15 COTF-16 COTF-17 COTF-18 COTF-19 COTF-20 COTF-21 COTF-22 COTF-23 COTF-24 COTF-25 COTF-26 COTF-27 COTF-28 COTF-29 COTF-30 COTF-31 COTF-32 COTF-33 COTF-34 COTF-35 COTF-36 (Combined Futures & Options) COTC-1 COTC-4 COTC-5 COTC-6 COTC-7 COTC-8 COTC-9 COTC-10 COTC-11 COTC-12 COTC-13 COTC-14 COTC-15 COTC-16 COTC-17 COTC-18 COTC-19 COTC-20 COTC-21 COTC-22 COTC-23 COTC-24 COTC-25 COTC-26 COTC-27 COTC-28 COTC-29 COTC-30 COTC-31 COTC-32 COTC-33 COTC-34 COTC-35 COTC-36
Description Based on the Official COT Report published by the CFTC (Commodity Futures Trading Commission) MARKET AND EXCHANGE NAMES CFTC CONTRACT MARKET CODE CFTC MARKET CODE IN INITIALS CFTC REGION CODE CFTC COMMODITY CODE OPEN INTEREST (ALL) NONCOMMERCIAL POSITIONS-LONG (ALL) NONCOMMERCIAL POSITIONS-SHORT (ALL) NONCOMMERCIAL POSITIONS-SPREADING (ALL) COMMERCIAL POSITIONS-LONG (ALL) COMMERCIAL POSITIONS-SHORT (ALL) TOTAL REPORTABLE POSITIONS-LONG (ALL) TOTAL REPORTABLE POSITIONS-SHORT (ALL) NONREPORTABLE POSITIONS-LONG (ALL) NONREPORTABLE POSITIONS-SHORT (ALL) OPEN INTEREST (OLD) NONCOMMERCIAL POSITIONS-LONG (OLD) NONCOMMERCIAL POSITIONS-SHORT (OLD) NONCOMMERCIAL POSITIONS-SPREADING (OLD) COMMERCIAL POSITIONS-LONG (OLD) COMMERCIAL POSITIONS-SHORT (OLD) TOTAL REPORTABLE POSITIONS-LONG (OLD) TOTAL REPORTABLE POSITIONS-SHORT (OLD) NONREPORTABLE POSITIONS-LONG (OLD) NONREPORTABLE POSITIONS-SHORT (OLD) OPEN INTEREST (OTHER) NONCOMMERCIAL POSITIONS-LONG (OTHER) NONCOMMERCIAL POSITIONS-SHORT (OTHER) NONCOMMERCIAL POSITIONS-SPREADING(OTHER) COMMERCIAL POSITIONS-LONG (OTHER) COMMERCIAL POSITIONS-SHORT (OTHER) TOTAL REPORTABLE POSITIONS-LONG (OTHER) TOTAL REPORTABLE POSITIONS-SHORT (OTHER) NONREPORTABLE POSITIONS-LONG (OTHER)
Type
string numeric string numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric
COTF-37 COTF-38 COTF-39 COTF-40 COTF-41 COTF-42 COTF-43 COTF-44 COTF-45 COTF-46 COTF-47 COTF-48 COTF-49 COTF-50 COTF-51 COTF-52 COTF-53 COTF-54 COTF-55 COTF-56 COTF-57 COTF-58 COTF-59 COTF-60 COTF-61 COTF-62 COTF-63 COTF-64 COTF-65 COTF-66 COTF-67 COTF-68 COTF-69 COTF-70 COTF-71 COTF-72 COTF-73 COTF-74
COTC-37 COTC-38 COTC-39 COTC-40 COTC-41 COTC-42 COTC-43 COTC-44 COTC-45 COTC-46 COTC-47 COTC-48 COTC-49 COTC-50 COTC-51 COTC-52 COTC-53 COTC-54 COTC-55 COTC-56 COTC-57 COTC-58 COTC-59 COTC-60 COTC-61 COTC-62 COTC-63 COTC-64 COTC-65 COTC-66 COTC-67 COTC-68 COTC-69 COTC-70 COTC-71 COTC-72 COTC-73 COTC-74
NONREPORTABLE POSITIONS-SHORT (OTHER) CHANGE IN OPEN INTEREST (ALL) CHANGE IN NONCOMMERCIAL-LONG (ALL) CHANGE IN NONCOMMERCIAL-SHORT (ALL) CHANGE IN NONCOMMERCIAL-SPREADING (ALL) CHANGE IN COMMERCIAL-LONG (ALL) CHANGE IN COMMERCIAL-SHORT (ALL) CHANGE IN TOTAL REPORTABLE-LONG (ALL) CHANGE IN TOTAL REPORTABLE-SHORT (ALL) CHANGE IN NONREPORTABLE-LONG (ALL) CHANGE IN NONREPORTABLE-SHORT (ALL) % OF OPEN INTEREST (OI) (ALL) % OF OI-NONCOMMERCIAL-LONG (ALL) % OF OI-NONCOMMERCIAL-SHORT (ALL) % OF OI-NONCOMMERCIAL-SPREADING (ALL) % OF OI-COMMERCIAL-LONG (ALL) % OF OI-COMMERCIAL-SHORT (ALL) % OF OI-TOTAL REPORTABLE-LONG (ALL) % OF OI-TOTAL REPORTABLE-SHORT (ALL) % OF OI-NONREPORTABLE-LONG (ALL) % OF OI-NONREPORTABLE-SHORT (ALL) % OF OPEN INTEREST (OI) (OLD) % OF OI-NONCOMMERCIAL-LONG (OLD) % OF OI-NONCOMMERCIAL-SHORT (OLD) % OF OI-NONCOMMERCIAL-SPREADING (OLD) % OF OI-COMMERCIAL-LONG (OLD) % OF OI-COMMERCIAL-SHORT (OLD) % OF OI-TOTAL REPORTABLE-LONG (OLD) % OF OI-TOTAL REPORTABLE-SHORT (OLD) % OF OI-NONREPORTABLE-LONG (OLD) % OF OI-NONREPORTABLE-SHORT (OLD) % OF OPEN INTEREST (OI) (OTHER) % OF OI-NONCOMMERCIAL-LONG (OTHER) % OF OI-NONCOMMERCIAL-SHORT (OTHER) % OF OI-NONCOMMERCIAL-SPREADING (OTHER) % OF OI-COMMERCIAL-LONG (OTHER) % OF OI-COMMERCIAL-SHORT (OTHER) % OF OI-TOTAL REPORTABLE-LONG (OTHER)
numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric
COTF-75 COTF-76 COTF-77 COTF-78 COTF-79 COTF-80 COTF-81 COTF-82 COTF-83 COTF-84 COTF-85 COTF-86 COTF-87 COTF-88 COTF-89 COTF-90 COTF-91 COTF-92 COTF-93 COTF-94 COTF-95 COTF-96 COTF-97 COTF-98 COTF-99 COTF-100 COTF-101 COTF-102 COTF-103 COTF-104 COTF-105 COTF-106 COTF-107 COTF-108 COTF-109 COTF-110 COTF-111 COTF-112
COTC-75 COTC-76 COTC-77 COTC-78 COTC-79 COTC-80 COTC-81 COTC-82 COTC-83 COTC-84 COTC-85 COTC-86 COTC-87 COTC-88 COTC-89 COTC-90 COTC-91 COTC-92 COTC-93 COTC-94 COTC-95 COTC-96 COTC-97 COTC-98 COTC-99 COTC-100 COTC-101 COTC-102 COTC-103 COTC-104 COTC-105 COTC-106 COTC-107 COTC-108 COTC-109 COTC-110 COTC-111 COTC-112
% OF OI-TOTAL REPORTABLE-SHORT (OTHER) % OF OI-NONREPORTABLE-LONG (OTHER) % OF OI-NONREPORTABLE-SHORT (OTHER) TRADERS-TOTAL (ALL) TRADERS-NONCOMMERCIAL-LONG (ALL) TRADERS-NONCOMMERCIAL-SHORT (ALL) TRADERS-NONCOMMERCIAL-SPREADING (ALL) TRADERS-COMMERCIAL-LONG (ALL) TRADERS-COMMERCIAL-SHORT (ALL) TRADERS-TOTAL REPORTABLE-LONG (ALL) TRADERS-TOTAL REPORTABLE-SHORT (ALL) TRADERS-TOTAL (OLD) TRADERS-NONCOMMERCIAL-LONG (OLD) TRADERS-NONCOMMERCIAL-SHORT (OLD) TRADERS-NONCOMMERCIAL-SPREADING (OLD) TRADERS-COMMERCIAL-LONG (OLD) TRADERS-COMMERCIAL-SHORT (OLD) TRADERS-TOTAL REPORTABLE-LONG (OLD) TRADERS-TOTAL REPORTABLE-SHORT (OLD) TRADERS-TOTAL (OTHER) TRADERS-NONCOMMERCIAL-LONG (OTHER) TRADERS-NONCOMMERCIAL-SHORT (OTHER) TRADERS-NONCOMMERCIAL-SPREADING (OTHER) TRADERS-COMMERCIAL-LONG (OTHER) TRADERS-COMMERCIAL-SHORT (OTHER) TRADERS-TOTAL REPORTABLE-LONG (OTHER) TRADERS-TOTAL REPORTABLE-SHORT (OTHER) CONCENTRATION-GROSS LT = 4 TDR-LONG (ALL) CONCENTRATION-GROSS LT ="4" TDR-SHORT (ALL) CONCENTRATION-GROSS LT ="8" TDR-LONG (ALL) CONCENTRATION-GROSS LT ="8" TDR-SHORT (ALL) CONCENTRATION-NET LT ="4" TDR-LONG (ALL) CONCENTRATION-NET LT ="4" TDR-SHORT (ALL) CONCENTRATION-NET LT ="8" TDR-LONG (ALL) CONCENTRATION-NET LT ="8" TDR-SHORT (ALL) CONCENTRATION-GROSS LT ="4" TDR-LONG (OLD) CONCENTRATION-GROSS LT ="4" TDR-SHORT (OLD) CONCENTRATION-GROSS LT ="8" TDR-LONG (OLD)
numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric
COTF-113 COTF-114 COTF-115 COTF-116 COTF-117 COTF-118 COTF-119 COTF-120 COTF-121 COTF-122 COTF-123 COTF-124 COTF-125 COTF-126 COTF-127 COTF-128 COTF-129
COTC-113 COTC-114 COTC-115 COTC-116 COTC-117 COTC-118 COTC-119 COTC-120 COTC-121 COTC-122 COTC-123 COTC-124 COTC-125 COTC-126 COTC-127 COTC-128 COTC-129
CONCENTRATION-GROSS LT ="8" TDR-SHORT (OLD) CONCENTRATION-NET LT ="4" TDR-LONG (OLD) CONCENTRATION-NET LT ="4" TDR-SHORT (OLD) CONCENTRATION-NET LT ="8" TDR-LONG (OLD) CONCENTRATION-NET LT ="8" TDR-SHORT (OLD) CONCENTRATION-GROSS LT ="4" TDR-LONG (OTHER) CONCENTRATION-GROSS LT ="4" TDR-SHORT(OTHER) CONCENTRATION-GROSS LT ="8" TDR-LONG (OTHER) CONCENTRATION-GROSS LT ="8" TDR-SHORT(OTHER) CONCENTRATION-NET LT ="4" TDR-LONG (OTHER) CONCENTRATION-NET LT ="4" TDR-SHORT (OTHER) CONCENTRATION-NET LT ="8" TDR-LONG (OTHER) CONCENTRATION-NET LT ="8" TDR-SHORT (OTHER) CONTRACT UNITS CFTC CONTRACT MARKET CODE (QUOTES) CFTC MARKET CODE IN INITIALS (QUOTES) CFTC COMMODITY CODE (QUOTES)
numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric numeric