com.apama.oms
Event Constants


Constants used in the OMS protocols.
Since:
CMF 1.1.0
Version:
10.7

Constant summary
 constant stringBRIDGE_NAME_PARAM := "Bridge.Name"
 constant stringBUY_SIDE := "BUY"
 constant stringCOMMISION_EXTRA_PARAM := "OMS.Commission"
 constant stringCOUNTER_PARTY_EXTRA_PARAM := "OMS.CounterParty"
 constant stringDESK_ID_EXTRA_PARAM := "OMS.DeskId"
 constant stringEXCHANGE_EXTRA_PARAM := "Exchange"
 constant stringEXTRA_PARAM_EXTRA_PARAM := "OMS.ExtraParams"
 constant stringFIREWALL_REJECT_EXTRA_PARAM_FLAG := "__Firewall_Reject"
 constant stringFIREWALL_TARGET_SERVICE_EXTRA_PARAM := "Firewall.TargetService"
 constant stringINVISIBLE_ORDER_EXTRAPARAM_FLAG := "__HiddenOrder"
 constant stringIOC_ORDER := "IOC"
 constant stringISSUE_TIME_EXTRA_PARAM := "OMS.IssueTime"
 constant stringLASTTRADE_PRICE_EXTRA_PARAM := "OMS.LastTrade.Price"
 constant stringLASTTRADE_QUANTITY_EXTRA_PARAM := "OMS.LastTrade.Quantity"
 constant stringLIMIT_ORDER := "LIMIT"
 constant stringLOITERING_RESERVATION_EXTRAPARAM_FLAG := "__LoiteringReservation"
 constant stringMARKET_EXTRA_PARAM := "Market"
 constant stringMARKET_ORDER := "MARKET"
 constant stringOPERATION_ISSUE_TIME_EXTRA_PARAM := "OMS.OperationIssueTime"
 constant stringORIGINATOR_SERVICE_INSTANCE_EXTRA_PARAM := "OMS.OriginatorServiceInstance"
 constant stringORIGINATOR_SERVICE_NAME_EXTRA_PARAM := "OMS.OriginatorServiceName"
 constant stringORIGINATOR_SERVICE_TYPE_EXTRA_PARAM := "OMS.OriginatorServiceType"
 constant stringPEGGED_ORDER := "PEGGED"
 constant stringRESERVATION_ID_EXTRA_PARAM := "OMS.ReservationId"
 constant stringRESERVATION_ORDER := "RESERVATION"
 constant stringSELL_SIDE := "SELL"
 constant stringSERVICE_EXTRA_PARAM := "SERVICE_NAME"
 constant stringSYMBOL_EXTRA_PARAM := "OMS.Symbol"
 constant stringTRADE_TIME_EXTRA_PARAM := "OMS.TradeTime"
 constant stringTRADE_TYPE_EXTRA_PARAM := "OMS.TradeType"
 constant stringTRADER_EXTRA_PARAM := "Trader"
 
Action summary
 stringgetBridgeNameFromParams(dictionary<string, string> extraParams)
 stringgetExchangeFromParams(dictionary<string, string> extraParams)
 stringgetFirewallTargetServiceFromParams(dictionary<string, string> extraParams)
 stringgetMarketFromParams(dictionary<string, string> extraParams)
 stringgetOptionalParam(string param, dictionary<string, string> extraParams)
 stringgetReservationIdFromParams(dictionary<string, string> extraParams)
 stringgetServiceFromParams(dictionary<string, string> extraParams)
 booleanhasFireWallRejected(dictionary<string, string> extraParams)
 booleanisSideBuy(string side)
 booleanisSideSell(string side)
 booleanisTypeIOC(string type)
 booleanisTypeLimit(string type)
 booleanisTypeMarket(string type)
 booleanisTypePegged(string type)
 booleanisTypeReservation(string type)
 
Constant detail

BRIDGE_NAME_PARAM

constant string BRIDGE_NAME_PARAM := "Bridge.Name"

BUY_SIDE

constant string BUY_SIDE := "BUY"

COMMISION_EXTRA_PARAM

constant string COMMISION_EXTRA_PARAM := "OMS.Commission"

COUNTER_PARTY_EXTRA_PARAM

constant string COUNTER_PARTY_EXTRA_PARAM := "OMS.CounterParty"

DESK_ID_EXTRA_PARAM

constant string DESK_ID_EXTRA_PARAM := "OMS.DeskId"

EXCHANGE_EXTRA_PARAM

constant string EXCHANGE_EXTRA_PARAM := "Exchange"

EXTRA_PARAM_EXTRA_PARAM

constant string EXTRA_PARAM_EXTRA_PARAM := "OMS.ExtraParams"

FIREWALL_REJECT_EXTRA_PARAM_FLAG

