The sample monitor is very simple. It just logs all
StockTick events. The content of the
StockTick event is not relevant when matching. See
Example of a simple monitor. However, you can filter events according to their content. To alter the example so that the monitor logs only
StockTick events for a given stock, you must specify a filter on the first field in the event template. For example, suppose you want to log only
ACME stock ticks. You need to change the following line: