Discrete blocks

Discrete blocks

Funnel block

The Funnel block accepts multiple discrete event message input ports (in1, in2, in3) and simply passes them through, unchanged, as the discrete event message.

ADL does not allow multiple entries into a single input of a single block but the Funnel block makes it possible to do so; note, however, that the messages will not pass through the block simultaneously since discrete event messages are always processed sequentially, one stream at a time.

ADL normally does not allow multiple connections into a single discrete input. For instance, in the illustration shown below, the user is attempting to accumulate the trade quantities generated from two separate instruments into a single Value Accumulator block. However, the attempted connection is prohibited by ADL.

However, by using the Funnel block, you can make multiple connections into the Value Accumulator block. But, two separate discrete event messages generated by each of the two instruments will never pass through the Funnel block simultaneously. Even if both instruments trade at the same time, the corresponding discrete event messages will be generated and output sequentially, one after the other.

Block properties

To customize the block, update the Block Properties.

Property Description
Name Name to display beneath the block on the ADL canvas