com.apama.firewall
Event Consts


The Consts event object contains a set of constants that define the various constant values for common settings, values, and configuration items in the Risk Firewall.

These constants should be used rather than the specific value in order to ensure future compatibility.
Constant Summary
 constant stringCONFIG_ADD_QUERY_RESPONSE_FAIL := "ADD_QUERY_RESPONSE_FAIL"

This constant value defines the name of the configuration item used to configure whether failure responses from processing Query requests should be added to the Query response object. This is enabled by default.
 constant stringCONFIG_ADD_QUERY_RESPONSE_PASS := "ADD_QUERY_RESPONSE_PASS"

This constant value defines the name of the configuration item used to configure whether successful responses from processing Query requests should be added to the Query response object.
 constant stringCONFIG_ADD_QUERY_RESPONSE_WARN := "ADD_QUERY_RESPONSE_WARN"

This constant value defines the name of the configuration item used to configure whether warning responses from processing Query requests should be added to the Query response object. This is enabled by default.
 constant stringCONFIG_BUSTED_FILL_DURATION := "BUSTED_FILL_DURATION"

This constant value defines the name of the configuration item used to configure the duration that the Risk Firewall will wait for updates to orders after they have been completed.
 constant stringCONFIG_CHANGE_LATENCY_TIMESTAMPID_BASE := "CHANGE_INBOUND_NEWORDER_TIMESTAMPID"

This constant value defines the name of the configuration item used to alter the base number for the latency timestamp identifiers for inbound and outbound order management events.
 constant booleanCONFIG_DEFAULT_ADD_QUERY_RESPONSE_FAIL := true

This constant value defines the default value for whether failure responses from processing Query requests will be added to the Query response object. This is enabled by default.
 constant booleanCONFIG_DEFAULT_ADD_QUERY_RESPONSE_PASS := false

This constant value defines the default value for whether successful responses from processing Query requests will be added to the Query response object. This is disabled by default.
 constant booleanCONFIG_DEFAULT_ADD_QUERY_RESPONSE_WARN := true

This constant value defines the default value for whether warning responses from processing Query requests will be added to the Query response object. This is enabled by default.
 constant floatCONFIG_DEFAULT_BUSTED_FILL_DURATION := 5.0

This constant value defines the default value for the duration that the Risk Firewall will wait for updates to orders after they have been filled.
 constant booleanCONFIG_DEFAULT_ENABLE_LEGACY_MODE := false

This constant value defines the default value for the configuration item used to enable legacy mode of operation in the Risk Firewall.
 constant booleanCONFIG_DEFAULT_ENABLE_PERSISTENCE := true

The Enable Persistence default configuration value is true.
 constant booleanCONFIG_DEFAULT_FAST_FAIL_MODE := true

This constant value defines the default value for the Fast Fail Mode configuration.
 constant integerCONFIG_DEFAULT_LATENCY_TIMESTAMPID_BASE := 7000

This constant defines the default identifier that all inbound/outbound timestamps for the Risk Firewall will use as a base identifier. All of the timestamp identifiers will be offset from this base identifier.
 constant booleanCONFIG_DEFAULT_LOCKED_ON_CREATE := true

This constant value defines the default value for the whether or not the Risk Firewall is created in a locked state. By default, the Risk Firewall is always locked on creation, and applications must unlock it.
 constant booleanCONFIG_DEFAULT_LOG_AMEND_CANCEL_LATENCY_TIMESTAMPS := true

This constant value defines the default value for whether to log latency timestamps for performance measurement for Amend and Cancel requests passed through the Risk Firewall.
 constant booleanCONFIG_DEFAULT_LOG_INBOUND_LATENCY_TIMESTAMPS := false

This constant value defines the default value for whether to log latency timestamps for performance measurement for inbound order management events to the Risk Firewall. This is disabled by default.
 constant booleanCONFIG_DEFAULT_LOG_OUTBOUND_LATENCY_TIMESTAMPS := false

This constant value defines the default value for whether to log latency timestamps for performance measurement for outbound order management events from the Risk Firewall. This is disabled by default.
 constant booleanCONFIG_DEFAULT_REJECT_BY_DEFAULT := true

This constant value defines the default value for the default rejection mode when slice criteria has been defined for the Risk Firewall.
 constant stringCONFIG_DEFAULT_REJECTION_MODE := "HARD"

