Classes Files

com::wombat::mamda::MamdaQuoteHandler

More…

Public Functions

  Name
void onQuoteRecap(MamdaSubscription subscription, MamdaQuoteListener listener, MamaMsg msg, MamdaQuoteRecap recap)
void onQuoteUpdate(MamdaSubscription subscription, MamdaQuoteListener listener, MamaMsg msg, MamdaQuoteUpdate event, MamdaQuoteRecap recap)
void onQuoteGap(MamdaSubscription subscription, MamdaQuoteListener listener, MamaMsg msg, MamdaQuoteGap event, MamdaQuoteRecap recap)
void onQuoteClosing(MamdaSubscription subscription, MamdaQuoteListener listener, MamaMsg msg, MamdaQuoteClosing event, MamdaQuoteRecap recap)

Detailed Description

class com::wombat::mamda::MamdaQuoteHandler;

MamdaQuoteHandler is an interface for applications that want to have an easy way to handle quote updates. The interface defines callback methods for different types of quote-related events: quotes and closing-quote updates.

Public Functions Documentation

function onQuoteRecap

void onQuoteRecap(
    MamdaSubscription subscription,
    MamdaQuoteListener listener,
    MamaMsg msg,
    MamdaQuoteRecap recap
)

Parameters:

  • subscription The MamdaSubscription handle.
  • listener The MamdaSubscription handle.
  • msg The MamaMsg that triggered this invocation.
  • recap Access to the current value of all fields.

Method invoked when the current last-quote information for the security is available. The reason for the invocation may be any of the following:

  • Initial image.
  • Recap update (e.g., after server fault tolerant event or data quality event.)
  • After stale status removed.

function onQuoteUpdate

void onQuoteUpdate(
    MamdaSubscription subscription,
    MamdaQuoteListener listener,
    MamaMsg msg,
    MamdaQuoteUpdate event,
    MamdaQuoteRecap recap
)

Parameters:

Method invoked when a quote update arrives.

function onQuoteGap

void onQuoteGap(
    MamdaSubscription subscription,
    MamdaQuoteListener listener,
    MamaMsg msg,
    MamdaQuoteGap event,
    MamdaQuoteRecap recap
)

Parameters:

Method invoked when a gap in quote updates is discovered.

function onQuoteClosing

void onQuoteClosing(
    MamdaSubscription subscription,
    MamdaQuoteListener listener,
    MamaMsg msg,
    MamdaQuoteClosing event,
    MamdaQuoteRecap recap
)

Parameters:

Method invoked for a quote closing summary.


Updated on 2023-03-31 at 15:30:33 +0100