FifteenMinuteGettingStarted

Skip to end of metadata
Go to start of metadata

Get Started using OpenFAST in Fifteen Minutes

  • Load or Create Message Templates
    • Using FAST Templates defined in XML
    • Using Hardcoded Templates
  • Set up Message Streams
    • Using Standard IO Streams
    • Through Session Control Protocol (separate page)
  • Create and Read Messages

Loading XML FAST Templates

Use the XMLMessageTemplateLoader to load template from an XML template file or other XML input stream source.

See also:

Creating Hardcoded Templates

Scalar Fields
Singleton pre-defined types and operators are defined in the classes Type and Operator. Use these to construct scalar fields. An optional unsigned integer field named "quantity" with a copy operator can be defined as:

A field with a default value can be set up as:

Group Fields
To create a quote group with two scalars bid and ask

Sequence Fields
To create a sequence of parties

Message Template
Putting it all together:

Setting up Message Streams

To create an input stream and register a single template:

Output to file:

Creating and reading messages

Reading messages:

Creating messages:

See also:

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.