This constant value defines the default value of the Rejection Mode configuration key to use. By default this is to run the Risk Firewall in Hard Rejection Mode.
 constant floatCONFIG_DEFAULT_SOFT_REJECT_DURATION := 60.0

This constant value defines the default value for the duration that the Risk Firewall will pend orders when waiting for an override in Soft Rejection Mode.
 constant floatCONFIG_DEFAULT_TIMEOUT_DURATION := 5.0

This constant value defines the default value for the timeout duration configuration used for event communication.
 constant stringCONFIG_ENABLE_LEGACY_MODE := "ENABLE_LEGACY_MODE"

This constant value defines the name of the configuration item used to enable the legacy mode of operation in the Risk Firewall.
 constant stringCONFIG_ENABLE_PERSISTENCE := "EnablePersistence"

The Enable Persistence configuration key that indicates whether or not persistence is enabled for the Risk Firewall. The default value is true.
 constant stringCONFIG_FAST_FAIL_MODE := "FAST_FAIL_MODE"

This constant value defines the name of the configuration item used to configure whether the Risk Firewall will run in Fast Fail Mode.
 constant integerCONFIG_INBOUND_AMENDORDER_TIMESTAMPID_OFFSET := 2

This constant defines the offset used from the latency timestampId base for inbound AmendOrder timestamps.
 constant integerCONFIG_INBOUND_CANCELORDER_TIMESTAMPID_OFFSET := 4

This constant defines the offset used from the latency timestampId base for inbound CancelOrder timestamps.
 constant integerCONFIG_INBOUND_NEWORDER_TIMESTAMPID_OFFSET := 0

This constant defines the offset used from the latency timestampId base for inbound NewOrder timestamps.
 constant integerCONFIG_INBOUND_ORDERUPDATE_TIMESTAMPID_OFFSET := 6

This constant defines the offset used from the latency timestampId base for inbound OrderUpdate timestamps.
 constant stringCONFIG_LOCKED_ON_CREATE := "LOCKED_ON_CREATE"

This constant value defines the name of the configuration item used to configure whether or not the Risk Firewall is created in a locked state.
 constant stringCONFIG_LOG_AMEND_CANCEL_LATENCY_TIMESTAMPS := "LOG_AMEND_CANCEL_LATENCY_TIMESTAMPS"

This constant value defines the name of the configuration item used to configure whether to log latency timestamps for performance measurement for Amend and Cancel requests passed through the Risk Firewall.
 constant stringCONFIG_LOG_INBOUND_LATENCY_TIMESTAMPS := "LOG_INBOUND_LATENCY_TIMESTAMPS"

This constant value defines the name of the configuration item used to configure whether to log latency timestamps for performance measurement of inbound order management events to the Risk Firewall. This is disabled by default.
 constant stringCONFIG_LOG_OUTBOUND_LATENCY_TIMESTAMPS := "LOG_OUTBOUND_LATENCY_TIMESTAMPS"

This constant value defines the name of the configuration item used to configure whether to log latency timestamps for performance measurement of outbound order management events from the Risk Firewall. This is disabled by default.
 constant integerCONFIG_OUTBOUND_AMENDORDER_TIMESTAMPID_OFFSET := 3

This constant defines the offset used from the latency timestampId base for outbound AmendOrder timestamps.
 constant integerCONFIG_OUTBOUND_CANCELORDER_TIMESTAMPID_OFFSET := 5

This constant defines the offset used from the latency timestampId base for outbound CancelOrder timestamps.
 constant integerCONFIG_OUTBOUND_NEWORDER_TIMESTAMPID_OFFSET := 1

This constant defines the offset used from the latency timestampId base for outbound NewOrder timestamps.
 constant integerCONFIG_OUTBOUND_ORDERUPDATE_TIMESTAMPID_OFFSET := 7

This constant defines the offset used from the latency timestampId base for outbound OrderUpdate timestamps.
 constant stringCONFIG_RECOVERED_RULE_INSTANCE_ID := "RECOVERED_RULE_INSTANCE_ID"

This configuration key is added by the Risk Firewall to the Rule Class instance configuration parameters when recovering a Rule Class instance from persistence.
 constant stringCONFIG_REJECT_BY_DEFAULT := "REJECT_BY_DEFAULT"

This constant value defines the name of the configuration item used to configure whether the Risk Firewall will approve or reject orders if they do not match any slice criteria that has been defined for the Risk Firewall.
 constant stringCONFIG_REJECTION_MODE := "REJECTION_MODE"

