The MsgInfo Extractor Block is commonly used to take a snapshot of information that may be constantly changing in the market, such as the bid quantity of a given instrument. By taking a snapshot, the user can capture the information at a single moment in time and use the "frozen" information later on even if the market continues to change. However, when a new discrete event message triggers the MsgInfo Extractor Block, the block will replace the old snapshot with a new one.
The MsgInfo Extractor Block works as follows:
A discrete event message triggers the MsgInfo Extractor Block.
When triggered, the MsgInfo Extractor Block takes a "snapshot" of the specified values contained within the input .
After the taking the snapshot, the MsgInfo Extractor Block:
Sends each selected message value through its corresponding output port.
To change default block settings, double-click the block to open the Block Editor.
|Name||Name to display beneath the block on the ADL canvas|
|BodyColor||Background color of the block|
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.
|Description||Optional text to explain how the block is used|