MsgInfoExtractor block

The MsgInfoExtractor block extracts user-specified fields contained within a received discrete message. It is commonly used to access details about the event that generated the message. When a new discrete event message triggers the MsgInfoExtractor block, the block will use the subsequent message to update the values of the specified fields.
The MsgInfoExtractor block works as follows:
-
A discrete event message
through the input port triggers the MsgInfoExtractor block.
-
When triggered, the MsgInfoExtractor block extracts the specified values contained within the input
message.
-
After the extracting the specified values, the MsgInfoExtractor block:
- Passes the original input message
unchanged through its upper-right discrete event message port. - Sends each desired value from market data snapshot through the selected output connectors.
- Passes the original input message
Example: The MsgInfo Extractor block, configured to extract the fill quantity and fill price receives a discrete event message representing a fill from the Order block. The MsgInfo Extractor block extracts the fill quantity and fill price from the fill discrete message then outputs each and passes the fill discrete message to downstream logic.

Block properties
To change default block properties, modify the desired values in the Block Properties panel.
| Property | Description |
|---|---|
| Name | Name to display beneath the block on the ADL canvas |
| Connectors |
Values from a message block to expose as output ports, including:
For each value you select, a corresponding connector is added to the block’s outputs. Note: While you can choose to display any or all of the output connectors, they will provide meaningful output on if the information is present in the incoming discrete event message. |
| Description | Optional text to explain how the block is used |