This constant value defines the name of the configuration item used to configure what Rejection Mode the Risk Firewall will run in.
 constant stringCONFIG_REJECTION_MODE_HARD := "HARD"

This constant value defines the value of the Rejection Mode configuration key to run Risk Firewall in Hard Rejection Mode (default).
 constant stringCONFIG_REJECTION_MODE_MONITOR := "MONITOR"

This constant value defines the value of the Rejection Mode configuration key to run Risk Firewall in Monitor/Alert-Only Rejection Mode.
 constant stringCONFIG_REJECTION_MODE_SOFT := "SOFT"

This constant value defines the value of the Rejection Mode configuration key to run Risk Firewall in Soft Rejection Mode.
 constant stringCONFIG_SOFT_REJECT_DURATION := "SOFT_REJECT_DURATION"

This constant value defines the name of the configuration item used to configure the duration that the Risk Firewall will pend orders when waiting for an override in Soft Rejection Mode.
 constant stringCONFIG_TARGET_SERVICE_EXTRA_PARAM := "Firewall.TargetService"

This constant value defines the key name in the OMS events extra params whose value indicates the actual ServiceId to send the OMS event to.
 constant stringCONFIG_TIMEOUT_DURATION := "TIMEOUT_DURATION"

This constant value defines the name of the configuration item used to configure the timeout duration for event communication.
 constant stringCONFIGSTORE_PATH_DEFAULT := "RiskFirewall.sqlite"

The default file and path configuration value for the Risk Firewall Configuration Store tables.
 constant stringCONFIGSTORE_PATH_KEY := "ConfigStorePath"

The configuration key value for setting the Risk Firewall default file and path for its Configuration Store tables. This can be used to override the default storage location that the Risk Firewall uses.
 constant stringLEGACY_FIREWALL_SERVICEID := "__ObjectionBasedFirewallControllerExternal"

This constant value defines the serviceId that was used to send OMS events through the Legacy Risk Firewall.
 constant stringORDER_OPERATION_CACHE_MAX_ROWS := "ORDER_OPERATION_CACHE_MAX_ROWS"

This constant value defines the name of the configuration item used to configure the maximum rows for automatic purging of rows. This must be set in the factory upon creation, it cannot be changed after.
 constant stringORDER_OPERATION_CACHE_PATH_DEFAULT := "OrderOperationCache.sqlite"

The default file and path configuration value for the Risk Firewall Order Operation Store tables. This must be set in the factory upon creation, it cannot be changed after.
 constant stringORDER_OPERATION_CACHE_PATH_KEY := "OrderOperationCacheStorePath"

The configuration key value for setting the Risk Firewall default file and path for its Order Operation Store tables.
 constant stringORDER_OPERATION_CACHE_PURGE_INTERVAL := "ORDER_OPERATION_CACHE_PURGE_INTERVAL"

This constant value defines the name of the configuration item used to configure the purging interval in seconds for automatic purging of rows. This must be set in the factory upon creation, it cannot be changed after.
 constant stringORDER_OPERATION_CACHE_PURGE_TIME := "ORDER_OPERATION_CACHE_PURGE_TIME"

This constant value defines the name of the configuration item used to configure the purge time in the format "hh:mm:ss" for automatic purging of rows. This must be set in the factory upon creation, it cannot be changed after.
 constant stringORDER_OPERATION_CACHE_TIMEOUT := "ORDER_OPERATION_CACHE_TIMEOUT"

This constant value defines the name of the configuration item used to configure the timeout for automatic purging of rows. Used along with PURGE_INTERVAL or PURGE_TIME parameter. This must be set in the factory upon creation, it cannot be changed after.
 constant stringRISK_FIREWALL_SERVICE_TYPE := "RiskFirewall"

The name of the Risk Firewall Service that is registered with the CMF Service Framework.
 constant integerRULE_CLASS_PRIORITY_HIGH := 0

This constant defines the high priority value (zero) for a Rule Class.
 constant integerRULE_CLASS_PRIORITY_LOW := 100

This constant defines the low priority value (100) for a Rule Class.
 constant integerRULE_CLASS_PRIORITY_MEDIUM := 50

This constant defines the medium priority value (50) for a Rule Class. This is the default given to all Rule Classes when added.
 constant stringRULE_CLASS_STATE_PARAM_INSTANCE_COUNT := "INSTANCE_COUNT"

