Framework Reference
WEALTHLAB FRAMEWORK / CLASS REFERENCE

IStreamingConsumer

API documentation, members, signatures, and C# examples.

Search the framework

Find classes, members, and documentation.

NamespaceWealthLab.Data
Parent

The IStreamingConsumer interface allows a consumer of streaming market data to receive price, size, bid/ask, and heartbeat updates from a Streaming Data Provider.

Members

3

BidAskUpdated

void BidAskUpdated(string symbol, double bid, double ask)

Called when the bid or ask price changes for the specified symbol. The bid and ask parameters contain the current bid and ask prices.

HeartbeatUpdated

void HeartbeatUpdated(DateTime dt)

Called when a heartbeat update is received from the Streaming Data Provider. The dt parameter contains the DateTime associated with the heartbeat.

TickUpdated

void TickUpdated(string symbol, DateTime dt, double price, double size, double prevClose)

Called when a new streaming price update is received for the specified symbol. The dt parameter contains the DateTime of the update, price contains the current price, size contains the size or volume associated with the update, and prevClose contains the symbol's previous closing price.

Need help with this API?

Ask the community or explore custom development services.