Tools / Macro
Futures positioning
get_cot_positioning
Commitments of Traders (legacy, futures only) for a market: speculators' long, short and net positions, net as percent of open interest, weekly change, commercials' and small traders' net, and where the current net sits within the window (percentile, max, min).
Questions it answers
- Are speculators long or short crude oil?
- How did positioning in gold futures change this month?
Parameters
| Parameter | Description |
|---|---|
marketrequiredstring | Market name or alias: gold, silver, copper, platinum, crude oil, natural gas, gasoline, corn, wheat, soybeans, coffee, sugar, cocoa, cotton, cattle, hogs, bitcoin, ether, euro fx, yen, pound, dollar index, e-mini s&p 500, nasdaq, russell, 10-year, bonds, vix |
weeksinteger = 26 |
Use it from your agent
Add the TradingData MCP URL to Claude, ChatGPT, Cursor or any MCP client, then ask in plain words. The model sees this tool's description and calls it with the right parameters.
https://mcp.tradingdata.io