pub enum BasicType {
Show 29 variants
Amt,
Boolean,
Char,
Country,
Currency,
Data,
Exchange,
Float,
Int,
Language,
Length,
LocalMktDate,
MonthYear,
MultipleCharValue,
MultipleStringValue,
NumInGroup,
Percentage,
Price,
PriceOffset,
Qty,
SeqNum,
String,
Tenor,
TzTimeOnly,
TzTimestamp,
UtcDateOnly,
UtcTimeOnly,
UtcTimestamp,
XmlData,
}Expand description
Basic data types defined in the FIX protocol.
These types define the format and validation rules for FIX field values. Each field in a FIX message is associated with one of these types.
Variants§
Amt
Amount (decimal number with specific precision)
Boolean
Boolean value (Y/N)
Char
Single character
Country
Country code (ISO 3166)
Currency
Currency code (ISO 4217)
Data
Raw binary data
Exchange
Exchange identifier
Float
Floating point number
Int
Integer number (renamed from LONG in some dictionaries)
Language
Language identifier (ISO 639-1)
Length
Binary data length
LocalMktDate
Local market date (YYYYMMDD)
MonthYear
Month and year (YYYYMM or YYYYMMDD or YYYYMMWW)
MultipleCharValue
Multiple character value (space-delimited)
MultipleStringValue
Multiple string value (space-delimited)
NumInGroup
Number of entries in a repeating group
Percentage
Percentage value
Price
Price value (decimal number with specific precision)
PriceOffset
Price offset value
Qty
Quantity value (decimal number with specific precision)
SeqNum
Sequence number
String
Character string (non-binary)
Tenor
FX tenor expression ([DMWY]\d+, e.g. D5, M3, W13, Y1)
TzTimeOnly
Time with timezone
TzTimestamp
Timestamp with timezone
UtcDateOnly
UTC date (YYYYMMDD)
UtcTimeOnly
UTC time (HH:MM:SS.sss)
UtcTimestamp
UTC timestamp (YYYYMMDD-HH:MM:SS.sss)
XmlData
XML data