#include <MamdaFundamentalListener.h>
Inherits from Wombat::MamdaMsgListener, Wombat::MamdaFundamentals, Wombat::MamdaBasicRecap
Name | |
---|---|
MamdaFundamentalListener() | |
virtual | ~MamdaFundamentalListener() |
void | addHandler(MamdaFundamentalHandler * handler) |
virtual const char * | getSymbol() const |
virtual const char * | getPartId() const |
virtual const MamaDateTime & | getSrcTime() const |
virtual const MamaDateTime & | getActivityTime() const |
virtual const MamaDateTime & | getLineTime() const |
virtual const MamaDateTime & | getSendTime() const |
virtual MamdaFieldState | getSymbolFieldState() const |
virtual MamdaFieldState | getPartIdFieldState() const |
virtual MamdaFieldState | getSrcTimeFieldState() const |
virtual MamdaFieldState | getActivityTimeFieldState() const |
virtual MamdaFieldState | getLineTimeFieldState() const |
virtual MamdaFieldState | getSendTimeFieldState() const |
virtual const char * | getCorporateActionType() const |
virtual double | getDividendPrice() const |
virtual const char * | getDividendFrequency() const |
virtual const char * | getDividendExDate() const |
virtual const char * | getDividendPayDate() const |
virtual const char * | getDividendRecordDate() const |
virtual const char * | getDividendCurrency() const |
virtual long | getSharesOut() const getSharesOut return the number of shares. |
virtual long | getSharesFloat() const getSharesFloat return the number of floating shares. |
virtual long | getSharesAuthorized() const getSharesAuthorized return the number of authorized shares. |
virtual double | getEarningsPerShare() const |
virtual double | getVolatility() const |
virtual double | getPriceEarningsRatio() const |
virtual double | getYield() const |
virtual const char * | getMarketSegmentNative() const |
virtual const char * | getMarketSectorNative() const |
virtual const char * | getMarketSegment() const |
virtual const char * | getMarketSector() const |
virtual double | getHistoricalVolatility() const |
virtual double | getRiskFreeRate() const |
virtual mama_u64_t | getSharesOutEx() const getSharesOutEx return the number of shares. |
virtual mama_u64_t | getSharesFloatEx() const getSharesFloatEx return the number of floating shares. |
virtual mama_u64_t | getSharesAuthorizedEx() const getSharesAuthorizedEx return the number of authorized shares. |
virtual MamdaFieldState | getCorporateActionTypeFieldState() const |
virtual MamdaFieldState | getDividendPriceFieldState() const |
virtual MamdaFieldState | getDividendFrequencyFieldState() const |
virtual MamdaFieldState | getDividendExDateFieldState() const |
virtual MamdaFieldState | getDividendPayDateFieldState() const |
virtual MamdaFieldState | getDividendRecordDateFieldState() const |
virtual MamdaFieldState | getDividendCurrencyFieldState() const |
virtual MamdaFieldState | getSharesOutFieldState() const |
virtual MamdaFieldState | getSharesFloatFieldState() const |
virtual MamdaFieldState | getSharesAuthorizedFieldState() const |
virtual MamdaFieldState | getEarningsPerShareFieldState() const |
virtual MamdaFieldState | getVolatilityFieldState() const |
virtual MamdaFieldState | getPriceEarningsRatioFieldState() const |
virtual MamdaFieldState | getYieldFieldState() const |
virtual MamdaFieldState | getMarketSegmentNativeFieldState() const |
virtual MamdaFieldState | getMarketSectorNativeFieldState() const |
virtual MamdaFieldState | getMarketSegmentFieldState() const |
virtual MamdaFieldState | getMarketSectorFieldState() const |
virtual MamdaFieldState | getHistoricalVolatilityFieldState() const |
virtual MamdaFieldState | getRiskFreeRateFieldState() const |
virtual void | onMsg(MamdaSubscription * subscription, const MamaMsg & msg, short msgType) |
Public Functions inherited from Wombat::MamdaMsgListener
Name | |
---|---|
virtual | ~MamdaMsgListener() |
Public Functions inherited from Wombat::MamdaFundamentals
Name | |
---|---|
virtual | ~MamdaFundamentals() |
Public Functions inherited from Wombat::MamdaBasicRecap
Name | |
---|---|
virtual | ~MamdaBasicRecap() |
class Wombat::MamdaFundamentalListener;
MamdaFundamentalListener is a class that specializes in handling fundamental equity pricing/analysis attributes, indicators and ratios. Developers provide their own implementation of the MamdaFundamentalHandler interface and will be delivered notifications for updates in the fundamental data. An obvious application for this MAMDA class is any kind of pricing analysis application.
Note: The MamdaFundamentalListener class caches equity pricing/analysis attributes, indicators and ratios. Among other reasons, caching of these fields makes it possible to provide complete fundamental callbacks, even when the publisher (e.g., feed handler) is only publishing deltas containing modified fields.
MamdaFundamentalListener should initialize the MamdaFundamentalFields class prior to receiving the first message by calling MamdaFundamentalFields::setDictionary() with a valid dictionary object which contains Fundamental related fields.
MamdaFundamentalListener()
virtual ~MamdaFundamentalListener()
void addHandler(
MamdaFundamentalHandler * handler
)
virtual const char * getSymbol() const
Return: Symbol. This is the “well-known” symbol for the security, including any symbology mapping performed by the publisher.
Reimplements: Wombat::MamdaBasicRecap::getSymbol
Get the string symbol for the instrument.
virtual const char * getPartId() const
Return: Participant ID. This may be an exchange identifier, a market maker ID, etc., or NULL (if this is not related to any specific participant).
Reimplements: Wombat::MamdaBasicRecap::getPartId
Get the participant identifier.
virtual const MamaDateTime & getSrcTime() const
Return: Source time. Typically, the exchange generated feed time stamp. This is often the same as the “event time”, because many feeds do not distinguish between the actual event time and when the exchange sent the message.
Reimplements: Wombat::MamdaBasicRecap::getSrcTime
Get the source time of the update.
virtual const MamaDateTime & getActivityTime() const
Return: Activity time. A feed handler generated time stamp representing when the data item was last updated.
Reimplements: Wombat::MamdaBasicRecap::getActivityTime
Get the activity time of the update.
virtual const MamaDateTime & getLineTime() const
Return: Line time. A feed handler (or similar publisher) time stamp representing the time that such publisher received the update message pertaining to the event. If clocks are properly synchronized and the source time (see above) is accurate enough, then the difference between the source time and line time is the latency between the data source and the feed handler.
Reimplements: Wombat::MamdaBasicRecap::getLineTime
Get the line time of the update.
virtual const MamaDateTime & getSendTime() const
Return: Send time. A feed handler (or similar publisher) time stamp representing the time that such publisher sent the current message. The difference between the line time and send time is the latency within the feed handler itself. Also, if clocks are properly synchronized then the difference between the send time and current time is the latency within the market data distribution framework (i.e. MAMA and the underlying middleware). See MAMA API: MamaDateTime::currentTime()).
Reimplements: Wombat::MamdaBasicRecap::getSendTime
Get the send time of the update.
virtual MamdaFieldState getSymbolFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicRecap::getSymbolFieldState
Get the string symbol field state for the instrument.
virtual MamdaFieldState getPartIdFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicRecap::getPartIdFieldState
Get the participant identifier field state.
virtual MamdaFieldState getSrcTimeFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicRecap::getSrcTimeFieldState
Get the source time field state
virtual MamdaFieldState getActivityTimeFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicRecap::getActivityTimeFieldState
Get the activity time field state
virtual MamdaFieldState getLineTimeFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicRecap::getLineTimeFieldState
Get the line time field state
virtual MamdaFieldState getSendTimeFieldState() const
Return: MamdaFieldState. An enumeration representing field state.
Reimplements: Wombat::MamdaBasicRecap::getSendTimeFieldState
Get the send time field state
virtual const char * getCorporateActionType() const
Reimplements: Wombat::MamdaFundamentals::getCorporateActionType
virtual double getDividendPrice() const
Reimplements: Wombat::MamdaFundamentals::getDividendPrice
virtual const char * getDividendFrequency() const
Reimplements: Wombat::MamdaFundamentals::getDividendFrequency
virtual const char * getDividendExDate() const
Reimplements: Wombat::MamdaFundamentals::getDividendExDate
virtual const char * getDividendPayDate() const
Reimplements: Wombat::MamdaFundamentals::getDividendPayDate
virtual const char * getDividendRecordDate() const
Reimplements: Wombat::MamdaFundamentals::getDividendRecordDate
virtual const char * getDividendCurrency() const
Reimplements: Wombat::MamdaFundamentals::getDividendCurrency
virtual long getSharesOut() const
getSharesOut return the number of shares.
Parameters:
Deprecated:
This function is deprecated, use getSharesOutEx instead.
Return: long
Reimplements: Wombat::MamdaFundamentals::getSharesOut
virtual long getSharesFloat() const
getSharesFloat return the number of floating shares.
Parameters:
Deprecated:
This function is deprecated, use getSharesFloatEx instead.
Return: long
Reimplements: Wombat::MamdaFundamentals::getSharesFloat
virtual long getSharesAuthorized() const
getSharesAuthorized return the number of authorized shares.
Parameters:
Deprecated:
This function is deprecated, use getSharesAuthorizedEx instead.
Return: long
Reimplements: Wombat::MamdaFundamentals::getSharesAuthorized
virtual double getEarningsPerShare() const
Reimplements: Wombat::MamdaFundamentals::getEarningsPerShare
virtual double getVolatility() const
Reimplements: Wombat::MamdaFundamentals::getVolatility
virtual double getPriceEarningsRatio() const
Reimplements: Wombat::MamdaFundamentals::getPriceEarningsRatio
virtual double getYield() const
Reimplements: Wombat::MamdaFundamentals::getYield
virtual const char * getMarketSegmentNative() const
Reimplements: Wombat::MamdaFundamentals::getMarketSegmentNative
virtual const char * getMarketSectorNative() const
Reimplements: Wombat::MamdaFundamentals::getMarketSectorNative
virtual const char * getMarketSegment() const
Reimplements: Wombat::MamdaFundamentals::getMarketSegment
virtual const char * getMarketSector() const
Reimplements: Wombat::MamdaFundamentals::getMarketSector
virtual double getHistoricalVolatility() const
Reimplements: Wombat::MamdaFundamentals::getHistoricalVolatility
virtual double getRiskFreeRate() const
Reimplements: Wombat::MamdaFundamentals::getRiskFreeRate
virtual mama_u64_t getSharesOutEx() const
getSharesOutEx return the number of shares.
Parameters:
Return: mama_u64_t
Reimplements: Wombat::MamdaFundamentals::getSharesOutEx
virtual mama_u64_t getSharesFloatEx() const
getSharesFloatEx return the number of floating shares.
Parameters:
Return: mama_u64_t
Reimplements: Wombat::MamdaFundamentals::getSharesFloatEx
virtual mama_u64_t getSharesAuthorizedEx() const
getSharesAuthorizedEx return the number of authorized shares.
Parameters:
Return: mama_u64_t
Reimplements: Wombat::MamdaFundamentals::getSharesAuthorizedEx
virtual MamdaFieldState getCorporateActionTypeFieldState() const
Reimplements: Wombat::MamdaFundamentals::getCorporateActionTypeFieldState
virtual MamdaFieldState getDividendPriceFieldState() const
Reimplements: Wombat::MamdaFundamentals::getDividendPriceFieldState
virtual MamdaFieldState getDividendFrequencyFieldState() const
Reimplements: Wombat::MamdaFundamentals::getDividendFrequencyFieldState
virtual MamdaFieldState getDividendExDateFieldState() const
Reimplements: Wombat::MamdaFundamentals::getDividendExDateFieldState
virtual MamdaFieldState getDividendPayDateFieldState() const
Reimplements: Wombat::MamdaFundamentals::getDividendPayDateFieldState
virtual MamdaFieldState getDividendRecordDateFieldState() const
Reimplements: Wombat::MamdaFundamentals::getDividendRecordDateFieldState
virtual MamdaFieldState getDividendCurrencyFieldState() const
Reimplements: Wombat::MamdaFundamentals::getDividendCurrencyFieldState
virtual MamdaFieldState getSharesOutFieldState() const
Reimplements: Wombat::MamdaFundamentals::getSharesOutFieldState
virtual MamdaFieldState getSharesFloatFieldState() const
Reimplements: Wombat::MamdaFundamentals::getSharesFloatFieldState
virtual MamdaFieldState getSharesAuthorizedFieldState() const
Reimplements: Wombat::MamdaFundamentals::getSharesAuthorizedFieldState
virtual MamdaFieldState getEarningsPerShareFieldState() const
Reimplements: Wombat::MamdaFundamentals::getEarningsPerShareFieldState
virtual MamdaFieldState getVolatilityFieldState() const
Reimplements: Wombat::MamdaFundamentals::getVolatilityFieldState
virtual MamdaFieldState getPriceEarningsRatioFieldState() const
Reimplements: Wombat::MamdaFundamentals::getPriceEarningsRatioFieldState
virtual MamdaFieldState getYieldFieldState() const
Reimplements: Wombat::MamdaFundamentals::getYieldFieldState
virtual MamdaFieldState getMarketSegmentNativeFieldState() const
Reimplements: Wombat::MamdaFundamentals::getMarketSegmentNativeFieldState
virtual MamdaFieldState getMarketSectorNativeFieldState() const
Reimplements: Wombat::MamdaFundamentals::getMarketSectorNativeFieldState
virtual MamdaFieldState getMarketSegmentFieldState() const
Reimplements: Wombat::MamdaFundamentals::getMarketSegmentFieldState
virtual MamdaFieldState getMarketSectorFieldState() const
Reimplements: Wombat::MamdaFundamentals::getMarketSectorFieldState
virtual MamdaFieldState getHistoricalVolatilityFieldState() const
Reimplements: Wombat::MamdaFundamentals::getHistoricalVolatilityFieldState
virtual MamdaFieldState getRiskFreeRateFieldState() const
Reimplements: Wombat::MamdaFundamentals::getRiskFreeRateFieldState
virtual void onMsg(
MamdaSubscription * subscription,
const MamaMsg & msg,
short msgType
)
Exceptions:
Reimplements: Wombat::MamdaMsgListener::onMsg
Implementation of MamdaListener interface.
Updated on 2023-03-31 at 15:29:57 +0100