📉 cftc¶
8 datasets · 115 columns
cftc_trades · table¶
CFTC swap trade public dissemination records from DTCC GTR. Each row is one reported swap event (new trade, amendment, termination, correction). Covers all five CFTC asset classes, one per partition: RATES, CREDITS, FOREX, EQUITIES, COMMODITIES (the source short code IR/CR/FX/EQ/CO is preserved in asset_class_code). Partitioned by asset_class/year/month. Daily EOD files from 2024-01-01; weekends and holidays produce no file (skipped cleanly). For new trades only: WHERE action_type = 'NEWT'. For live trades: exclude action_type IN ('TERM','CORR','EROR'). Join on dissemination_id / original_dissemination_id to reconstruct amendment chains.
| Column | Type | Null | Description |
|---|---|---|---|
dissemination_ |
string | no | Unique identifier assigned by DTCC for this dissemination event (PK) |
original_ |
string | yes | References the original NEWT dissemination_id for amendments/terminations |
action_ |
string | no | NEWT=new trade, AMND=amendment, TERM=termination, CORR=correction, EROR=error, NOVA=novation |
event_ |
string | yes | TRAD=trade, NOVA=novation, CLRG=clearing |
event_ |
timestamp | no | UTC timestamp of the swap event |
amendment_ |
string | yes | Indicates whether the record is an amendment to a prior submission |
asset_ |
string | yes | CFTC standard asset-class code from the source file — IR (rates), CR (credit), FX, EQ (equity), CO (commodity). Redundant with the asset_class partition (the DTCC file is pre-split by class) but kept for analyst convenience and joins. |
product_ |
string | yes | Standard product description (e.g. 'Swap OIS USD', 'Index CDS') |
unique_ |
string | yes | UPI code identifying the swap product per ANNA DSB taxonomy |
upi_ |
string | yes | Financial Instrument Short Name from UPI |
upi_ |
string | yes | Underlier name from UPI (e.g. 'USD-SOFR-COMPOUND', 'CDX.NA.IG') |
cleared |
string | yes | Y=cleared, N=not cleared, I=not applicable (source 'Cleared' field; may be NULL) |
mandatory_ |
boolean | yes | Whether this swap is subject to mandatory clearing under CFTC rules |
execution_ |
timestamp | yes | UTC timestamp when the trade was executed |
platform_ |
string | yes | SEF or DCM venue identifier where the trade was executed |
block_ |
boolean | yes | True if the trade qualifies as a block trade (delayed reporting) |
large_ |
boolean | yes | True if large notional off-facility swap delayed reporting elected |
prime_ |
boolean | yes | True if this is a prime brokerage transaction |
effective_ |
date | yes | Date the swap begins accruing |
expiration_ |
date | yes | Scheduled maturity/expiration date of the swap |
maturity_ |
date | yes | Maturity date of the underlying instrument (for options/swaptions) |
first_ |
date | yes | Earliest exercise date for options |
notional_ |
double | yes | Notional principal amount for leg 1 (commas removed by DuckDB auto-detect) |
notional_ |
double | yes | Notional principal amount for leg 2 |
notional_ |
string | yes | ISO 4217 currency code for leg 1 notional |
notional_ |
string | yes | ISO 4217 currency code for leg 2 notional |
notional_ |
double | yes | Physical quantity for commodity/equity swaps leg 1 |
notional_ |
double | yes | Physical quantity for commodity/equity swaps leg 2 |
total_ |
double | yes | Aggregate quantity over the life of the swap leg 1 |
total_ |
double | yes | Aggregate quantity over the life of the swap leg 2 |
quantity_ |
string | yes | Unit of measure for notional quantity leg 1 (BBL, MMBTU, MWH, etc.) |
quantity_ |
string | yes | Unit of measure for notional quantity leg 2 |
quantity_ |
string | yes | Frequency at which quantity is delivered/settled leg 1 |
quantity_ |
string | yes | Frequency at which quantity is delivered/settled leg 2 |
quantity_ |
double | yes | Multiplier applied to quantity frequency leg 1 |
quantity_ |
double | yes | Multiplier applied to quantity frequency leg 2 |
notional_ |
double | yes | Notional in effect on the effective date for leg 1 (step-up swaps) |
notional_ |
double | yes | Notional in effect on the effective date for leg 2 |
effective_ |
date | yes | Date the notional amount takes effect for leg 1 |
effective_ |
date | yes | Date the notional amount takes effect for leg 2 |
end_ |
date | yes | Date the notional amount expires for leg 1 |
end_ |
date | yes | Date the notional amount expires for leg 2 |
fixed_ |
double | yes | Fixed coupon rate for leg 1 as a decimal (e.g. 0.036515 = 3.6515%) |
fixed_ |
double | yes | Fixed coupon rate for leg 2 as a decimal |
fixed_ |
string | yes | Day count convention for fixed leg 1 (A004=ACT/360, A006=30/360, etc.) |
fixed_ |
string | yes | Day count convention for fixed leg 2 |
floating_ |
string | yes | Day count convention for floating leg 1 |
floating_ |
string | yes | Day count convention for floating leg 2 |
floating_ |
string | yes | Reset period unit for floating leg 1 (MNTH, WEEK, YEAR, EXPI, etc.) |
floating_ |
string | yes | Reset period unit for floating leg 2 |
floating_ |
double | yes | Multiplier for reset frequency period leg 1 |
floating_ |
double | yes | Multiplier for reset frequency period leg 2 |
fixed_ |
string | yes | Payment frequency period unit for fixed leg 1 |
fixed_ |
string | yes | Payment frequency period unit for fixed leg 2 |
floating_ |
string | yes | Payment frequency period unit for floating leg 1 |
floating_ |
string | yes | Payment frequency period unit for floating leg 2 |
fixed_ |
double | yes | Payment frequency multiplier for fixed leg 1 |
fixed_ |
double | yes | Payment frequency multiplier for fixed leg 2 |
floating_ |
double | yes | Payment frequency multiplier for floating leg 1 |
floating_ |
double | yes | Payment frequency multiplier for floating leg 2 |
spread_ |
double | yes | Spread over floating index for leg 1 (basis points or decimal per convention) |
spread_ |
double | yes | Spread over floating index for leg 2 |
spread_ |
string | yes | Currency of spread leg 1 |
spread_ |
string | yes | Currency of spread leg 2 |
spread_ |
string | yes | Notation for spread leg 1 (ABSC=absolute, PRCT=percent) |
spread_ |
string | yes | Notation for spread leg 2 |
price |
double | yes | Transaction price (commodity/equity swaps) |
price_ |
string | yes | Unit of measure for price |
price_ |
string | yes | Currency of price |
price_ |
string | yes | Price notation type |
post_ |
boolean | yes | True if the price is determined after execution |
option_ |
string | yes | CALL, PUT, OTHR — option type for swaptions/options |
option_ |
string | yes | EURO=European, AMER=American, BERM=Bermudan |
strike_ |
double | yes | Strike price for options/swaptions |
strike_ |
string | yes | Currency or currency pair of the strike price |
strike_ |
string | yes | Notation type for strike price |
embedded_ |
string | yes | Type of embedded option (callable, putable, etc.) |
option_ |
double | yes | Premium paid for the option |
option_ |
string | yes | Currency of the option premium |
exchange_ |
double | yes | Agreed exchange rate for FX swaps/forwards |
exchange_ |
string | yes | Basis for the exchange rate quotation |
call_ |
double | yes | Call leg notional for FX swaps |
call_ |
string | yes | Currency of the call leg |
put_ |
double | yes | Put leg notional for FX swaps |
put_ |
string | yes | Currency of the put leg |
underlier_ |
string | yes | Identifier of the underlier for leg 1 (ISIN, index ticker, etc.) |
underlier_ |
string | yes | Identifier of the underlier for leg 2 |
underlier_ |
string | yes | Identification scheme for underlier ID leg 1 (ISIN, INDX, etc.) |
underlying_ |
string | yes | Human-readable name of the underlier (e.g. 'CDX.NA.IG', 'WTI Crude') |
underlying_ |
string | yes | Subtype classification of the underlier leg 1 |
underlying_ |
string | yes | Subtype classification of the underlier leg 2 |
maturity_ |
string | yes | Maturity of the underlying instrument |
other_ |
double | yes | Additional payment (e.g. upfront fee, points) |
other_ |
string | yes | Type of other payment (UPFR=upfront, UFRO=upfront from other) |
other_ |
string | yes | Currency of other payment |
settlement_ |
string | yes | Settlement currency for leg 1 |
settlement_ |
string | yes | Settlement currency for leg 2 |
settlement_ |
string | yes | Settlement location/CCP (e.g. CME, LCH, ICE) |
collateralisation_ |
string | yes | FLCL=fully collateralised, PRCL=partially, UNCL=uncollateralised |
delivery_ |
string | yes | PHYS=physical delivery, CASH=cash settlement, OPTL=optional |
physical_ |
string | yes | Delivery point for commodity/physical swaps |
package_ |
boolean | yes | True if this trade is part of a multi-leg package transaction |
package_ |
double | yes | Price of the package as a whole |
package_ |
string | yes | Currency of the package price |
package_ |
string | yes | Notation for package price |
package_ |
double | yes | Spread component of the package transaction |
package_ |
string | yes | Currency of the package spread |
package_ |
string | yes | Notation for package spread |
non_ |
boolean | yes | True if the trade contains non-standard bespoke terms |
custom_ |
boolean | yes | True if underlier is a custom basket |
index_ |
double | yes | Current index factor for ABS/MBS underliers |
asset_ |
string | no | DTCC asset-class partition, from the source file split — RATES, CREDITS, FOREX, EQUITIES, COMMODITIES. Drives the download URL and the Iceberg partition (no source mapping; populated from the partition dimension). See asset_class_code for the CFTC short code (IR/CR/FX/EQ/CO) carried in the data rows. |
trade_ |
date | no | Calendar date of the trade — the date portion of Event timestamp. Populated by CftcTradeDateTransformer (the DATE writer can't parse the full timestamp string, so the transformer emits a clean YYYY-MM-DD into the 'trade_date' field, which this column maps). |
year |
integer | no | Calendar year (partition key) |
month |
integer | no | Calendar month 1-12 (partition key) |
rate_swaps · view¶
Interest rate swaps filtered view. Covers vanilla IRS, OIS (SOFR, EFFR), basis swaps, cross-currency swaps, and swaptions in the RATES asset class. Key columns: fixed_rate_leg1/leg2 (coupon as decimal), floating_rate_reset_freq_period_leg1 (EXPI=at-expiry OIS, MNTH=monthly reset), settlement_location (LCH, CME, etc.), upi_underlier_name (e.g. 'USD-SOFR-COMPOUND'). Filter action_type = 'NEWT' for new executions only.
View — columns are resolved by the query engine at runtime.
credit_default_swaps · view¶
Credit default swaps filtered view. Covers single-name CDS and CDS index products (CDX.NA.IG, CDX.NA.HY, iTraxx). Key columns: spread_leg1 (running spread in bps), fixed_rate_leg1 (standard coupon — typically 100bps IG or 500bps HY), underlying_asset_name (reference entity or index name), underlier_id_leg1 (ISIN or index identifier). Filter action_type = 'NEWT' AND cleared = 'Y' for cleared index CDS activity.
View — columns are resolved by the query engine at runtime.
fx_derivatives · view¶
FX derivatives filtered view. Covers FX swaps, cross-currency swaps, FX forwards, FX options, and NDFs. Key columns: notional_currency_leg1/leg2 (currency pair), exchange_rate (agreed FX rate), call_amount/put_amount (for FX options), option_type (CALL/PUT), strike_price (option strike rate). The notional_currency_leg1 and notional_currency_leg2 pair identifies the currency pair (e.g. USD/EUR).
View — columns are resolved by the query engine at runtime.
equity_derivatives · view¶
Equity derivatives filtered view. Covers total return swaps (TRS), equity options, variance swaps, and correlation swaps. Key columns: underlying_asset_name (single stock or index name), underlier_id_leg1 (ISIN or index ticker), price (equity price at execution), strike_price (for options), option_type/option_style.
View — columns are resolved by the query engine at runtime.
commodity_derivatives · view¶
Commodity derivatives filtered view. Covers energy swaps (crude oil, nat gas, power), agricultural swaps, and metals swaps. Key columns: notional_quantity_leg1 (physical quantity), quantity_unit_of_measure_leg1 (BBL=barrels, MMBTU=gas, MWH=power), price/price_unit_of_measure (commodity price), physical_delivery_location_leg1 (delivery hub — e.g. Henry Hub, NYMEX WTI), delivery_type (PHYS vs CASH).
View — columns are resolved by the query engine at runtime.
swap_activity · view¶
Daily swap activity summary across all asset classes. Columns: trade_date, asset_class (RATES/CREDITS/FOREX/EQUITIES/COMMODITIES), action_type (NEWT/AMND/TERM/CORR), cleared (Y/N/I), trade_count (number of swap events), total_usd_notional (USD-equivalent notional — uses leg1 if USD, leg2 if not; approximate for cross-currency), cleared_count (cleared='Y') / uncleared_count (cleared='N'). Primary dashboard for market activity monitoring, clearing adoption rates, and daily volume surveillance. Filter action_type = 'NEWT' for execution-only volumes.
View — columns are resolved by the query engine at runtime.
clearing_activity · view¶
Cleared swap activity by CCP. Columns: trade_date, asset_class, settlement_location (CCP name — LCH, CME, ICE), cleared_trade_count, total_notional. Enables CCP market share analysis and clearing mandate compliance monitoring by asset class.
View — columns are resolved by the query engine at runtime.