com.wombat.mamda
public class MamdaFundamentalListener extends java.lang.Object implements MamdaMsgListener, MamdaFundamentals
Constructor and Description |
---|
MamdaFundamentalListener()
Create a specialized fundamental field listener.
|
Modifier and Type | Method and Description |
---|---|
void |
addHandler(MamdaFundamentalHandler handler)
Add a specialized fundamentals handler.
|
com.wombat.mama.MamaDateTime |
getActivityTime()
Activity time.
|
short |
getActivityTimeFieldState() |
java.lang.String |
getCorporateActionType()
Corporate Action Type.
|
short |
getCorporateActionTypeFieldState() |
java.lang.String |
getDividendCurrency()
Currency of dividend.
|
short |
getDividendCurrencyFieldState() |
java.lang.String |
getDividendExDate()
The date on or after which a security is traded without a
previously declared dividend or distribution.
|
short |
getDividendExDateFieldState() |
java.lang.String |
getDividendFrequency()
Frequency of the dividend payments.
|
short |
getDividendFrequencyFieldState() |
java.lang.String |
getDividendPayDate()
Date on which corporate action distribution will be paid or
effective.
|
short |
getDividendPayDateFieldState() |
double |
getDividendPrice()
Dividend price.
|
short |
getDividendPriceFieldState() |
java.lang.String |
getDividendRecordDate()
This is the date on which all shareholders are considered a
"holder of record" and ensured the right of a dividend or distribution.
|
short |
getDividendRecordDateFieldState() |
double |
getEarningsPerShare()
Earnings per share, including common stock, preferred stock,
unexercised stock options, unexercised warrants, and some
convertible debt.
|
short |
getEarningsPerShareFieldState() |
double |
getHistoricalVolatility()
Volatility estimated from historical data
|
short |
getHistoricalVolatilityFieldState() |
com.wombat.mama.MamaDateTime |
getLineTime()
Get the line time of the update.
|
short |
getLineTimeFieldState() |
java.lang.String |
getMarketSector()
A distinct subset of a market, society, industry, or economy,
whose components share similar characteristics
|
short |
getMarketSectorFieldState() |
java.lang.String |
getMarketSectorNative()
Feed-specific market sector code in native feed format.
|
short |
getMarketSectorNativeFieldState() |
java.lang.String |
getMarketSegment()
Market subgroup.
|
short |
getMarketSegmentFieldState() |
java.lang.String |
getMarketSegmentNative()
Feed-specific market segment code in native feed format.
|
short |
getMarketSegmentNativeFieldState() |
java.lang.String |
getPartId()
Get the participant identifier.
|
short |
getPartIdFieldState() |
double |
getPriceEarningsRatio()
The most common measure of how expensive a stock is.
|
short |
getPriceEarningsRatioFieldState() |
double |
getRiskFreeRate()
Theoretical interest rate at which an investment may earn
interest without incurring any risk
|
short |
getRiskFreeRateFieldState() |
com.wombat.mama.MamaDateTime |
getSendTime()
Get the send time of the update.
|
short |
getSendTimeFieldState() |
long |
getSharesAuthorized()
Authorized shares.
|
short |
getSharesAuthorizedFieldState() |
long |
getSharesFloat()
The number of shares of a security that are outstanding and
available for trading by the public.
|
short |
getSharesFloatFieldState() |
long |
getSharesOut()
Shares outstanding.
|
short |
getSharesOutFieldState() |
com.wombat.mama.MamaDateTime |
getSrcTime()
Source time.
|
short |
getSrcTimeFieldState() |
java.lang.String |
getSymbol()
Get the string symbol for the instrument.
|
short |
getSymbolFieldState() |
double |
getVolatility()
The relative rate at which the price of a security moves up and
down.
|
short |
getVolatilityFieldState() |
double |
getYield()
Yield, for cash instruments where prices are published
|
short |
getYieldFieldState() |
void |
onMsg(MamdaSubscription subscription,
com.wombat.mama.MamaMsg msg,
short msgType)
Implementation of MamdaListener interface.
|
public MamdaFundamentalListener()
public void addHandler(MamdaFundamentalHandler handler)
public com.wombat.mama.MamaDateTime getSrcTime()
MamdaBasicRecap
getSrcTime
in interface MamdaBasicRecap
public com.wombat.mama.MamaDateTime getActivityTime()
MamdaBasicRecap
getActivityTime
in interface MamdaBasicRecap
public com.wombat.mama.MamaDateTime getSendTime()
MamdaBasicRecap
getSendTime
in interface MamdaBasicRecap
public com.wombat.mama.MamaDateTime getLineTime()
MamdaBasicRecap
getLineTime
in interface MamdaBasicRecap
public java.lang.String getPartId()
MamdaBasicRecap
getPartId
in interface MamdaBasicRecap
public java.lang.String getSymbol()
MamdaBasicRecap
getSymbol
in interface MamdaBasicRecap
public java.lang.String getCorporateActionType()
MamdaFundamentals
getCorporateActionType
in interface MamdaFundamentals
public double getDividendPrice()
MamdaFundamentals
getDividendPrice
in interface MamdaFundamentals
public java.lang.String getDividendFrequency()
MamdaFundamentals
getDividendFrequency
in interface MamdaFundamentals
public java.lang.String getDividendExDate()
MamdaFundamentals
getDividendExDate
in interface MamdaFundamentals
public java.lang.String getDividendPayDate()
MamdaFundamentals
getDividendPayDate
in interface MamdaFundamentals
public java.lang.String getDividendRecordDate()
MamdaFundamentals
getDividendRecordDate
in interface MamdaFundamentals
public java.lang.String getDividendCurrency()
MamdaFundamentals
getDividendCurrency
in interface MamdaFundamentals
public long getSharesOut()
MamdaFundamentals
getSharesOut
in interface MamdaFundamentals
public long getSharesFloat()
MamdaFundamentals
getSharesFloat
in interface MamdaFundamentals
public long getSharesAuthorized()
MamdaFundamentals
getSharesAuthorized
in interface MamdaFundamentals
public double getEarningsPerShare()
MamdaFundamentals
getEarningsPerShare
in interface MamdaFundamentals
public double getVolatility()
MamdaFundamentals
getVolatility
in interface MamdaFundamentals
public double getPriceEarningsRatio()
MamdaFundamentals
getPriceEarningsRatio
in interface MamdaFundamentals
public double getYield()
MamdaFundamentals
getYield
in interface MamdaFundamentals
public java.lang.String getMarketSegmentNative()
MamdaFundamentals
getMarketSegmentNative
in interface MamdaFundamentals
public java.lang.String getMarketSectorNative()
MamdaFundamentals
getMarketSectorNative
in interface MamdaFundamentals
public java.lang.String getMarketSegment()
MamdaFundamentals
getMarketSegment
in interface MamdaFundamentals
public java.lang.String getMarketSector()
MamdaFundamentals
getMarketSector
in interface MamdaFundamentals
public double getHistoricalVolatility()
MamdaFundamentals
getHistoricalVolatility
in interface MamdaFundamentals
public double getRiskFreeRate()
MamdaFundamentals
getRiskFreeRate
in interface MamdaFundamentals
public short getSrcTimeFieldState()
getSrcTimeFieldState
in interface MamdaBasicRecap
public short getActivityTimeFieldState()
getActivityTimeFieldState
in interface MamdaBasicRecap
public short getSendTimeFieldState()
getSendTimeFieldState
in interface MamdaBasicRecap
public short getLineTimeFieldState()
getLineTimeFieldState
in interface MamdaBasicRecap
public short getPartIdFieldState()
getPartIdFieldState
in interface MamdaBasicRecap
public short getSymbolFieldState()
getSymbolFieldState
in interface MamdaBasicRecap
public short getCorporateActionTypeFieldState()
getCorporateActionTypeFieldState
in interface MamdaFundamentals
public short getDividendPriceFieldState()
getDividendPriceFieldState
in interface MamdaFundamentals
public short getDividendFrequencyFieldState()
getDividendFrequencyFieldState
in interface MamdaFundamentals
public short getDividendExDateFieldState()
getDividendExDateFieldState
in interface MamdaFundamentals
public short getDividendPayDateFieldState()
getDividendPayDateFieldState
in interface MamdaFundamentals
public short getDividendRecordDateFieldState()
getDividendRecordDateFieldState
in interface MamdaFundamentals
public short getDividendCurrencyFieldState()
getDividendCurrencyFieldState
in interface MamdaFundamentals
public short getSharesOutFieldState()
getSharesOutFieldState
in interface MamdaFundamentals
public short getSharesFloatFieldState()
getSharesFloatFieldState
in interface MamdaFundamentals
public short getSharesAuthorizedFieldState()
getSharesAuthorizedFieldState
in interface MamdaFundamentals
public short getEarningsPerShareFieldState()
getEarningsPerShareFieldState
in interface MamdaFundamentals
public short getVolatilityFieldState()
getVolatilityFieldState
in interface MamdaFundamentals
public short getPriceEarningsRatioFieldState()
getPriceEarningsRatioFieldState
in interface MamdaFundamentals
public short getYieldFieldState()
getYieldFieldState
in interface MamdaFundamentals
public short getMarketSegmentNativeFieldState()
getMarketSegmentNativeFieldState
in interface MamdaFundamentals
public short getMarketSectorNativeFieldState()
getMarketSectorNativeFieldState
in interface MamdaFundamentals
public short getMarketSegmentFieldState()
getMarketSegmentFieldState
in interface MamdaFundamentals
public short getMarketSectorFieldState()
getMarketSectorFieldState
in interface MamdaFundamentals
public short getHistoricalVolatilityFieldState()
getHistoricalVolatilityFieldState
in interface MamdaFundamentals
public short getRiskFreeRateFieldState()
getRiskFreeRateFieldState
in interface MamdaFundamentals
public void onMsg(MamdaSubscription subscription, com.wombat.mama.MamaMsg msg, short msgType)
onMsg
in interface MamdaMsgListener
subscription
- The MamdaSubscription to which this listener was
registered.msg
- The MamaMsg received by the underlying MAMA API and which
resulted in this callback being invoked.msgType
- The message type. e.g. INITIAL, RECAP, UPDATE etc.Copyright 2007 Wombat Financial Software, Inc.