# Gap Level Mappings Source: https://documentation-external.onezero.com:4434/Hub_help_9_0/Content/HubReferences/Settings/OrderRoutingSettings/Order_Routing_GapLevelMappings.htm Gap Level Mappings Gap Level Mappings group orders based on a number of criteria, so that you can determine pricing for them in the Gap Level Profiles section. 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. Setting Description Taker Entity The Taker Entity to which the rule applies. Taker Login The Taker Login to which the rule applies. The Taker Login to which the rule applies. Taker Group The Taker Group to which the rule applies if Taker Login is set to all (*). Taker Color Routes MT4 and MT5 orders by the account Color value sent with the order request. Use this setting to apply a Gap Level Mapping only to orders from accounts with a matching MT4 or MT5 account Color. Options: Match All: Leave the color empty to match any Taker Color, including orders with no color value and orders with a Taker Color of None. (This is the default.) Match None: Matches only orders where the MT4 or MT5 account Color is explicitly set to None and that value is sent with the order request. Named or custom color: Select a named color, or specify a custom color using RGB values, to match only orders whose Taker Color exactly matches the selected color. Routing behavior: If IncludeUserColorInOrders is disabled, the order has no color value and can only match Match All. If IncludeUserColorInOrders is enabled and the MT4 or MT5 account Color is set to None, the order has a Taker Color of 'None' and can match Match All or Match None. If IncludeUserColorInOrders is enabled and the MT4 or MT5 account Color is set to a specific color, the order has that Taker Color and can match Match All or an exact match to that color. Notes: For MT4 and MT5 orders, IncludeUserColorInOrders must be enabled on the relevant Omni Plugin or Gateway before the Hub can use the account Color for routing. When it is disabled, empty colors are sent, which is functionally different an order where the account color is explicitly set to None. Orders with empty color values can only match a Match All or * Taker Color rule. Taker Color uses exact matching. It does not support regex, wildcard patterns, free-text color names, or partial matching. Routes MT4 and MT5 orders by the account Color value sent with the order request. Use this setting to apply a Gap Level Mapping only to orders from accounts with a matching MT4 or MT5 account Color. Options: Match All: Leave the color empty to match any Taker Color, including orders with no color value and orders with a Taker Color of None. (This is the default.) Match All: Leave the color empty to match any Taker Color, including orders with no color value and orders with a Taker Color of None. (This is the default.) Match None: Matches only orders where the MT4 or MT5 account Color is explicitly set to None and that value is sent with the order request. Match None: Matches only orders where the MT4 or MT5 account Color is explicitly set to None and that value is sent with the order request. Named or custom color: Select a named color, or specify a custom color using RGB values, to match only orders whose Taker Color exactly matches the selected color. Named or custom color: Select a named color, or specify a custom color using RGB values, to match only orders whose Taker Color exactly matches the selected color. Routing behavior: If IncludeUserColorInOrders is disabled, the order has no color value and can only match Match All. If IncludeUserColorInOrders is disabled, the order has no color value and can only match Match All. If IncludeUserColorInOrders is enabled and the MT4 or MT5 account Color is set to None, the order has a Taker Color of 'None' and can match Match All or Match None. If IncludeUserColorInOrders is enabled and the MT4 or MT5 account Color is set to None, the order has a Taker Color of 'None' and can match Match All or Match None. If IncludeUserColorInOrders is enabled and the MT4 or MT5 account Color is set to a specific color, the order has that Taker Color and can match Match All or an exact match to that color. If IncludeUserColorInOrders is enabled and the MT4 or MT5 account Color is set to a specific color, the order has that Taker Color and can match Match All or an exact match to that color. Notes: For MT4 and MT5 orders, IncludeUserColorInOrders must be enabled on the relevant Omni Plugin or Gateway before the Hub can use the account Color for routing. When it is disabled, empty colors are sent, which is functionally different an order where the account color is explicitly set to None. Orders with empty color values can only match a Match All or * Taker Color rule. For MT4 and MT5 orders, IncludeUserColorInOrders must be enabled on the relevant Omni Plugin or Gateway before the Hub can use the account Color for routing. When it is disabled, empty colors are sent, which is functionally different an order where the account color is explicitly set to None. Orders with empty color values can only match a Match All or * Taker Color rule. Taker Color uses exact matching. It does not support regex, wildcard patterns, free-text color names, or partial matching. Taker Color uses exact matching. It does not support regex, wildcard patterns, free-text color names, or partial matching. Core Symbol The Core Symbol to which this rule applies. Examples: regex[] * The Core Symbol to which this rule applies. Examples: regex[] * Symbol Group Path The Symbol Group Path that the rule applies to. Input Order Type The type of order to which the rule applies. Options: Any Instant Market Limit Stop Previously quoted Exchange Note: Applies only to warehoused orders. The type of order to which the rule applies. Options: Any Instant Market Limit Stop Previously quoted Exchange Note: Applies only to warehoused orders. Input Time in Force The time in force setting for orders to which this rule applies. Options: Any GTC IOC FOK The time in force setting for orders to which this rule applies. Options: Any GTC IOC FOK MT Order Type Restriction The order type restriction on MetaTrader orders to which this rule applies. Options: Any Open Close The order type restriction on MetaTrader orders to which this rule applies. Options: Any Open Close Gap Level Profile Name The name of the Gap Level Profile into which orders matching this rule are sorted. Taker Status Taker Status is a value provided by the MetaTrader server at the user account level. This value can be leveraged within order routing mapping rules, allowing brokers to implement more granular and tailored risk management strategies for MetaTrader accounts. By incorporating Taker Status into mapping rules, you can enhance flexibility and control over decision making. Note: The Hub only receives the Taker Status if the IncludeUserStatusInOrder setting is enabled in the MT4 OmniPlugin or MT5 OmniGateway. Taker Status is a value provided by the MetaTrader server at the user account level. This value can be leveraged within order routing mapping rules, allowing brokers to implement more granular and tailored risk management strategies for MetaTrader accounts. By incorporating Taker Status into mapping rules, you can enhance flexibility and control over decision making. Note: The Hub only receives the Taker Status if the IncludeUserStatusInOrder setting is enabled in the MT4 OmniPlugin or MT5 OmniGateway.