This constant value defines the name of the parameter containing the Rule Class instance count when getting a Rule Class Info.
 constant stringSLICE_EXCHANGEID := "SLICE_EXCHANGEID"

This constant value defines the name of the configuration item used to configure the set of exchangeIds that incoming order management events will be matched against in order to determine whether or not they need to be processed further.
 constant stringSLICE_EXTRAPARAM := "SLICE_EXTRAPARAM"

This constant value defines the name of the configuration item used to configure the set of extraParams that incoming order management events will be matched against in order to determine whether or not they need to be processed further.
 constant stringSLICE_MARKETID := "SLICE_MARKETID"

This constant value defines the name of the configuration item used to configure the set of marketIds that incoming order management events will be matched against in order to determine whether or not they need to be processed further.
 constant stringSLICE_SERVICEID := "SLICE_SERVICEID"

This constant value defines the name of the configuration item used to configure the set of serviceIds that incoming order management events will be matched against in order to determine whether or not they need to be processed further.
 constant stringSLICE_SYMBOL := "SLICE_SYMBOL"

This constant value defines the name of the configuration item used to configure the set of symbols that incoming order management events will be matched against in order to determine whether or not they need to be processed further.
 constant stringSLICE_TRADERID := "SLICE_TRADERID"

This constant value defines the name of the configuration item used to configure the set of traderIds that incoming order management events will be matched against in order to determine whether or not they need to be processed further.
 constant stringTARGET_SERVICE_EXTRAPARAM := "Firewall.TargetService"

This constant value defines the name of the target service in the extra params.
 
Constant Detail

CONFIG_ADD_QUERY_RESPONSE_FAIL

constant string CONFIG_ADD_QUERY_RESPONSE_FAIL := "ADD_QUERY_RESPONSE_FAIL"
This constant value defines the name of the configuration item used to configure whether failure responses from processing Query requests should be added to the Query response object. This is enabled by default.

CONFIG_ADD_QUERY_RESPONSE_PASS

constant string CONFIG_ADD_QUERY_RESPONSE_PASS := "ADD_QUERY_RESPONSE_PASS"
This constant value defines the name of the configuration item used to configure whether successful responses from processing Query requests should be added to the Query response object.

This is disabled by default, so only responses that generate a warning or an error will be added to the set of individual responses.

CONFIG_ADD_QUERY_RESPONSE_WARN

constant string CONFIG_ADD_QUERY_RESPONSE_WARN := "ADD_QUERY_RESPONSE_WARN"
This constant value defines the name of the configuration item used to configure whether warning responses from processing Query requests should be added to the Query response object. This is enabled by default.

CONFIG_BUSTED_FILL_DURATION

constant string CONFIG_BUSTED_FILL_DURATION := "BUSTED_FILL_DURATION"
This constant value defines the name of the configuration item used to configure the duration that the Risk Firewall will wait for updates to orders after they have been completed.

CONFIG_CHANGE_LATENCY_TIMESTAMPID_BASE

constant string CONFIG_CHANGE_LATENCY_TIMESTAMPID_BASE := "CHANGE_INBOUND_NEWORDER_TIMESTAMPID"
This constant value defines the name of the configuration item used to alter the base number for the latency timestamp identifiers for inbound and outbound order management events.

This may be useful if, for example, more than one Risk Firewall is used in the order management chain.

CONFIG_DEFAULT_ADD_QUERY_RESPONSE_FAIL

constant boolean CONFIG_DEFAULT_ADD_QUERY_RESPONSE_FAIL := true
This constant value defines the default value for whether failure responses from processing Query requests will be added to the Query response object. This is enabled by default.

CONFIG_DEFAULT_ADD_QUERY_RESPONSE_PASS

constant boolean CONFIG_DEFAULT_ADD_QUERY_RESPONSE_PASS := false
This constant value defines the default value for whether successful responses from processing Query requests will be added to the Query response object. This is disabled by default.

CONFIG_DEFAULT_ADD_QUERY_RESPONSE_WARN

constant boolean CONFIG_DEFAULT_ADD_QUERY_RESPONSE_WARN := true
This constant value defines the default value for whether warning responses from processing Query requests will be added to the Query response object. This is enabled by default.

CONFIG_DEFAULT_BUSTED_FILL_DURATION

constant float CONFIG_DEFAULT_BUSTED_FILL_DURATION := 5.0
This constant value defines the default value for the duration that the Risk Firewall will wait for updates to orders after they have been filled.

