Enumeration in FIX Simple Binary Encoding (SBE)
SbeFixDatatype
The FIX datatypes a field's or an encoding's semantic type may name: those of FIX Latest, and EncodedText, which the specification's summary table adds.
URI: fix_sbe:enum/SbeFixDatatype
Permissible Values#
| Value | Meaning | Description |
|---|---|---|
| int | None | A whole number |
| Length | None | A whole number that counts the octets of another field |
| TagNum | None | A whole number that is a field’s tag |
| SeqNum | None | A whole number that orders messages in a session |
| NumInGroup | None | A whole number that counts the entries of a repeating group |
| DayOfMonth | None | A whole number from 1 to 31 |
| float | None | A decimal number |
| Qty | None | A decimal number that is an amount of something traded |
| Price | None | A decimal number that is a price |
| PriceOffset | None | A decimal number that is a difference from a price |
| Amt | None | A decimal number that is a quantity multiplied by a price |
| Percentage | None | A decimal number that is a proportion, where 0 |
| char | None | One character |
| Boolean | None | A character that is Y or N |
| String | None | Text of any length |
| MultipleCharValue | None | One or more single characters, separated by spaces, each chosen from a list |
| MultipleStringValue | None | One or more words, separated by spaces, each chosen from a list |
| Country | None | A two-letter country code of ISO 3166-1 |
| Currency | None | A three-letter currency code of ISO 4217 |
| Exchange | None | A market identifier code of ISO 10383 |
| MonthYear | None | A year and month, with an optional day or week |
| UTCTimestamp | None | A date and time in UTC |
| UTCTimeOnly | None | A time of day in UTC |
| UTCDateOnly | None | A calendar date in UTC |
| LocalMktDate | None | A calendar date in the market’s local time |
| TZTimeOnly | None | A time of day with its offset from UTC |
| TZTimestamp | None | A date and time with their offset from UTC |
| data | None | Raw octets, whose count a Length field before them gives |
| Pattern | None | Text that another field’s value must match |
| Tenor | None | A period expressed as a count of days, weeks, months or years |
| Reserved100Plus | None | A whole number of 100 or more, kept for values a counterparty defines |
| Reserved1000Plus | None | A whole number of 1000 or more, kept for values a counterparty defines |
| Reserved4000Plus | None | A whole number of 4000 or more, kept for values a counterparty defines |
| XMLData | None | An XML document carried as text |
| Language | None | A language code of ISO 639-1 |
| LocalMktTime | None | A time of day in the market’s local time |
| XID | None | An identifier that is unique within a message |
| XIDREF | None | A reference to an XID in the same message |
| EncodedText | None | Text in the character set a field beside it names, rather than ASCII |
Comments#
- The list is the datatypes of FIX Latest in FIXTradingCommunity/orchestrations (Apache-2.0), file “FIX Standard/OrchestraFIXLatest.xml” at commit cd24169a2abd8daba7c360987c7a46ca11873a12, in that file’s order, with EncodedText last.
- semantic_type stays free text in the schema, because a message’s holds a MsgType value and the specification suggests matching names ignoring case. tests/sbe_rules.py checks an encoding’s and a field’s against this list.
Identifier and Mapping Information#
Annotations#
| property | value |
|---|---|
| sbe_section | 2: FIX datatype summary |
Schema Source#
- from schema: https://w3id.org/lmodel/fix-sbe
LinkML Source#
YAML
name: SbeFixDatatype
annotations:
sbe_section:
tag: sbe_section
value: '2: FIX datatype summary'
description: 'The FIX datatypes a field''s or an encoding''s semantic type may name:
those of FIX Latest, and EncodedText, which the specification''s summary table adds.'
comments:
- The list is the datatypes of FIX Latest in FIXTradingCommunity/orchestrations (Apache-2.0),
file "FIX Standard/OrchestraFIXLatest.xml" at commit cd24169a2abd8daba7c360987c7a46ca11873a12,
in that file's order, with EncodedText last.
- semantic_type stays free text in the schema, because a message's holds a MsgType
value and the specification suggests matching names ignoring case. tests/sbe_rules.py
checks an encoding's and a field's against this list.
from_schema: https://w3id.org/lmodel/fix-sbe
rank: 1000
permissible_values:
int:
text: int
description: A whole number.
Length:
text: Length
description: A whole number that counts the octets of another field.
TagNum:
text: TagNum
description: A whole number that is a field's tag.
SeqNum:
text: SeqNum
description: A whole number that orders messages in a session.
NumInGroup:
text: NumInGroup
description: A whole number that counts the entries of a repeating group.
DayOfMonth:
text: DayOfMonth
description: A whole number from 1 to 31.
float:
text: float
description: A decimal number.
Qty:
text: Qty
description: A decimal number that is an amount of something traded.
Price:
text: Price
description: A decimal number that is a price.
PriceOffset:
text: PriceOffset
description: A decimal number that is a difference from a price.
Amt:
text: Amt
description: A decimal number that is a quantity multiplied by a price.
Percentage:
text: Percentage
description: A decimal number that is a proportion, where 0.1 is ten percent.
char:
text: char
description: One character.
Boolean:
text: Boolean
description: A character that is Y or N.
String:
text: String
description: Text of any length.
MultipleCharValue:
text: MultipleCharValue
description: One or more single characters, separated by spaces, each chosen from
a list.
MultipleStringValue:
text: MultipleStringValue
description: One or more words, separated by spaces, each chosen from a list.
Country:
text: Country
description: A two-letter country code of ISO 3166-1.
Currency:
text: Currency
description: A three-letter currency code of ISO 4217.
Exchange:
text: Exchange
description: A market identifier code of ISO 10383.
MonthYear:
text: MonthYear
description: A year and month, with an optional day or week.
UTCTimestamp:
text: UTCTimestamp
description: A date and time in UTC.
UTCTimeOnly:
text: UTCTimeOnly
description: A time of day in UTC.
UTCDateOnly:
text: UTCDateOnly
description: A calendar date in UTC.
LocalMktDate:
text: LocalMktDate
description: A calendar date in the market's local time.
TZTimeOnly:
text: TZTimeOnly
description: A time of day with its offset from UTC.
TZTimestamp:
text: TZTimestamp
description: A date and time with their offset from UTC.
data:
text: data
description: Raw octets, whose count a Length field before them gives.
Pattern:
text: Pattern
description: Text that another field's value must match.
Tenor:
text: Tenor
description: A period expressed as a count of days, weeks, months or years.
Reserved100Plus:
text: Reserved100Plus
description: A whole number of 100 or more, kept for values a counterparty defines.
Reserved1000Plus:
text: Reserved1000Plus
description: A whole number of 1000 or more, kept for values a counterparty defines.
Reserved4000Plus:
text: Reserved4000Plus
description: A whole number of 4000 or more, kept for values a counterparty defines.
XMLData:
text: XMLData
description: An XML document carried as text.
Language:
text: Language
description: A language code of ISO 639-1.
LocalMktTime:
text: LocalMktTime
description: A time of day in the market's local time.
XID:
text: XID
description: An identifier that is unique within a message.
XIDREF:
text: XIDREF
description: A reference to an XID in the same message.
EncodedText:
text: EncodedText
description: Text in the character set a field beside it names, rather than ASCII.