constant string FIREWALL_REJECT_EXTRA_PARAM_FLAG := "__Firewall_Reject"

FIREWALL_TARGET_SERVICE_EXTRA_PARAM

constant string FIREWALL_TARGET_SERVICE_EXTRA_PARAM := "Firewall.TargetService"

INVISIBLE_ORDER_EXTRAPARAM_FLAG

constant string INVISIBLE_ORDER_EXTRAPARAM_FLAG := "__HiddenOrder"

IOC_ORDER

constant string IOC_ORDER := "IOC"

ISSUE_TIME_EXTRA_PARAM

constant string ISSUE_TIME_EXTRA_PARAM := "OMS.IssueTime"

LASTTRADE_PRICE_EXTRA_PARAM

constant string LASTTRADE_PRICE_EXTRA_PARAM := "OMS.LastTrade.Price"

LASTTRADE_QUANTITY_EXTRA_PARAM

constant string LASTTRADE_QUANTITY_EXTRA_PARAM := "OMS.LastTrade.Quantity"

LIMIT_ORDER

constant string LIMIT_ORDER := "LIMIT"

LOITERING_RESERVATION_EXTRAPARAM_FLAG

constant string LOITERING_RESERVATION_EXTRAPARAM_FLAG := "__LoiteringReservation"

MARKET_EXTRA_PARAM

constant string MARKET_EXTRA_PARAM := "Market"

MARKET_ORDER

constant string MARKET_ORDER := "MARKET"

OPERATION_ISSUE_TIME_EXTRA_PARAM

constant string OPERATION_ISSUE_TIME_EXTRA_PARAM := "OMS.OperationIssueTime"

ORIGINATOR_SERVICE_INSTANCE_EXTRA_PARAM

constant string ORIGINATOR_SERVICE_INSTANCE_EXTRA_PARAM := "OMS.OriginatorServiceInstance"

ORIGINATOR_SERVICE_NAME_EXTRA_PARAM

constant string ORIGINATOR_SERVICE_NAME_EXTRA_PARAM := "OMS.OriginatorServiceName"

ORIGINATOR_SERVICE_TYPE_EXTRA_PARAM

constant string ORIGINATOR_SERVICE_TYPE_EXTRA_PARAM := "OMS.OriginatorServiceType"

PEGGED_ORDER

constant string PEGGED_ORDER := "PEGGED"

RESERVATION_ID_EXTRA_PARAM

constant string RESERVATION_ID_EXTRA_PARAM := "OMS.ReservationId"

RESERVATION_ORDER

constant string RESERVATION_ORDER := "RESERVATION"

SELL_SIDE

constant string SELL_SIDE := "SELL"

SERVICE_EXTRA_PARAM

constant string SERVICE_EXTRA_PARAM := "SERVICE_NAME"

SYMBOL_EXTRA_PARAM

constant string SYMBOL_EXTRA_PARAM := "OMS.Symbol"

TRADE_TIME_EXTRA_PARAM

constant string TRADE_TIME_EXTRA_PARAM := "OMS.TradeTime"

TRADE_TYPE_EXTRA_PARAM

constant string TRADE_TYPE_EXTRA_PARAM := "OMS.TradeType"

TRADER_EXTRA_PARAM

constant string TRADER_EXTRA_PARAM := "Trader"

Action detail

getBridgeNameFromParams

string getBridgeNameFromParams(dictionary<string, string> extraParams)
Parameters:
extraParams

getExchangeFromParams

string getExchangeFromParams(dictionary<string, string> extraParams)
Parameters:
extraParams

getFirewallTargetServiceFromParams

string getFirewallTargetServiceFromParams(dictionary<string, string> extraParams)
Parameters:
extraParams

getMarketFromParams

string getMarketFromParams(dictionary<string, string> extraParams)
Parameters:
extraParams

getOptionalParam

string getOptionalParam(string param, dictionary<string, string> extraParams)
Parameters:
param
extraParams

getReservationIdFromParams

string getReservationIdFromParams(dictionary<string, string> extraParams)
Parameters:
extraParams

getServiceFromParams

string getServiceFromParams(dictionary<string, string> extraParams)
Parameters:
extraParams

hasFireWallRejected

boolean hasFireWallRejected(dictionary<string, string> extraParams)
Parameters:
extraParams

isSideBuy

boolean isSideBuy(string side)
Parameters:
side

isSideSell

boolean isSideSell(string side)
Parameters:
side

isTypeIOC

boolean isTypeIOC(string type)
Parameters:
type

isTypeLimit

boolean isTypeLimit(string type)
Parameters:
type

isTypeMarket

boolean isTypeMarket(string type)
Parameters:
type

isTypePegged

boolean isTypePegged(string type)
Parameters:
type

isTypeReservation

boolean isTypeReservation(string type)
Parameters:
type