CONFIG_DEFAULT_ENABLE_LEGACY_MODE

constant boolean CONFIG_DEFAULT_ENABLE_LEGACY_MODE := false
This constant value defines the default value for the configuration item used to enable legacy mode of operation in the Risk Firewall.

CONFIG_DEFAULT_ENABLE_PERSISTENCE

constant boolean CONFIG_DEFAULT_ENABLE_PERSISTENCE := true
The Enable Persistence default configuration value is true.

CONFIG_DEFAULT_FAST_FAIL_MODE

constant boolean CONFIG_DEFAULT_FAST_FAIL_MODE := true
This constant value defines the default value for the Fast Fail Mode configuration.

CONFIG_DEFAULT_LATENCY_TIMESTAMPID_BASE

constant integer CONFIG_DEFAULT_LATENCY_TIMESTAMPID_BASE := 7000
This constant defines the default identifier that all inbound/outbound timestamps for the Risk Firewall will use as a base identifier. All of the timestamp identifiers will be offset from this base identifier.

CONFIG_DEFAULT_LOCKED_ON_CREATE

constant boolean CONFIG_DEFAULT_LOCKED_ON_CREATE := true
This constant value defines the default value for the whether or not the Risk Firewall is created in a locked state. By default, the Risk Firewall is always locked on creation, and applications must unlock it.

CONFIG_DEFAULT_LOG_AMEND_CANCEL_LATENCY_TIMESTAMPS

constant boolean CONFIG_DEFAULT_LOG_AMEND_CANCEL_LATENCY_TIMESTAMPS := true
This constant value defines the default value for whether to log latency timestamps for performance measurement for Amend and Cancel requests passed through the Risk Firewall.

This is enabled by default when inbound or outbound timestamps are enabled.

CONFIG_DEFAULT_LOG_INBOUND_LATENCY_TIMESTAMPS

constant boolean CONFIG_DEFAULT_LOG_INBOUND_LATENCY_TIMESTAMPS := false
This constant value defines the default value for whether to log latency timestamps for performance measurement for inbound order management events to the Risk Firewall. This is disabled by default.

CONFIG_DEFAULT_LOG_OUTBOUND_LATENCY_TIMESTAMPS

constant boolean CONFIG_DEFAULT_LOG_OUTBOUND_LATENCY_TIMESTAMPS := false
This constant value defines the default value for whether to log latency timestamps for performance measurement for outbound order management events from the Risk Firewall. This is disabled by default.

CONFIG_DEFAULT_REJECT_BY_DEFAULT

constant boolean CONFIG_DEFAULT_REJECT_BY_DEFAULT := true
This constant value defines the default value for the default rejection mode when slice criteria has been defined for the Risk Firewall.

CONFIG_DEFAULT_REJECTION_MODE

constant string CONFIG_DEFAULT_REJECTION_MODE := "HARD"
This constant value defines the default value of the Rejection Mode configuration key to use. By default this is to run the Risk Firewall in Hard Rejection Mode.

CONFIG_DEFAULT_SOFT_REJECT_DURATION

constant float CONFIG_DEFAULT_SOFT_REJECT_DURATION := 60.0
This constant value defines the default value for the duration that the Risk Firewall will pend orders when waiting for an override in Soft Rejection Mode.

CONFIG_DEFAULT_TIMEOUT_DURATION

constant float CONFIG_DEFAULT_TIMEOUT_DURATION := 5.0
This constant value defines the default value for the timeout duration configuration used for event communication.

CONFIG_ENABLE_LEGACY_MODE

constant string CONFIG_ENABLE_LEGACY_MODE := "ENABLE_LEGACY_MODE"
This constant value defines the name of the configuration item used to enable the legacy mode of operation in the Risk Firewall.

In this mode of operation, the Risk Firewall will listen for, and route approved OMS events in the same way as the legacy Risk Firewall did.

CONFIG_ENABLE_PERSISTENCE

constant string CONFIG_ENABLE_PERSISTENCE := "EnablePersistence"
The Enable Persistence configuration key that indicates whether or not persistence is enabled for the Risk Firewall. The default value is true.

CONFIG_FAST_FAIL_MODE

constant string CONFIG_FAST_FAIL_MODE := "FAST_FAIL_MODE"
This constant value defines the name of the configuration item used to configure whether the Risk Firewall will run in Fast Fail Mode.

