fix-sbe
Theme
Text size
GitHub Menu

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#

ValueMeaningDescription
intNoneA whole number
LengthNoneA whole number that counts the octets of another field
TagNumNoneA whole number that is a field’s tag
SeqNumNoneA whole number that orders messages in a session
NumInGroupNoneA whole number that counts the entries of a repeating group
DayOfMonthNoneA whole number from 1 to 31
floatNoneA decimal number
QtyNoneA decimal number that is an amount of something traded
PriceNoneA decimal number that is a price
PriceOffsetNoneA decimal number that is a difference from a price
AmtNoneA decimal number that is a quantity multiplied by a price
PercentageNoneA decimal number that is a proportion, where 0
charNoneOne character
BooleanNoneA character that is Y or N
StringNoneText of any length
MultipleCharValueNoneOne or more single characters, separated by spaces, each chosen from a list
MultipleStringValueNoneOne or more words, separated by spaces, each chosen from a list
CountryNoneA two-letter country code of ISO 3166-1
CurrencyNoneA three-letter currency code of ISO 4217
ExchangeNoneA market identifier code of ISO 10383
MonthYearNoneA year and month, with an optional day or week
UTCTimestampNoneA date and time in UTC
UTCTimeOnlyNoneA time of day in UTC
UTCDateOnlyNoneA calendar date in UTC
LocalMktDateNoneA calendar date in the market’s local time
TZTimeOnlyNoneA time of day with its offset from UTC
TZTimestampNoneA date and time with their offset from UTC
dataNoneRaw octets, whose count a Length field before them gives
PatternNoneText that another field’s value must match
TenorNoneA period expressed as a count of days, weeks, months or years
Reserved100PlusNoneA whole number of 100 or more, kept for values a counterparty defines
Reserved1000PlusNoneA whole number of 1000 or more, kept for values a counterparty defines
Reserved4000PlusNoneA whole number of 4000 or more, kept for values a counterparty defines
XMLDataNoneAn XML document carried as text
LanguageNoneA language code of ISO 639-1
LocalMktTimeNoneA time of day in the market’s local time
XIDNoneAn identifier that is unique within a message
XIDREFNoneA reference to an XID in the same message
EncodedTextNoneText 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#

propertyvalue
sbe_section2: FIX datatype summary

Schema Source#

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.