cot: Commitments of Traders

[ data, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (<5), cot, megaparsec, optparse-applicative, prettyprinter [details]
License MIT
Copyright David Cox
Author dopamane
Maintainer dwc1295@gmail.com
Uploaded by dopamane at 2026-10-22T04:44:09Z
Category Data
Home page https://github.com/dopamane/cot
Source repo head: git clone https://github.com/dopamane/cot
Distributions
Executables cot
Downloads 3 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-10-22 [all 1 reports]

Readme for cot-0.1.0.0

[back to package description]

COT

Commitments of Traders https://www.cftc.gov/

Usage

cot --help
cot parse short.txt
cot pretty --futes --date "October 20, 2026" --contract WHEAT-SRW \
  --exchange "CHICAGO BOARD OF TRADE" \
  --under "(CONTRACTS OF 5,000 BUSHELS)" \
  --code 001602 --open-interest 506744 \
  --positions "74823 129848 87075 17174 29002 89109 121664 120140 35547 20598 35223" \
  --changes-from "October 6, 2026" \
  --changes "2265 521 -866 -328 8162 2155 5880 -2346 -1666 -3833 2347" \
  --percents "14.8 25.6 17.2 3.4 5.7 17.6 24.0 23.7 7.0 4.1 7.0" \
  --total-traders 401 --traders "67 94 25 10 16 77 53 71 63 47 60"

Install

cabal install cot

Development

cabal build
cabal haddock
cabal test
cabal run cot -- --help