Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This topic provides an example of a fully encoded client-to-CME Globex SBE negotiate message for conflated TCP.  For more information regarding conflated TCP functionality consult Conflated TCP Market Data Group Processing page.  

Contents

Table of Contents

SBE Schema 

The following SBE Schema will be used for the SBE encoding example in the next section.

...

</ns2:message>

</ns2:messageSchema>

Encoding Example

The table below shows the elements of a client-to-CME Globex Negotiate message.  The following SBE hexadecimal message will be encoded:

...

Info

CME Globex MDP uses little-endian byte ordering. Therefore, in the example below a hexadecimal value of FE CA is inputted as FE CA in most conversion calculators.

HEXADECIMALTAGNAMETYPEVALUEDESCRIPTION
Technical Header
FE CA-encodingTypeString 2CAFEThis example uses a TCP technical header within the packet structure.
01 00 00 00-MsgSeqNumString 401 
bf 32 c2 5b ff 5f 15 16-SendingTimeString 81591283593706091199The epoch Sending Time value of 1633099253939247451 converts to June 4, 2020 15:13:13.706 UTC
Message Header
58 00-MsgSizeuInt1688MsgSize is the first field in the the SBE message header.
4e 00-BlockLengthuInt1678
c8 00-TemplateIDuInt16200
02 00-SchemaIDuInt162
00-VersionuInt160
SBE Encoded FIX Message
-39003HMACVersionHMACVersionCME-1-SHA-256This value is defined as a constant in the SBE schema and should not be sent on the wire.
00 fa b6 46 9e c9 87 5c d5 5c 3d 59 fb b5 56 b9 d8 89 1c 62 eb 88 7a 3f d1 b0 af 3f 7d 2e 56 38 f739005HMACSignatureString32Req�ú¶FžÉ‡\Õ\=YûµV¹Ø‰bëˆz?Ñ°¯?}.V8÷
45 4a 4d 59 54 69 44 68 68 43 47 4e 51 76 6a 71 47 77 56 6e39004AccessKeyIDString20ReqEJMYTiDhhCGNQvjqGwVn
1e e4 56 95 43 a7 05 0039001UUIDuInt641591283593700382
f8 15 6b 5b ff 5f 15 1639002RequestTimestampuInt641591283593700382200

The epoch Sending Time value of 1591283593700382200 converts to June 4, 2020 15:13:13.700 UTC

4d 44 34 31 4839006SessionString5MD41H
4c 49 53 54 3239007FirmString5LIST2