# Maker Stream Rules Source: https://documentation-external.onezero.com:4434/Hub_help_9_0/Content/HubReferences/Settings/SymbolSettings/Maker%20Related%20Settings/Maker_Rules.htm Maker Stream Rules Use these settings to apply spreads and other rules to Maker quotes before any Settings Rules are applied. The Maker Spread Rules and Maker Quote Rules are row-level settings configured for each Maker Stream Rule. Viewing and Editing Row-Level Settings To view row-level settings, click the arrow on the left. To move a row, click  and drag and drop the row. To delete a row, double click . To duplicate a row, click . Setting Description Value / Example Setting Description Value / Example Maker Stream ID Makers this rule applies to. Examples: regex[] * Maker Stream ID Makers this rule applies to. Examples: regex[] * 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: regex[] * 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: regex[] * 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-group 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-group of FOREX (e.g. FOREX/BAML/MINOR) Maker Symbol The identifier used by a Maker to provide a symbol. If a Maker provides a different core symbol identifier than the core symbol used in the Hub, enter that Maker symbol here. This may be a direct replacement string, or a regular expression replacement filter (regex[). Note: When field is left empty, the Maker Symbol is the same as the Core Symbol. Enable Debug Logging in Common Settings to output detailed mapping process information containing how rules are matched against symbols, as well as sub-expressions in the Maker Symbol field for reference. Guidelines: * (wildcard) not permitted Regular expression replacement filters can refer to the entire match of the Core Symbol filter using $&, and any parenthesized sub-expression matched by their number. Examples: Core Symbol Field Maker Symbol Field Resulting Maker Symbol * EUR/USD * regex[#$&] #EUR/USD regex[(\w\w\w)/(\w\w\w)] EUR/USD regex[(\w\w\w)/(\w\w\w)] regex[!$&] !EUR/USD regex[(\w\w\w)/(\w\w\w)] regex[$1$2] EURUSD * regex{@@$&] @@EUR/USD Maker Symbol The identifier used by a Maker to provide a symbol. If a Maker provides a different core symbol identifier than the core symbol used in the Hub, enter that Maker symbol here. This may be a direct replacement string, or a regular expression replacement filter (regex[). Note: When field is left empty, the Maker Symbol is the same as the Core Symbol. Enable Debug Logging in Common Settings to output detailed mapping process information containing how rules are matched against symbols, as well as sub-expressions in the Maker Symbol field for reference. Guidelines: * (wildcard) not permitted Regular expression replacement filters can refer to the entire match of the Core Symbol filter using $&, and any parenthesized sub-expression matched by their number. Examples: Core Symbol Field Maker Symbol Field Resulting Maker Symbol Core Symbol Field Maker Symbol Field Resulting Maker Symbol * EUR/USD * EUR/USD * regex[#$&] #EUR/USD * regex[#$&] #EUR/USD regex[(\w\w\w)/(\w\w\w)] EUR/USD regex[(\w\w\w)/(\w\w\w)] EUR/USD regex[(\w\w\w)/(\w\w\w)] regex[!$&] !EUR/USD regex[(\w\w\w)/(\w\w\w)] regex[!$&] !EUR/USD regex[(\w\w\w)/(\w\w\w)] regex[$1$2] EURUSD regex[(\w\w\w)/(\w\w\w)] regex[$1$2] EURUSD * regex{@@$&] @@EUR/USD * regex{@@$&] @@EUR/USD Session Profile Name Session Profile that is associated with this Maker Stream Rule. This determines the days and times at which the rules are applied to the symbol or symbol group. Session Profile Session Profile Name Session Profile that is associated with this Maker Stream Rule. This determines the days and times at which the rules are applied to the symbol or symbol group. Session Profile Maker Spread Rules dictate how the spread is determined for this Maker symbol. 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 Value / Example Setting Description Value / Example Provider Filter the aggregate for a single provider from the Maker feed if the Maker's quotes are from an aggregated feed of multiple banks. If set, these spreads only applies to quotes with providers that pass this filter. Examples: regex[] * Provider Filter the aggregate for a single provider from the Maker feed if the Maker's quotes are from an aggregated feed of multiple banks. If set, these spreads only applies to quotes with providers that pass this filter. Examples: regex[] * Bid Spread Points Bid spread to apply to quotes passed through this Maker Stream Rule. Integer Bid Spread Points Bid spread to apply to quotes passed through this Maker Stream Rule. Integer Ask Spread Points Ask spread to apply to quotes passed through this Maker Stream Rule. Integer Ask Spread Points Ask spread to apply to quotes passed through this Maker Stream Rule. Integer Maker Quote Rules dictate how trade volume properties for quotes from this Maker are configured. 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 Value/ Example Setting Description Value/ Example Provider Filter the aggregate for a single provider from the Maker feed if the Maker's quotes are from an aggregated feed of multiple banks. If set, this rule only applies to quotes with providers that pass this filter. Examples: regex[] * Provider Filter the aggregate for a single provider from the Maker feed if the Maker's quotes are from an aggregated feed of multiple banks. If set, this rule only applies to quotes with providers that pass this filter. Examples: regex[] * Trade Volume Step Size Volume step size to use for executions on this symbol. Integer Trade Volume Step Size Volume step size to use for executions on this symbol. Integer Trade Volume Min Quantity Minimum allowed quantity to use for executions on this symbol. Integer Trade Volume Min Quantity Minimum allowed quantity to use for executions on this symbol. Integer Use regex filters to determine which Core Symbols are always loaded and mapped through the Maker Stream rules. Under normal circumstances, core symbols are only loaded if the Maker is included a Taker Stream. This allows the maker to load core symbol information even if the Maker is not in any Taker Stream (e.g. a trade only maker). Setting Description Regex field Enter regex filters in this field.