IBM InfoSphere Streams Version 4.1.1

SPL File CommonTypes.spl

Types

OptionType

OptionType = enum { put, call };

TxType

TxType = enum { buy, sell };

Trade

Trade = timestamp timeStamp, rstring symbol, uint32 index, decimal32 price, uint32 size;

Quote

Quote = timestamp timeStamp, rstring symbol, uint32 index, decimal32 askPrice, uint32 askSize, decimal32 bidPrice, uint32 bidSize;

OptionQuote

OptionQuote = Quote, tuple<decimal32 strikePrice, OptionType optionType, timestamp expirationDate>;

Order

Order = timestamp timeStamp, TxType txType, uint32 size, rstring symbol, uint32 index, enum { market, limitWithExpiry, limitGUC } orderType, decimal32 limitPrice, timestamp limitExpiry;