This mode will reject an order on the first Query failure and the CombinedQueryResponse will only contain the single failure. If disabled, all Query failure/warning responses are colated into the CombinedQueryResponse event.

CONFIG_INBOUND_AMENDORDER_TIMESTAMPID_OFFSET

constant integer CONFIG_INBOUND_AMENDORDER_TIMESTAMPID_OFFSET := 2
This constant defines the offset used from the latency timestampId base for inbound AmendOrder timestamps.

CONFIG_INBOUND_CANCELORDER_TIMESTAMPID_OFFSET

constant integer CONFIG_INBOUND_CANCELORDER_TIMESTAMPID_OFFSET := 4
This constant defines the offset used from the latency timestampId base for inbound CancelOrder timestamps.

CONFIG_INBOUND_NEWORDER_TIMESTAMPID_OFFSET

constant integer CONFIG_INBOUND_NEWORDER_TIMESTAMPID_OFFSET := 0
This constant defines the offset used from the latency timestampId base for inbound NewOrder timestamps.

CONFIG_INBOUND_ORDERUPDATE_TIMESTAMPID_OFFSET

constant integer CONFIG_INBOUND_ORDERUPDATE_TIMESTAMPID_OFFSET := 6
This constant defines the offset used from the latency timestampId base for inbound OrderUpdate timestamps.

CONFIG_LOCKED_ON_CREATE

constant string CONFIG_LOCKED_ON_CREATE := "LOCKED_ON_CREATE"
This constant value defines the name of the configuration item used to configure whether or not the Risk Firewall is created in a locked state.

CONFIG_LOG_AMEND_CANCEL_LATENCY_TIMESTAMPS

constant string CONFIG_LOG_AMEND_CANCEL_LATENCY_TIMESTAMPS := "LOG_AMEND_CANCEL_LATENCY_TIMESTAMPS"
This constant value defines the name of the configuration item used to configure whether to log latency timestamps for performance measurement for Amend and Cancel requests passed through the Risk Firewall.

This is enabled by default when inbound or outbound timestamps are enabled.

CONFIG_LOG_INBOUND_LATENCY_TIMESTAMPS

constant string CONFIG_LOG_INBOUND_LATENCY_TIMESTAMPS := "LOG_INBOUND_LATENCY_TIMESTAMPS"
This constant value defines the name of the configuration item used to configure whether to log latency timestamps for performance measurement of inbound order management events to the Risk Firewall. This is disabled by default.

CONFIG_LOG_OUTBOUND_LATENCY_TIMESTAMPS

constant string CONFIG_LOG_OUTBOUND_LATENCY_TIMESTAMPS := "LOG_OUTBOUND_LATENCY_TIMESTAMPS"
This constant value defines the name of the configuration item used to configure whether to log latency timestamps for performance measurement of outbound order management events from the Risk Firewall. This is disabled by default.

CONFIG_OUTBOUND_AMENDORDER_TIMESTAMPID_OFFSET

constant integer CONFIG_OUTBOUND_AMENDORDER_TIMESTAMPID_OFFSET := 3
This constant defines the offset used from the latency timestampId base for outbound AmendOrder timestamps.

CONFIG_OUTBOUND_CANCELORDER_TIMESTAMPID_OFFSET

constant integer CONFIG_OUTBOUND_CANCELORDER_TIMESTAMPID_OFFSET := 5
This constant defines the offset used from the latency timestampId base for outbound CancelOrder timestamps.

CONFIG_OUTBOUND_NEWORDER_TIMESTAMPID_OFFSET

constant integer CONFIG_OUTBOUND_NEWORDER_TIMESTAMPID_OFFSET := 1
This constant defines the offset used from the latency timestampId base for outbound NewOrder timestamps.

CONFIG_OUTBOUND_ORDERUPDATE_TIMESTAMPID_OFFSET

constant integer CONFIG_OUTBOUND_ORDERUPDATE_TIMESTAMPID_OFFSET := 7
This constant defines the offset used from the latency timestampId base for outbound OrderUpdate timestamps.

CONFIG_RECOVERED_RULE_INSTANCE_ID

constant string CONFIG_RECOVERED_RULE_INSTANCE_ID := "RECOVERED_RULE_INSTANCE_ID"
This configuration key is added by the Risk Firewall to the Rule Class instance configuration parameters when recovering a Rule Class instance from persistence.

This provides the originally Rule Class instance identifier that was used, so that a custom Rule Class implementation can use it as a key to perform any recovery of information for that Rule Class instance they require.

