fixparser
Version:
FIX.Latest / 5.0 SP2 Parser / AI Agent Trading
187 lines (186 loc) • 6.95 kB
TypeScript
/**
* The unit of measure of the underlying commodity upon which the contract is based. Two groups of units of measure enumerations are supported.
Fixed Magnitude UOMs are primarily used in energy derivatives and specify a magnitude (such as, MM, Kilo, M, etc.) and the dimension (such as, watt hours, BTU's) to produce standard fixed measures (such as MWh - Megawatt-hours, MMBtu - One million BTUs).
The second group, Variable Quantity UOMs, specifies the dimension as a single unit without a magnitude (or more accurately a magnitude of one) and uses the UnitOfMeasureQty(1147) field to define the quantity of units per contract. Variable Quantity UOMs are used for both commodities (such as lbs of lean cattle, bushels of corn, ounces of gold) and financial futures.
Examples:
For lean cattle futures contracts, a UnitOfMeasure of 'lbs' with a UnitOfMeasureQty(1147) of 40,000, means each lean cattle futures contract represents 40,000 lbs of lean cattle.
For Eurodollars futures contracts, a UnitOfMeasure of Ccy with a UnitOfMeasureCurrency(1716) of USD and a UnitOfMeasureQty(1147) of 1,000,000, means a Eurodollar futures contract represents 1,000,000 USD.
For gold futures contracts, a UnitOfMeasure is oz_tr (Troy ounce) with a UnitOfMeasureQty(1147) of 1,000, means each gold futures contract represents 1,000 troy ounces of gold.
* - Tag: 996
* - FIX Specification type: String
* - Mapped type: string
* @readonly
* @public
*/
export declare const UnitOfMeasure: Readonly<{
/** Billion cubic feet */
readonly BillionCubicFeet: "Bcf";
/** Allowances */
readonly Allowances: "Alw";
/** Cubic Meters */
readonly CubicMeters: "CBM";
/** Barrels
Equal to 42 US gallons */
readonly Barrels: "Bbl";
/** gigajoules */
readonly Gigajoules: "GJ";
/** Board feet
Equal to 144 cubic inches */
readonly BoardFeet: "BDFT";
/** Heat rate
The number of BTUs required to produce one kilowatt hour of electricity, typically 3,412.14 BTUs per 1 kWh. */
readonly HeatRate: "kHR";
/** Bushels */
readonly Bushels: "Bu";
/** Kilowatt hours */
readonly KilowattHours: "kWh";
/** Amount of currency */
readonly Currency: "Ccy";
/** Mega heat rate
The number of million BTUs required to produce one megawatt hour of electricity, typically 3.41214 million BTUs per 1 MWh. */
readonly MegaHeatRate: "MHR";
/** Cooling degree day */
readonly CoolingDegreeDay: "CDD";
/** One Million BTU */
readonly OneMillionBTU: "MMBtu";
/** Certified emissions reduction */
readonly CertifiedEmissionsReduction: "CER";
/** Megawatt hours */
readonly MegawattHours: "MWh";
/** Critical precipitation day */
readonly CriticalPrecipDay: "CPD";
/** therms
Equal to 100,000 BTU */
readonly Therms: "thm";
/** Climate reserve tonnes */
readonly ClimateReserveTonnes: "CRT";
/** Tons of carbon dioxide */
readonly TonsOfCarbonDioxide: "tnCO2";
/** Hundredweight(US)
Equal to 100 lbs */
readonly Hundredweight: "cwt";
/** Days */
readonly Day: "day";
/** Dry metric tons */
readonly DryMetricTons: "dt";
/** Environmental allowance certificates */
readonly EnvAllwncCert: "EnvAllwnc";
/** Environmental credit */
readonly EnvironmentalCredit: "EnvCrd";
/** Environmental Offset */
readonly EnvironmentalOffset: "EnvOfst";
/** Grams */
readonly Grams: "g";
/** Gallons */
readonly Gallons: "Gal";
/** Gross tons
Also known as long tons or imperial tons, equal to 2240 lbs */
readonly GrossTons: "GT";
/** Heating degree day */
readonly HeatingDegreeDay: "HDD";
/** Index point */
readonly IndexPoint: "IPNT";
/** Kilograms */
readonly Kilograms: "kg";
/** kiloliters */
readonly Kiloliters: "kL";
/** Kilowatt year (electrical capacity) */
readonly KilowattYear: "kW-a";
/** Kilowatt day (electrical capacity) */
readonly KilowattDay: "kW-d";
/** Kilowatt hour (electrical capacity) */
readonly KilowattHour: "kW-h";
/** Kilowatt month (electrical capacity) */
readonly KilowattMonth: "kW-M";
/** Kilowatt-Minute (electrical capacity) */
readonly KilowattMinute: "kW-min";
/** liters */
readonly Liters: "L";
/** pounds */
readonly Pounds: "lbs";
/** Megawatt year (electrical capacity) */
readonly MegawattYear: "MW-a";
/** Megawatt day (electrical capacity) */
readonly MegawattDay: "MW-d";
/** Megawatt hour (electrical capacity) */
readonly MegawattHour: "MW-h";
/** Megawatt month (electrical capacity) */
readonly MegawattMonth: "MW-M";
/** Megawatt minute (electrical capacity) */
readonly MegawattMinute: "MW-min";
/** Troy ounces */
readonly TroyOunces: "oz_tr";
/** Principal with relation to debt instrument */
readonly PrincipalWithRelationToDebtInstrument: "PRINC";
/** Metric tons
Also known as Tonnes, equal to 1000 kg */
readonly MetricTons: "t";
/** Tons (US)
Equal to 2000 lbs */
readonly Tons: "tn";
/** Are */
readonly Are: "a";
/** Acre */
readonly Acre: "ac";
/** Centiliter */
readonly Centiliter: "cL";
/** Centimeter */
readonly Centimeter: "cM";
/** Diesel gallon equivalent */
readonly DieselGallonEquivalent: "DGE";
/** Foot */
readonly Foot: "ft";
/** GB Gallon */
readonly GBGallon: "Gal_gb";
/** Gasonline gallon equivalent */
readonly GasolineGallonEquivalent: "GGE";
/** Hectare */
readonly Hectare: "ha";
/** Inch */
readonly Inch: "in";
/** Kilometer */
readonly Kilometer: "kM";
/** Meter */
readonly Meter: "M";
/** Mile */
readonly Mile: "mi";
/** Milliliter */
readonly Milliliter: "mL";
/** Millimeter */
readonly Millimeter: "mM";
/** US ounce */
readonly USOunce: "oz";
/** Piece */
readonly Piece: "pc";
/** US Pint */
readonly USPint: "pt";
/** GB pint */
readonly GBPint: "pt_gb";
/** US Quart */
readonly USQuart: "qt";
/** GB Quart */
readonly GBQuart: "qt_gb";
/** Square centimeter */
readonly SquareCentimeter: "SqcM";
/** Square foot */
readonly SquareFoot: "Sqft";
/** Square inch */
readonly SquareInch: "Sqin";
/** Square kilometer */
readonly SquareKilometer: "SqkM";
/** Square meter */
readonly SquareMeter: "SqM";
/** Square mile */
readonly SquareMile: "Sqmi";
/** Square millimeter */
readonly SquareMillimeter: "SqmM";
/** Square yard */
readonly SquareYard: "Sqyd";
/** Yard */
readonly Yard: "yd";
/** Million Barrels */
readonly MillionBarrels: "MMbbl";
/** US Dollars */
readonly USDollars: "USD";
}>;
export type UnitOfMeasure = (typeof UnitOfMeasure)[keyof typeof UnitOfMeasure];