Application Samples

Overview

This group of samples includes EventFlow applications that focus on basic StreamBase functionality and solving business problems.

  • The Authentication Sample — Demonstrates what happens when you enable StreamBase authentication and then try to use several sb* StreamBase commands, such as sbadmin shutdown.

  • Best Bids and Asks Sample — Shows an example of a common stock trading application that tracks the highest bid price and lowest ask price for each stock.

  • BollingerBand Sample — Shows an example of a common analytical tool that provides a relative definition of high and low bands in securities trading.

  • Compliance Sample — Shows an example of a common stock fund application, where the StreamBase operators are used to ensure that funds are in compliance with their business requirements.

  • Error Streams Sample — Demonstrates how to use Error Ports and Streams.

  • FeedProc Sample — Shows an example of application that processes financial tick data from three financial feeds, performing various useful computations on the data.

  • MACD Sample — Shows an example of a momentum indicator: a program that follows trends and shows the relationship between two moving averages of prices.

  • Output Filtering Sample — demonstrates the use of output filtering to allow StreamBase client applications to receive only the tuples that they are supposed to receive, based on a keyword.

  • Round Robin Dequeuer Samples — demonstrates the use of round robin robin dequeuer applications, which control the destination of output tuples based on the connected clients, so that each output message is delivered to a single, subscribed client.