CONFIG_REJECT_BY_DEFAULT

constant string CONFIG_REJECT_BY_DEFAULT := "REJECT_BY_DEFAULT"
This constant value defines the name of the configuration item used to configure whether the Risk Firewall will approve or reject orders if they do not match any slice criteria that has been defined for the Risk Firewall.

This is used to define a white list/black list behaviour in the Risk Firewall for orders that do not match a known criteria.

CONFIG_REJECTION_MODE

constant string CONFIG_REJECTION_MODE := "REJECTION_MODE"
This constant value defines the name of the configuration item used to configure what Rejection Mode the Risk Firewall will run in.

CONFIG_REJECTION_MODE_HARD

constant string CONFIG_REJECTION_MODE_HARD := "HARD"
This constant value defines the value of the Rejection Mode configuration key to run Risk Firewall in Hard Rejection Mode (default).

CONFIG_REJECTION_MODE_MONITOR

constant string CONFIG_REJECTION_MODE_MONITOR := "MONITOR"
This constant value defines the value of the Rejection Mode configuration key to run Risk Firewall in Monitor/Alert-Only Rejection Mode.

CONFIG_REJECTION_MODE_SOFT

constant string CONFIG_REJECTION_MODE_SOFT := "SOFT"
This constant value defines the value of the Rejection Mode configuration key to run Risk Firewall in Soft Rejection Mode.

CONFIG_SOFT_REJECT_DURATION

constant string CONFIG_SOFT_REJECT_DURATION := "SOFT_REJECT_DURATION"
This constant value defines the name of the configuration item used to configure the duration that the Risk Firewall will pend orders when waiting for an override in Soft Rejection Mode.

CONFIG_TARGET_SERVICE_EXTRA_PARAM

constant string CONFIG_TARGET_SERVICE_EXTRA_PARAM := "Firewall.TargetService"
This constant value defines the key name in the OMS events extra params whose value indicates the actual ServiceId to send the OMS event to.

This is defined for use by the Risk Firewall when used in the legacy mode.

CONFIG_TIMEOUT_DURATION

constant string CONFIG_TIMEOUT_DURATION := "TIMEOUT_DURATION"
This constant value defines the name of the configuration item used to configure the timeout duration for event communication.

CONFIGSTORE_PATH_DEFAULT

constant string CONFIGSTORE_PATH_DEFAULT := "RiskFirewall.sqlite"
The default file and path configuration value for the Risk Firewall Configuration Store tables.

CONFIGSTORE_PATH_KEY

constant string CONFIGSTORE_PATH_KEY := "ConfigStorePath"
The configuration key value for setting the Risk Firewall default file and path for its Configuration Store tables. This can be used to override the default storage location that the Risk Firewall uses.

LEGACY_FIREWALL_SERVICEID

constant string LEGACY_FIREWALL_SERVICEID := "__ObjectionBasedFirewallControllerExternal"
This constant value defines the serviceId that was used to send OMS events through the Legacy Risk Firewall.

This is defined for use by the Risk Firewall when used in the Legacy mode. Only the Risk Firewall should be routing Order Updates to this Service Id, no other service or client code should do this.

ORDER_OPERATION_CACHE_MAX_ROWS

constant string ORDER_OPERATION_CACHE_MAX_ROWS := "ORDER_OPERATION_CACHE_MAX_ROWS"
This constant value defines the name of the configuration item used to configure the maximum rows for automatic purging of rows. This must be set in the factory upon creation, it cannot be changed after.

ORDER_OPERATION_CACHE_PATH_DEFAULT

constant string ORDER_OPERATION_CACHE_PATH_DEFAULT := "OrderOperationCache.sqlite"
The default file and path configuration value for the Risk Firewall Order Operation Store tables. This must be set in the factory upon creation, it cannot be changed after.

ORDER_OPERATION_CACHE_PATH_KEY

constant string ORDER_OPERATION_CACHE_PATH_KEY := "OrderOperationCacheStorePath"
The configuration key value for setting the Risk Firewall default file and path for its Order Operation Store tables.

This can be used to override the default storage location that the Risk Firewall uses. This must be set in the factory upon creation, it cannot be changed after.

ORDER_OPERATION_CACHE_PURGE_INTERVAL

