Class MamdaTradeFields


  • public class MamdaTradeFields
    extends MamdaFields
    Cache of common trade related field descriptors. This is required to be populated if using the MamdaTradeListener.
    • Field Detail

      • SYMBOL

        public static com.wombat.mama.MamaFieldDescriptor SYMBOL
        Deprecated.
        Use MamdaCommonFields.SYMBOL
      • ISSUE_SYMBOL

        public static com.wombat.mama.MamaFieldDescriptor ISSUE_SYMBOL
        Deprecated.
        Use MamdaCommonFields.ISSUE_SYMBOL
      • PART_ID

        public static com.wombat.mama.MamaFieldDescriptor PART_ID
        Deprecated.
        Use MamdaCommonFields.PART_ID
      • SRC_TIME

        public static com.wombat.mama.MamaFieldDescriptor SRC_TIME
        Deprecated.
        Use MamdaCommonFields.SRC_TIME
      • ACTIVITY_TIME

        public static com.wombat.mama.MamaFieldDescriptor ACTIVITY_TIME
        Deprecated.
        Use MamdaCommonFields.ACTIVITY_TIME
      • LINE_TIME

        public static com.wombat.mama.MamaFieldDescriptor LINE_TIME
        Deprecated.
        Use MamdaCommonFields.LINE_TIME
      • SEND_TIME

        public static com.wombat.mama.MamaFieldDescriptor SEND_TIME
        Deprecated.
        Use MamdaCommonFields.SEND_TIME
      • PUB_ID

        public static com.wombat.mama.MamaFieldDescriptor PUB_ID
        Deprecated.
        Use MamdaCommonFields.PUB_ID
      • TRADE_PRICE

        public static com.wombat.mama.MamaFieldDescriptor TRADE_PRICE
      • TRADE_DATE

        public static com.wombat.mama.MamaFieldDescriptor TRADE_DATE
      • TRADE_TIME

        public static com.wombat.mama.MamaFieldDescriptor TRADE_TIME
      • TRADE_DIRECTION

        public static com.wombat.mama.MamaFieldDescriptor TRADE_DIRECTION
      • LAST_PRICE

        public static com.wombat.mama.MamaFieldDescriptor LAST_PRICE
      • LAST_VOLUME

        public static com.wombat.mama.MamaFieldDescriptor LAST_VOLUME
      • LAST_PART_ID

        public static com.wombat.mama.MamaFieldDescriptor LAST_PART_ID
      • LAST_TIME

        public static com.wombat.mama.MamaFieldDescriptor LAST_TIME
      • NET_CHANGE

        public static com.wombat.mama.MamaFieldDescriptor NET_CHANGE
      • PCT_CHANGE

        public static com.wombat.mama.MamaFieldDescriptor PCT_CHANGE
      • TRADE_SIZE

        public static com.wombat.mama.MamaFieldDescriptor TRADE_SIZE
      • TOTAL_VOLUME

        public static com.wombat.mama.MamaFieldDescriptor TOTAL_VOLUME
      • OFF_EXCHANGE_TOTAL_VOLUME

        public static com.wombat.mama.MamaFieldDescriptor OFF_EXCHANGE_TOTAL_VOLUME
      • ON_EXCHANGE_TOTAL_VOLUME

        public static com.wombat.mama.MamaFieldDescriptor ON_EXCHANGE_TOTAL_VOLUME
      • TRADE_UNITS

        public static com.wombat.mama.MamaFieldDescriptor TRADE_UNITS
      • HIGH_PRICE

        public static com.wombat.mama.MamaFieldDescriptor HIGH_PRICE
      • LOW_PRICE

        public static com.wombat.mama.MamaFieldDescriptor LOW_PRICE
      • OPEN_PRICE

        public static com.wombat.mama.MamaFieldDescriptor OPEN_PRICE
      • CLOSE_PRICE

        public static com.wombat.mama.MamaFieldDescriptor CLOSE_PRICE
      • CLOSE_DATE

        public static com.wombat.mama.MamaFieldDescriptor CLOSE_DATE
      • PREV_CLOSE_PRICE

        public static com.wombat.mama.MamaFieldDescriptor PREV_CLOSE_PRICE
      • PREV_CLOSE_DATE

        public static com.wombat.mama.MamaFieldDescriptor PREV_CLOSE_DATE
      • ADJ_PREV_CLOSE

        public static com.wombat.mama.MamaFieldDescriptor ADJ_PREV_CLOSE
      • AGGRESSOR_SIDE

        public static com.wombat.mama.MamaFieldDescriptor AGGRESSOR_SIDE
      • TRADE_SIDE

        public static com.wombat.mama.MamaFieldDescriptor TRADE_SIDE
      • PREV_VOLUME

        public static com.wombat.mama.MamaFieldDescriptor PREV_VOLUME
      • TRADE_SEQNUM

        public static com.wombat.mama.MamaFieldDescriptor TRADE_SEQNUM
      • TRADE_QUALIFIER

        public static com.wombat.mama.MamaFieldDescriptor TRADE_QUALIFIER
      • TRADE_PART_ID

        public static com.wombat.mama.MamaFieldDescriptor TRADE_PART_ID
      • TOTAL_VALUE

        public static com.wombat.mama.MamaFieldDescriptor TOTAL_VALUE
      • OFF_EXCHANGE_TOTAL_VALUE

        public static com.wombat.mama.MamaFieldDescriptor OFF_EXCHANGE_TOTAL_VALUE
      • ON_EXCHANGE_TOTAL_VALUE

        public static com.wombat.mama.MamaFieldDescriptor ON_EXCHANGE_TOTAL_VALUE
      • VWAP

        public static com.wombat.mama.MamaFieldDescriptor VWAP
      • OFF_EXCHANGE_VWAP

        public static com.wombat.mama.MamaFieldDescriptor OFF_EXCHANGE_VWAP
      • ON_EXCHANGE_VWAP

        public static com.wombat.mama.MamaFieldDescriptor ON_EXCHANGE_VWAP
      • STD_DEV

        public static com.wombat.mama.MamaFieldDescriptor STD_DEV
      • STD_DEV_SUM

        public static com.wombat.mama.MamaFieldDescriptor STD_DEV_SUM
      • STD_DEV_SUM_SQUARES

        public static com.wombat.mama.MamaFieldDescriptor STD_DEV_SUM_SQUARES
      • ORDER_ID

        public static com.wombat.mama.MamaFieldDescriptor ORDER_ID
      • SETTLE_PRICE

        public static com.wombat.mama.MamaFieldDescriptor SETTLE_PRICE
      • SETTLE_DATE

        public static com.wombat.mama.MamaFieldDescriptor SETTLE_DATE
      • SALE_CONDITION

        public static com.wombat.mama.MamaFieldDescriptor SALE_CONDITION
      • SELLERS_SALE_DAYS

        public static com.wombat.mama.MamaFieldDescriptor SELLERS_SALE_DAYS
      • STOP_STOCK_IND

        public static com.wombat.mama.MamaFieldDescriptor STOP_STOCK_IND
      • TRADE_EXEC_VENUE

        public static com.wombat.mama.MamaFieldDescriptor TRADE_EXEC_VENUE
      • OFF_EXCHANGE_TRADE_PRICE

        public static com.wombat.mama.MamaFieldDescriptor OFF_EXCHANGE_TRADE_PRICE
      • ON_EXCHANGE_TRADE_PRICE

        public static com.wombat.mama.MamaFieldDescriptor ON_EXCHANGE_TRADE_PRICE
      • IS_IRREGULAR

        public static com.wombat.mama.MamaFieldDescriptor IS_IRREGULAR
      • IRREG_PART_ID

        public static com.wombat.mama.MamaFieldDescriptor IRREG_PART_ID
      • IRREG_PRICE

        public static com.wombat.mama.MamaFieldDescriptor IRREG_PRICE
      • IRREG_SIZE

        public static com.wombat.mama.MamaFieldDescriptor IRREG_SIZE
      • IRREG_TIME

        public static com.wombat.mama.MamaFieldDescriptor IRREG_TIME
      • ORIG_PART_ID

        public static com.wombat.mama.MamaFieldDescriptor ORIG_PART_ID
      • ORIG_PRICE

        public static com.wombat.mama.MamaFieldDescriptor ORIG_PRICE
      • ORIG_SIZE

        public static com.wombat.mama.MamaFieldDescriptor ORIG_SIZE
      • ORIG_SEQNUM

        public static com.wombat.mama.MamaFieldDescriptor ORIG_SEQNUM
      • ORIG_TRADE_QUALIFIER

        public static com.wombat.mama.MamaFieldDescriptor ORIG_TRADE_QUALIFIER
      • ORIG_SALE_CONDITION

        public static com.wombat.mama.MamaFieldDescriptor ORIG_SALE_CONDITION
      • ORIG_SELLERS_SALE_DAYS

        public static com.wombat.mama.MamaFieldDescriptor ORIG_SELLERS_SALE_DAYS
      • ORIG_TRADE_ID

        public static com.wombat.mama.MamaFieldDescriptor ORIG_TRADE_ID
      • CORR_TRADE_ID

        public static com.wombat.mama.MamaFieldDescriptor CORR_TRADE_ID
      • ORIG_STOP_STOCK_IND

        public static com.wombat.mama.MamaFieldDescriptor ORIG_STOP_STOCK_IND
      • CORR_PART_ID

        public static com.wombat.mama.MamaFieldDescriptor CORR_PART_ID
      • CORR_PRICE

        public static com.wombat.mama.MamaFieldDescriptor CORR_PRICE
      • CORR_SIZE

        public static com.wombat.mama.MamaFieldDescriptor CORR_SIZE
      • CORR_TRADE_QUALIFIER

        public static com.wombat.mama.MamaFieldDescriptor CORR_TRADE_QUALIFIER
      • CORR_SALE_CONDITION

        public static com.wombat.mama.MamaFieldDescriptor CORR_SALE_CONDITION
      • CORR_SELLERS_SALE_DAYS

        public static com.wombat.mama.MamaFieldDescriptor CORR_SELLERS_SALE_DAYS
      • CORR_STOP_STOCK_IND

        public static com.wombat.mama.MamaFieldDescriptor CORR_STOP_STOCK_IND
      • CORR_TIME

        public static com.wombat.mama.MamaFieldDescriptor CORR_TIME
      • CANCEL_TIME

        public static com.wombat.mama.MamaFieldDescriptor CANCEL_TIME
      • TRADE_ID

        public static com.wombat.mama.MamaFieldDescriptor TRADE_ID
      • PRIMARY_EXCH

        public static com.wombat.mama.MamaFieldDescriptor PRIMARY_EXCH
      • TRADE_COUNT

        public static com.wombat.mama.MamaFieldDescriptor TRADE_COUNT
      • BLOCK_COUNT

        public static com.wombat.mama.MamaFieldDescriptor BLOCK_COUNT
      • BLOCK_VOLUME

        public static com.wombat.mama.MamaFieldDescriptor BLOCK_VOLUME
      • UPDATE_AS_TRADE

        public static com.wombat.mama.MamaFieldDescriptor UPDATE_AS_TRADE
      • LAST_SEQNUM

        public static com.wombat.mama.MamaFieldDescriptor LAST_SEQNUM
      • HIGH_SEQNUM

        public static com.wombat.mama.MamaFieldDescriptor HIGH_SEQNUM
      • LOW_SEQNUM

        public static com.wombat.mama.MamaFieldDescriptor LOW_SEQNUM
      • TOTAL_VOLUME_SEQNUM

        public static com.wombat.mama.MamaFieldDescriptor TOTAL_VOLUME_SEQNUM
      • CURRENCY_CODE

        public static com.wombat.mama.MamaFieldDescriptor CURRENCY_CODE
      • CONFLATE_COUNT

        public static com.wombat.mama.MamaFieldDescriptor CONFLATE_COUNT
      • SHORT_SALE_CIRCUIT_BREAKER

        public static com.wombat.mama.MamaFieldDescriptor SHORT_SALE_CIRCUIT_BREAKER
      • ORIG_SHORT_SALE_CIRCUIT_BREAKER

        public static com.wombat.mama.MamaFieldDescriptor ORIG_SHORT_SALE_CIRCUIT_BREAKER
      • CORR_SHORT_SALE_CIRCUIT_BREAKER

        public static com.wombat.mama.MamaFieldDescriptor CORR_SHORT_SALE_CIRCUIT_BREAKER
      • MAX_FID

        public static int MAX_FID
    • Constructor Detail

      • MamdaTradeFields

        public MamdaTradeFields()
    • Method Detail

      • setDictionary

        public static void setDictionary​(com.wombat.mama.MamaDictionary dictionary,
                                         java.util.Properties properties)
        Set the dictionary for common trade fields. Maintains a cache of MamaFieldDescriptors for common trade related fields. The properties parameter allows users of the API to map the common dictionary names to something else if they are being published under different names.
        Parameters:
        dictionary - A reference to a valid MamaDictionary
        properties - A Properties object containing field mappings. (See MamdaFields for further details)
      • getMaxFid

        public static int getMaxFid()
      • isSet

        public static boolean isSet()
      • reset

        public static void reset()
        Reset the dictionary for trade update fields.