# Risk Management Rules Source: https://documentation-external.onezero.com:4434/Hub_help_9_0/Content/HubReferences/Settings/SymbolSettings/SymbolsSettings/Risk_Management_Rules_Table.htm Risk Management Rules Customize Risk Management feeds for particular symbols, which are used for pricing throughout the Hub (e.g. exposure, margin). By default, symbols are priced using an Advanced Aggregation model (see Feed Types). These Risk Management Rules allow you to override this pricing model for certain symbols, and instead use a Failover or Exchange model, as well as control the ordering of Makers within the chosen model. Rules are evaluated in order from top to bottom until a match is found. This means that rule order is critical. Broadly applicable rule sets must come after narrow rule sets. If no match is found, the incoming trade request is processed normally or according to the default rule set, if applicable. If no rules match a particular symbol, risk management pricing for that symbol defaults to Advanced Aggregation on all Makers. Setting Description Value / Example Setting Description Value / Example Core Symbol The core symbol that the rule applies to. Values in this field must exist in the Core Symbol column of the Symbols table. Examples: * = any symbol regex[] = match symbol to regular expression CCY1/CCY2 Core Symbol The core symbol that the rule applies to. Values in this field must exist in the Core Symbol column of the Symbols table. Examples: * = any symbol regex[] = match symbol to regular expression CCY1/CCY2 Symbol Group Path The Symbol Group Path that the rule applies to. Examples: * = matches all groups and sub-groups FOREX = matches only symbols that use the Symbol Group Path FOREX, but not any symbols in FOREX's sub-groups. FOREX/* = matches symbols with the Symbol Group Path of FOREX and any other Symbol Group Path that is a sub-broup of FOREX (e.g. FOREX/BAML/MINOR) Symbol Group Path The Symbol Group Path that the rule applies to. Examples: * = matches all groups and sub-groups FOREX = matches only symbols that use the Symbol Group Path FOREX, but not any symbols in FOREX's sub-groups. FOREX/* = matches symbols with the Symbol Group Path of FOREX and any other Symbol Group Path that is a sub-broup of FOREX (e.g. FOREX/BAML/MINOR) Type Determines how quotes from multiple Makers are fed into the risk management Taker Stream. Options: Exchange: Single feed from a list of (1..n) Makers, ranked in order of precedence. The first Maker that is connected always determines the price feed. Failover: Single feed with failover to a list of (1..n) Makers, ranked in order of precedence. Failover is initiated on disconnect, or when OmniPlugin/OmniGateway setting QuoteFailoverThresholdTimeS is reached. Feed reverts to higher ranking Makers in precedence list when they reconnect or a new quote is received. Aggregation: Blended feed from pool of (1...n) Makers. Type Determines how quotes from multiple Makers are fed into the risk management Taker Stream. Options: Exchange: Single feed from a list of (1..n) Makers, ranked in order of precedence. The first Maker that is connected always determines the price feed. Failover: Single feed with failover to a list of (1..n) Makers, ranked in order of precedence. Failover is initiated on disconnect, or when OmniPlugin/OmniGateway setting QuoteFailoverThresholdTimeS is reached. Feed reverts to higher ranking Makers in precedence list when they reconnect or a new quote is received. Aggregation: Blended feed from pool of (1...n) Makers. Maker Stream IDs Defines the order in which quote Makers feed into the risk management Taker Stream. If this rule matches a symbol that the Maker doesn't already quote on in a Taker Stream, the Maker is subscribed to receive quotes for that symbol. Notes: Makers can be added with their priority rearranged for the risk management Taker Stream. Once added, Makers cannot be dynamically removed from a risk management Taker Stream unless the Hub is restarted. Example: Makers A, B, and C provide pricing for EUR/USD, and the EUR/USD rule contains a Maker list of {C, A} using Failover type. Risk management pricing uses quotes from Maker C until it fails over to Maker A. If Maker A also fails to provide quotes, risk management pricing comes from Maker B. Maker Stream IDs Defines the order in which quote Makers feed into the risk management Taker Stream. If this rule matches a symbol that the Maker doesn't already quote on in a Taker Stream, the Maker is subscribed to receive quotes for that symbol. Notes: Makers can be added with their priority rearranged for the risk management Taker Stream. Once added, Makers cannot be dynamically removed from a risk management Taker Stream unless the Hub is restarted. Example: Makers A, B, and C provide pricing for EUR/USD, and the EUR/USD rule contains a Maker list of {C, A} using Failover type. Risk management pricing uses quotes from Maker C until it fails over to Maker A. If Maker A also fails to provide quotes, risk management pricing comes from Maker B.