Codebook

Every column in the CSV files, with its type and meaning. All files are UTF-8, comma-separated, with a header row. Dates are ISO 8601 (YYYY-MM-DD). Empty cells mean "no value", never zero.

cfd-loss-rates.csv

One row per CFD provider. Primary key: slug. 31 rows in v1.0.0. The machine-readable schema is in cfd-loss-rates.datapackage.json.

ColumnTypeMeaning
brokertextBrand name as commonly used
slugtextStable lower-case id; links rows across files
entitytextLegal entity named on the page. Prefixed "Not confirmed:" when the page lists several group companies
loss_rate_pctnumber, 0–100Percent of retail accounts losing money, exactly as the provider states it
warning_texttextThe full warning sentence, verbatim
source_urlURLPage read, after redirects
checked_atdateDay the page was read
evidencetextSHA-256 of the page text, how it was fetched and from where
second_readone of match, changed, not_found, blocked, emptyOutcome of a separate automated re-read
second_read_atdateDay of the re-read
second_read_pctnumberFigure the re-read found; filled only for match or changed. Does not replace loss_rate_pct
second_read_urlURLWhere the re-read landed
second_read_evidencetextArchive path of the saved text or screenshot, with SHA-256
second_read_notetextReason a re-read didn't match, where one is needed
notestext"Regulator: …" from our own list (not yet register-checked), plus caveats
register_urlURLRegulator register entry once checked; empty in v1.0.0
register_checked_atdateDay of the register check; empty in v1.0.0

cfd-loss-rates-history.csv

One row per provider per quarter. Primary key: slug + quarter. 404 rows, 18 providers, 2018-Q3 to 2026-Q4. Missing quarters are absent rows, not zeros.

ColumnTypeMeaning
brokertextBrand name
slugtextJoins to cfd-loss-rates.csv
entitytextToday's entity, not re-read from each archived page
quartertext, YYYY-QnCalendar quarter of the archive capture
loss_rate_pctnumber, 0–100Figure on the archived page
archive_urlURLInternet Archive capture that was read
warning_texttextWarning sentence on the archived page, verbatim

How each figure is matched and checked is set out in the loss-rate reading method. CFDs carry a high risk of losing money rapidly due to leverage, and most retail CFD accounts lose money.

crowd-gauge-observations.csv

One row per CFTC contract per weekly report, from 2006. Source: CFTC Commitments of Traders, Legacy, futures only (dataset 6dca-aqww on publicreporting.cftc.gov).

ColumnTypeMeaning
legtextcftc: plus the CFTC contract market code, e.g. cftc:13874A (E-mini S&P 500)
markettextMarket slug, e.g. gold, euro, bitcoin. Bitcoin and ether each have two legs (standard and micro contracts)
as_of_datedatePosition date in the report (normally a Tuesday)
released_datedateas_of_date + 3 days: the day the value is treated as public. Holiday weeks can slip a day or two in reality
nonrep_longinteger, contractsNon-reportable long positions (CFTC field nonrept_positions_long_all)
nonrep_shortinteger, contractsNon-reportable short positions (nonrept_positions_short_all)
long_share_pctnumber, 0–100nonrep_long / (nonrep_long + nonrep_short) × 100
percentile_156wnumber, 0–100Percentile rank of long_share_pct within this leg's latest 156 weekly readings, ties counted half. Empty until 52 readings exist
flow_percentile_156wnumber, 0–100Percentile rank of the 4-week change in long_share_pct, same window

crowd-gauge-history.csv

One row per release date per scope. Scopes are the 19 market slugs, the classes futures and crypto, and composite.

ColumnTypeMeaning
datedateRelease date the reading belongs to
scopetextMarket slug, class or composite
value_0_100number, 0–100Market: mean percentile of its live legs. Class: equal-weight mean of its markets. Composite: 50/50 futures and crypto
bandtextcrowded_short (under 20), leaning_short (20–40), balanced (40–60), leaning_long (60–80), crowded_long (80 and over)
legsintegerInputs averaged: legs for a market, markets for a class, classes for the composite
method_versiontextMethod that produced the row (1.0). Old rows are never rewritten by a new version

crowd-fear-greed-history.csv and crowd-fear-greed-monthly.csv

Per leg, the reading is 0.5 × percentile_156w + 0.5 × flow_percentile_156w; markets average their legs and scopes average their markets. Scopes: crypto, bitcoin, stock-market. Bands: extreme_fear (under 25), fear (25–45), neutral (45–55), greed (55–75), extreme_greed (75 and over). The history file has date, scope, value_0_100, band, markets, method_version. The monthly file has month, scope, last_date, last_value, last_band, mean, low, high, readings, method_version. No price, volatility or news inputs are used.

JSON files