constant string ORDER_OPERATION_CACHE_PURGE_INTERVAL := "ORDER_OPERATION_CACHE_PURGE_INTERVAL"
This constant value defines the name of the configuration item used to configure the purging interval in seconds for automatic purging of rows. This must be set in the factory upon creation, it cannot be changed after.

ORDER_OPERATION_CACHE_PURGE_TIME

constant string ORDER_OPERATION_CACHE_PURGE_TIME := "ORDER_OPERATION_CACHE_PURGE_TIME"
This constant value defines the name of the configuration item used to configure the purge time in the format "hh:mm:ss" for automatic purging of rows. This must be set in the factory upon creation, it cannot be changed after.

ORDER_OPERATION_CACHE_TIMEOUT

constant string ORDER_OPERATION_CACHE_TIMEOUT := "ORDER_OPERATION_CACHE_TIMEOUT"
This constant value defines the name of the configuration item used to configure the timeout for automatic purging of rows. Used along with PURGE_INTERVAL or PURGE_TIME parameter. This must be set in the factory upon creation, it cannot be changed after.

RISK_FIREWALL_SERVICE_TYPE

constant string RISK_FIREWALL_SERVICE_TYPE := "RiskFirewall"
The name of the Risk Firewall Service that is registered with the CMF Service Framework.

RULE_CLASS_PRIORITY_HIGH

constant integer RULE_CLASS_PRIORITY_HIGH := 0
This constant defines the high priority value (zero) for a Rule Class.
See Also:
com.apama.firewall.RiskFirewall#setRuleClassPriority - 

RULE_CLASS_PRIORITY_LOW

constant integer RULE_CLASS_PRIORITY_LOW := 100
This constant defines the low priority value (100) for a Rule Class.
See Also:
com.apama.firewall.RiskFirewall#setRuleClassPriority - 

RULE_CLASS_PRIORITY_MEDIUM

constant integer RULE_CLASS_PRIORITY_MEDIUM := 50
This constant defines the medium priority value (50) for a Rule Class. This is the default given to all Rule Classes when added.
See Also:
com.apama.firewall.RiskFirewall#setRuleClassPriority - 

RULE_CLASS_STATE_PARAM_INSTANCE_COUNT

constant string RULE_CLASS_STATE_PARAM_INSTANCE_COUNT := "INSTANCE_COUNT"
This constant value defines the name of the parameter containing the Rule Class instance count when getting a Rule Class Info.
See Also:
com.apama.firewall.RiskFirewall#getRuleClassInfo - 
com.apama.firewall.RiskFirewall#getAllRuleClassInfo - 

SLICE_EXCHANGEID

constant string SLICE_EXCHANGEID := "SLICE_EXCHANGEID"
This constant value defines the name of the configuration item used to configure the set of exchangeIds that incoming order management events will be matched against in order to determine whether or not they need to be processed further.

The value of this configuration parameter must be a sequence<string>.

SLICE_EXTRAPARAM

constant string SLICE_EXTRAPARAM := "SLICE_EXTRAPARAM"
This constant value defines the name of the configuration item used to configure the set of extraParams that incoming order management events will be matched against in order to determine whether or not they need to be processed further.

The value of this configuration parameter must be a dictionary<string, sequence<string> >, which defines a set of extraParam keys, and allows for a set of appropriate values to be matched for that key.

SLICE_MARKETID

constant string SLICE_MARKETID := "SLICE_MARKETID"
This constant value defines the name of the configuration item used to configure the set of marketIds that incoming order management events will be matched against in order to determine whether or not they need to be processed further.

SLICE_SERVICEID

constant string SLICE_SERVICEID := "SLICE_SERVICEID"
This constant value defines the name of the configuration item used to configure the set of serviceIds that incoming order management events will be matched against in order to determine whether or not they need to be processed further.

SLICE_SYMBOL

constant string SLICE_SYMBOL := "SLICE_SYMBOL"
This constant value defines the name of the configuration item used to configure the set of symbols that incoming order management events will be matched against in order to determine whether or not they need to be processed further.

SLICE_TRADERID

constant string SLICE_TRADERID := "SLICE_TRADERID"
This constant value defines the name of the configuration item used to configure the set of traderIds that incoming order management events will be matched against in order to determine whether or not they need to be processed further.

The value of this configuration parameter must be a sequence<string>.

TARGET_SERVICE_EXTRAPARAM

constant string TARGET_SERVICE_EXTRAPARAM := "Firewall.TargetService"
This constant value defines the name of the target service in the extra params.