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.
Name | |
---|---|
void | onQuoteRecap(MamdaSubscription subscription, MamdaQuoteListener listener, MamaMsg msg, MamdaQuoteRecap recap) Method invoked when the current last-quote information for the security is available. The reason for the invocation may be any of the following: |
void | onQuoteUpdate(MamdaSubscription subscription, MamdaQuoteListener listener, MamaMsg msg, MamdaQuoteUpdate update, MamdaQuoteRecap recap) Method invoked when a quote update arrives. |
void | onQuoteGap(MamdaSubscription subscription, MamdaQuoteListener listener, MamaMsg msg, MamdaQuoteGap gap, MamdaQuoteRecap recap) Method invoked when a gap in quote updates is discovered. |
void | onQuoteClosing(MamdaSubscription subscription, MamdaQuoteListener listener, MamaMsg msg, MamdaQuoteClosing closingEvent, MamdaQuoteRecap recap) Method invoked for a quote closing summary. |
void onQuoteRecap(
MamdaSubscription subscription,
MamdaQuoteListener listener,
MamaMsg msg,
MamdaQuoteRecap recap
)
Method invoked when the current last-quote information for the security is available. The reason for the invocation may be any of the following:
Parameters:
recap Access to the current value of all fields.
void onQuoteUpdate(
MamdaSubscription subscription,
MamdaQuoteListener listener,
MamaMsg msg,
MamdaQuoteUpdate update,
MamdaQuoteRecap recap
)
Method invoked when a quote update arrives.
Parameters:
void onQuoteGap(
MamdaSubscription subscription,
MamdaQuoteListener listener,
MamaMsg msg,
MamdaQuoteGap gap,
MamdaQuoteRecap recap
)
Method invoked when a gap in quote updates is discovered.
Parameters:
void onQuoteClosing(
MamdaSubscription subscription,
MamdaQuoteListener listener,
MamaMsg msg,
MamdaQuoteClosing closingEvent,
MamdaQuoteRecap recap
)
Method invoked for a quote closing summary.
Parameters:
Updated on 2023-03-31 at 15:30:13 +0100