Package com.wombat.mamda
Class MamdaTradeFields
- java.lang.Object
-
- com.wombat.mamda.MamdaFields
-
- com.wombat.mamda.MamdaTradeFields
-
public class MamdaTradeFields extends MamdaFields
Cache of common trade related field descriptors. This is required to be populated if using the MamdaTradeListener.
-
-
Field Summary
Fields Modifier and Type Field Description static com.wombat.mama.MamaFieldDescriptorACTIVITY_TIMEDeprecated.Use MamdaCommonFields.ACTIVITY_TIMEstatic com.wombat.mama.MamaFieldDescriptorADJ_PREV_CLOSEstatic com.wombat.mama.MamaFieldDescriptorAGGRESSOR_SIDEstatic com.wombat.mama.MamaFieldDescriptorBLOCK_COUNTstatic com.wombat.mama.MamaFieldDescriptorBLOCK_VOLUMEstatic com.wombat.mama.MamaFieldDescriptorCANCEL_TIMEstatic com.wombat.mama.MamaFieldDescriptorCLOSE_DATEstatic com.wombat.mama.MamaFieldDescriptorCLOSE_PRICEstatic com.wombat.mama.MamaFieldDescriptorCONFLATE_COUNTstatic com.wombat.mama.MamaFieldDescriptorCORR_PART_IDstatic com.wombat.mama.MamaFieldDescriptorCORR_PRICEstatic com.wombat.mama.MamaFieldDescriptorCORR_SALE_CONDITIONstatic com.wombat.mama.MamaFieldDescriptorCORR_SELLERS_SALE_DAYSstatic com.wombat.mama.MamaFieldDescriptorCORR_SHORT_SALE_CIRCUIT_BREAKERstatic com.wombat.mama.MamaFieldDescriptorCORR_SIZEstatic com.wombat.mama.MamaFieldDescriptorCORR_STOP_STOCK_INDstatic com.wombat.mama.MamaFieldDescriptorCORR_TIMEstatic com.wombat.mama.MamaFieldDescriptorCORR_TRADE_IDstatic com.wombat.mama.MamaFieldDescriptorCORR_TRADE_QUALIFIERstatic com.wombat.mama.MamaFieldDescriptorCURRENCY_CODEstatic com.wombat.mama.MamaFieldDescriptorHIGH_PRICEstatic com.wombat.mama.MamaFieldDescriptorHIGH_SEQNUMstatic com.wombat.mama.MamaFieldDescriptorIRREG_PART_IDstatic com.wombat.mama.MamaFieldDescriptorIRREG_PRICEstatic com.wombat.mama.MamaFieldDescriptorIRREG_SIZEstatic com.wombat.mama.MamaFieldDescriptorIRREG_TIMEstatic com.wombat.mama.MamaFieldDescriptorIS_IRREGULARstatic com.wombat.mama.MamaFieldDescriptorISSUE_SYMBOLDeprecated.Use MamdaCommonFields.ISSUE_SYMBOLstatic com.wombat.mama.MamaFieldDescriptorLAST_PART_IDstatic com.wombat.mama.MamaFieldDescriptorLAST_PRICEstatic com.wombat.mama.MamaFieldDescriptorLAST_SEQNUMstatic com.wombat.mama.MamaFieldDescriptorLAST_TIMEstatic com.wombat.mama.MamaFieldDescriptorLAST_VOLUMEstatic com.wombat.mama.MamaFieldDescriptorLINE_TIMEDeprecated.Use MamdaCommonFields.LINE_TIMEstatic com.wombat.mama.MamaFieldDescriptorLOW_PRICEstatic com.wombat.mama.MamaFieldDescriptorLOW_SEQNUMstatic intMAX_FIDstatic com.wombat.mama.MamaFieldDescriptorNET_CHANGEstatic com.wombat.mama.MamaFieldDescriptorOFF_EXCHANGE_TOTAL_VALUEstatic com.wombat.mama.MamaFieldDescriptorOFF_EXCHANGE_TOTAL_VOLUMEstatic com.wombat.mama.MamaFieldDescriptorOFF_EXCHANGE_TRADE_PRICEstatic com.wombat.mama.MamaFieldDescriptorOFF_EXCHANGE_VWAPstatic com.wombat.mama.MamaFieldDescriptorON_EXCHANGE_TOTAL_VALUEstatic com.wombat.mama.MamaFieldDescriptorON_EXCHANGE_TOTAL_VOLUMEstatic com.wombat.mama.MamaFieldDescriptorON_EXCHANGE_TRADE_PRICEstatic com.wombat.mama.MamaFieldDescriptorON_EXCHANGE_VWAPstatic com.wombat.mama.MamaFieldDescriptorOPEN_PRICEstatic com.wombat.mama.MamaFieldDescriptorORDER_IDstatic com.wombat.mama.MamaFieldDescriptorORIG_PART_IDstatic com.wombat.mama.MamaFieldDescriptorORIG_PRICEstatic com.wombat.mama.MamaFieldDescriptorORIG_SALE_CONDITIONstatic com.wombat.mama.MamaFieldDescriptorORIG_SELLERS_SALE_DAYSstatic com.wombat.mama.MamaFieldDescriptorORIG_SEQNUMstatic com.wombat.mama.MamaFieldDescriptorORIG_SHORT_SALE_CIRCUIT_BREAKERstatic com.wombat.mama.MamaFieldDescriptorORIG_SIZEstatic com.wombat.mama.MamaFieldDescriptorORIG_STOP_STOCK_INDstatic com.wombat.mama.MamaFieldDescriptorORIG_TRADE_IDstatic com.wombat.mama.MamaFieldDescriptorORIG_TRADE_QUALIFIERstatic com.wombat.mama.MamaFieldDescriptorPART_IDDeprecated.Use MamdaCommonFields.PART_IDstatic com.wombat.mama.MamaFieldDescriptorPCT_CHANGEstatic com.wombat.mama.MamaFieldDescriptorPREV_CLOSE_DATEstatic com.wombat.mama.MamaFieldDescriptorPREV_CLOSE_PRICEstatic com.wombat.mama.MamaFieldDescriptorPREV_VOLUMEstatic com.wombat.mama.MamaFieldDescriptorPRIMARY_EXCHstatic com.wombat.mama.MamaFieldDescriptorPUB_IDDeprecated.Use MamdaCommonFields.PUB_IDstatic com.wombat.mama.MamaFieldDescriptorSALE_CONDITIONstatic com.wombat.mama.MamaFieldDescriptorSELLERS_SALE_DAYSstatic com.wombat.mama.MamaFieldDescriptorSEND_TIMEDeprecated.Use MamdaCommonFields.SEND_TIMEstatic com.wombat.mama.MamaFieldDescriptorSETTLE_DATEstatic com.wombat.mama.MamaFieldDescriptorSETTLE_PRICEstatic com.wombat.mama.MamaFieldDescriptorSHORT_SALE_CIRCUIT_BREAKERstatic com.wombat.mama.MamaFieldDescriptorSRC_TIMEDeprecated.Use MamdaCommonFields.SRC_TIMEstatic com.wombat.mama.MamaFieldDescriptorSTD_DEVstatic com.wombat.mama.MamaFieldDescriptorSTD_DEV_SUMstatic com.wombat.mama.MamaFieldDescriptorSTD_DEV_SUM_SQUARESstatic com.wombat.mama.MamaFieldDescriptorSTOP_STOCK_INDstatic com.wombat.mama.MamaFieldDescriptorSYMBOLDeprecated.Use MamdaCommonFields.SYMBOLstatic com.wombat.mama.MamaFieldDescriptorTOTAL_VALUEstatic com.wombat.mama.MamaFieldDescriptorTOTAL_VOLUMEstatic com.wombat.mama.MamaFieldDescriptorTOTAL_VOLUME_SEQNUMstatic com.wombat.mama.MamaFieldDescriptorTRADE_COUNTstatic com.wombat.mama.MamaFieldDescriptorTRADE_DATEstatic com.wombat.mama.MamaFieldDescriptorTRADE_DIRECTIONstatic com.wombat.mama.MamaFieldDescriptorTRADE_EXEC_VENUEstatic com.wombat.mama.MamaFieldDescriptorTRADE_IDstatic com.wombat.mama.MamaFieldDescriptorTRADE_PART_IDstatic com.wombat.mama.MamaFieldDescriptorTRADE_PRICEstatic com.wombat.mama.MamaFieldDescriptorTRADE_QUALIFIERstatic com.wombat.mama.MamaFieldDescriptorTRADE_SEQNUMstatic com.wombat.mama.MamaFieldDescriptorTRADE_SIDEstatic com.wombat.mama.MamaFieldDescriptorTRADE_SIZEstatic com.wombat.mama.MamaFieldDescriptorTRADE_TIMEstatic com.wombat.mama.MamaFieldDescriptorTRADE_UNITSstatic com.wombat.mama.MamaFieldDescriptorUPDATE_AS_TRADEstatic com.wombat.mama.MamaFieldDescriptorVWAP
-
Constructor Summary
Constructors Constructor Description MamdaTradeFields()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetMaxFid()static booleanisSet()static voidreset()Reset the dictionary for trade update fields.static voidsetDictionary(com.wombat.mama.MamaDictionary dictionary, java.util.Properties properties)Set the dictionary for common trade fields.
-
-
-
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
-
-
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. Thepropertiesparameter 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 MamaDictionaryproperties- 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.
-
-