# OZFIX Replication Trade Capture Adapter Settings Source: https://documentation-external.onezero.com:4434/Hub_help_9_0/Content/HubReferences/Settings/OZFIX_RTCA_Settings.htm OZFIX Replication Trade Capture Adapter Settings The Replication Trade Capture Adapter (RTCA) allows you to replicate trades placed by your Takers. Configure a connection to pull trade data from either the Risk Management Feed or the FIX Post Trade Reporter (FIX PTR), and set up Order Matching Rules to precisely control how trades are replicated. Recommendation: The Risk Management Feed method of retrieving trade data is recommended, as it is faster than the FIX messaging method. For more information, see the RTCA Feature booklet. Some settings are not contained in a dropdown section of the OZFIX Replication Trade Capture Adapter Settings page. Those settings are covered in the following table. Note: Settings within the expandable section titled Miscellaneous are covered in the Miscellaneous dropdown on this page. FIX Message Store Type Setting Description Setting Description FIX Message Store Type Determines how messages are stored, which impacts safety and performance. Options: FileStore — Unconfirmed FIX messages are stored in a file. If a session is disconnected, the unconfirmed messages can be replayed even after a restart. NullStore — Unconfirmed FIX messages are not stored in a file. Instead, only the current sequence IDs are stored. If a session is dropped, nothing is replayed upon reconnection. FIX Message Store Type Determines how messages are stored, which impacts safety and performance. Options: FileStore — Unconfirmed FIX messages are stored in a file. If a session is disconnected, the unconfirmed messages can be replayed even after a restart. NullStore — Unconfirmed FIX messages are not stored in a file. Instead, only the current sequence IDs are stored. If a session is dropped, nothing is replayed upon reconnection. FIX Logging, Events, and Dictionary Setting Description Setting Description Full FIX Logging If enabled, FIX logging records complete messages. Full FIX Logging If enabled, FIX logging records complete messages. Log FIX Events If enabled, FIX event messages are sent to the Hub log. Note: FIX-specific log files are stored independently of this setting, and only show FIX events if With Annotations is enabled. Log FIX Events If enabled, FIX event messages are sent to the Hub log. Note: FIX-specific log files are stored independently of this setting, and only show FIX events if With Annotations is enabled. FIX Dictionary XML Filename The XML file name for the data dictionary. Guideline: The file path "base/Resources/Name.XML" is used automatically. Example: Entering "FD1" here creates a file with the path "base/Resources/FD1.xml". FIX Dictionary XML Filename The XML file name for the data dictionary. Guideline: The file path "base/Resources/Name.XML" is used automatically. Example: Entering "FD1" here creates a file with the path "base/Resources/FD1.xml". Other Settings Setting Description Setting Description Enable Logging About Ignored Risk Management Feed Messages If enabled, when messages received from the Risk Management Feed are ignored, the Replication Trade Capture Adapter logs information about why. Note: This may lead to excessive logging, and should typically be disabled unless troubleshooting. Enable Logging About Ignored Risk Management Feed Messages If enabled, when messages received from the Risk Management Feed are ignored, the Replication Trade Capture Adapter logs information about why. Note: This may lead to excessive logging, and should typically be disabled unless troubleshooting. The FIX connections settings are used to connect the RTCA to the FIX PTR. Click Add Row to add a connection, and enter the connection information configured in FIX Post Trade Reporter >> Session Settings >> Session Instances. Setting Description Setting Description Enabled If enabled, enables the connection to the PTR. Enabled If enabled, enables the connection to the PTR. Host Host IP address to which the adapter connects. Uses the configuration IP address from the FIX PTR Session. Host Host IP address to which the adapter connects. Uses the configuration IP address from the FIX PTR Session. Port Host port to which the adapter connects. Uses the port number from the PTR Session. Port Host port to which the adapter connects. Uses the port number from the PTR Session. Trade Capture ID A unique name for the trade capture. This name shows up in logging and on the RTCA connection on the Status page. Guideline: Spaces not allowed. Trade Capture ID A unique name for the trade capture. This name shows up in logging and on the RTCA connection on the Status page. Guideline: Spaces not allowed. Start Day Start and stop days of the week to run the RTCA. Start Day Start and stop days of the week to run the RTCA. End Day End Day Start Time Start and stop times of the day to run the RTCA. Guideline: HH:MM:SS:UUUUUU UTC format. Start Time Start and stop times of the day to run the RTCA. Guideline: HH:MM:SS:UUUUUU UTC format. End Time End Time Heartbeat Interval to send heartbeat to confirm connection. Guideline: Defaults to 60 for one heartbeat every 60 seconds. Heartbeat Interval to send heartbeat to confirm connection. Guideline: Defaults to 60 for one heartbeat every 60 seconds. Force Seq Reset If enabled, the FIX connection sequence number resets on login, logout, and disconnect. Force Seq Reset If enabled, the FIX connection sequence number resets on login, logout, and disconnect. Sender Comp ID Enter the Target Comp ID in FIX Post Trade Reporter >> Session Settings >> Session Instances. Sender Comp ID Enter the Target Comp ID in FIX Post Trade Reporter >> Session Settings >> Session Instances. Target Comp ID Enter the Sender Comp ID in FIX Post Trade Reporter >> Session Settings >> Session Instances. Target Comp ID Enter the Sender Comp ID in FIX Post Trade Reporter >> Session Settings >> Session Instances. FIX Logging Type Determines how FIX messages sent through the RTCA are logged. Options: Binary ⁠— FIX logs are saved as .fbl files, which are readable only using the FIX Log Viewer tool. Binary FIX files are more compact than text logged files and use less disk IOPS. Text ⁠— FIX logs are saved as standard text files. This option uses substantially more disk space and IOPS, but produces text files that can be opened in any text editor. Both ⁠— Creates both binary and text logs. None ⁠— Disables full FIX logging. With Annotations ⁠— FIX logs include additional information with each logged FIX message. Notes: When using Full FIX Logging, hard drive usage should be actively monitored, as FIX quote logging can consume large amounts of hard drive space quickly. This setting is only recommended for troubleshooting purposes and is unchecked by default. FIX Logging Type Determines how FIX messages sent through the RTCA are logged. Options: Binary ⁠— FIX logs are saved as .fbl files, which are readable only using the FIX Log Viewer tool. Binary FIX files are more compact than text logged files and use less disk IOPS. Text ⁠— FIX logs are saved as standard text files. This option uses substantially more disk space and IOPS, but produces text files that can be opened in any text editor. Both ⁠— Creates both binary and text logs. None ⁠— Disables full FIX logging. With Annotations ⁠— FIX logs include additional information with each logged FIX message. Notes: When using Full FIX Logging, hard drive usage should be actively monitored, as FIX quote logging can consume large amounts of hard drive space quickly. This setting is only recommended for troubleshooting purposes and is unchecked by default. Use these settings to configure a connection to the Risk Management Feed. The Risk Management Feed uses RabbitMQ to export raw trade data. Configure the connection settings to connect to the RabbitMQ service, which is configured in the Hub App Settings. In the Risk Management Feed Filter section, specify the types of requests and acceptor classifiers to choose which types of incoming trades to allow. Notes: Connections are tiered, with priority arriving at the top-most connection in the list. See RabbitMQ documentation for more details. Setting Description Setting Description Enabled If enabled, enables the connection to the Risk Management Feed. Enabled If enabled, enables the connection to the Risk Management Feed. Hostname Hostname used for the RabbitMQ connection. Hostname Hostname used for the RabbitMQ connection. Port Port number used for the RabbitMQ connection. Port Port number used for the RabbitMQ connection. Channel The channel through which the Rabbit MQ connection receives trade messages. Guideline: Defaults to 1. Channel The channel through which the Rabbit MQ connection receives trade messages. Guideline: Defaults to 1. Username Username for the RabbitMQ connection. Username Username for the RabbitMQ connection. Password Password for the RabbitMQ connection. Password Password for the RabbitMQ connection. Heartbeat Seconds Interval between sending heartbeats to test connection status. Heartbeat Seconds Interval between sending heartbeats to test connection status. AMQP Exchange Name Alphanumeric name of the AMQP exchange the RabbitMQ connection uses, if applicable. AMQP Exchange Name Alphanumeric name of the AMQP exchange the RabbitMQ connection uses, if applicable. Routing Key The routing key for the exchange. Note: The Routing Key is ignored for fanout-type AMQP exchanges. Routing Key The routing key for the exchange. Note: The Routing Key is ignored for fanout-type AMQP exchanges. Trade Capture ID Name of the trade capture. Trade Capture ID Name of the trade capture. Configure these settings to narrow down incoming trade requests by type, Taker account, login, symbol, and other details. Request Types Determine, based on origin, which requests the RTCA acts on. To add request types, click Add Row and select a Request Type from the dropdown. Options: None — No requests. Taker Adapter — Requests placed by the Hub's Taker Adapters. Adjustment — Requests placed for database adjustments. Broker — Requests placed by broker accounts. Auto Liquidation — Automated trade requests related to auto-liquidation. Swaps — Cost-of-carry interest for position requests. Taker API — Requests placed via Taker API. Trade Capture Adjustments — Requests placed for trade capture database adjustments. Acceptor Classifiers Rules that determine accepted Taker accounts, logins, symbols, and other details. Define a rule and create a Classifier ID to use in the Order Matching Rules, where replicated trades are configured. Settings Description Settings Description Taker Name Takers included in this Classifier ID. Examples: regex[] * Taker Name Takers included in this Classifier ID. Examples: regex[] * Taker Login Taker logins included in this Classifier ID. Examples: regex[] * Taker Login Taker logins included in this Classifier ID. Examples: regex[] * Taker MetaTrader Group Taker MetaTrader Groups included in this Classifier ID. Examples: regex[] * Taker MetaTrader Group Taker MetaTrader Groups included in this Classifier ID. Examples: regex[] * Core Symbol or Taker Symbol Symbols traded on that are included in this Classifier ID. Examples: regex[] * Note: Filters by either core symbol or Taker symbol depending upon whether Use Taker Symbol For Taker Side Instead of Core Symbol is enabled. Core Symbol or Taker Symbol Symbols traded on that are included in this Classifier ID. Examples: regex[] * Note: Filters by either core symbol or Taker symbol depending upon whether Use Taker Symbol For Taker Side Instead of Core Symbol is enabled. Core Symbol Order Side Determines if orders are included in the Classifier ID based on whether the trade is buy or sell side. Examples: regex[] * Core Symbol Order Side Determines if orders are included in the Classifier ID based on whether the trade is buy or sell side. Examples: regex[] * Classifier ID Alphanumeric identifier for this rule set. Classifier ID Alphanumeric identifier for this rule set. Use Order Matching Rules to configure which orders should be replicated based on Party ID, if trades are imported to the RTCA via the FIX PTR, or the Classifier ID, if trades are imported via the Risk Management Feed. These settings specify the order type, time-in-force and other details for the replicated order. Setting Description Setting Description Enabled If enabled, this rule is used to search incoming trade capture reports. Enabled If enabled, this rule is used to search incoming trade capture reports. Matching FIX Party ID If the FIX PartyID (Maker Stream/Taker Connection ID) in the order capture report matches this value, then this rule is applied to generate a replicated order. Note: If no rule matches this or the Matching Feed Classifier ID, then no order is placed. Matching FIX Party ID If the FIX PartyID (Maker Stream/Taker Connection ID) in the order capture report matches this value, then this rule is applied to generate a replicated order. Note: If no rule matches this or the Matching Feed Classifier ID, then no order is placed. Matching Feed Classifier ID If a Classifier ID from the Risk Management Feed Filter matches this value, then this rule is applied to generate the order. Note: If no rule matches this field or the Matching FIX Party ID, then no order is placed. Matching Feed Classifier ID If a Classifier ID from the Risk Management Feed Filter matches this value, then this rule is applied to generate the order. Note: If no rule matches this field or the Matching FIX Party ID, then no order is placed. Order as Taker Connection ID Defines how the Taker Connection ID is generated on the new order. If a ClassifierID from the Risk Management Feed Filter matched the value specified in Matching Feed Classifier ID, then this replacement filter is applied to that ClassifierID in order to generate the order's TakerConnectionID. If the FIX PartyID (Maker Stream/Taker Connection ID) in the order capture report matched the value specified in Matching FIX Party ID, then this replacement filter is applied to that PartyID in order to generate the order's TakerConnectionID. Note: The final replacement must result in a valid Taker Connection ID or the order will not succeed. Order as Taker Connection ID Defines how the Taker Connection ID is generated on the new order. If a ClassifierID from the Risk Management Feed Filter matched the value specified in Matching Feed Classifier ID, then this replacement filter is applied to that ClassifierID in order to generate the order's TakerConnectionID. If the FIX PartyID (Maker Stream/Taker Connection ID) in the order capture report matched the value specified in Matching FIX Party ID, then this replacement filter is applied to that PartyID in order to generate the order's TakerConnectionID. Note: The final replacement must result in a valid Taker Connection ID or the order will not succeed. Order Type The order type to use for replicated orders. Options: Market Limit Order Type The order type to use for replicated orders. Options: Market Limit Portfolio The portfolio to be used when the Hub generates the order. This field is optional. Time In Force The time in force to use for replicated orders. Options: GTC IOC FOK Time In Force The time in force to use for replicated orders. Options: GTC IOC FOK Trade Price Percent Multiplier The percent of the executed price of the original order to use for the replicated order. Examples: 100 = Same price as the original order 50 = Half the price of the original order Trade Price Percent Multiplier The percent of the executed price of the original order to use for the replicated order. Examples: 100 = Same price as the original order 50 = Half the price of the original order Trade Volume Percent Multiplier The percent of the volume of the original order to use for the replicated order. A negative value flips the replicated order's side. Notes: The resulting side also depends on the source of the Trade Capture Report being acted upon (FIX or Risk Management Feed), as well as whether Reverse Side for Taker Reports is enabled. Please contact oneZero Support for recommendations regarding this setting. Examples: 100 = Same volume of the original order 50 = Half the volume of the original order. Trade Volume Percent Multiplier The percent of the volume of the original order to use for the replicated order. A negative value flips the replicated order's side. Notes: The resulting side also depends on the source of the Trade Capture Report being acted upon (FIX or Risk Management Feed), as well as whether Reverse Side for Taker Reports is enabled. Please contact oneZero Support for recommendations regarding this setting. Examples: 100 = Same volume of the original order 50 = Half the volume of the original order. Order ID Prefix The prefix to apply to orders placed by this adapter. This prefixes the original client order ID. Order ID Prefix The prefix to apply to orders placed by this adapter. This prefixes the original client order ID. These settings are contained in an expandable section titled Miscellaneous at the bottom of the page. Setting Description Setting Description Use Taker Symbol for Taker Side Instead of Core Symbol If enabled, the symbol (tag 55) received from the Trade Capture Report message is interpreted as the Taker symbol. If disabled, it is interpreted as the core symbol. Note: This setting's value should match the corresponding value in the FIX PTR. Use Taker Symbol for Taker Side Instead of Core Symbol If enabled, the symbol (tag 55) received from the Trade Capture Report message is interpreted as the Taker symbol. If disabled, it is interpreted as the core symbol. Note: This setting's value should match the corresponding value in the FIX PTR. Use Maker Symbol For Maker Side Instead Of Core Symbol If enabled, the symbol (tag 55) received from the TradeCaptureReport message is interpreted as the Maker symbol. If disabled, it is interpreted as the core symbol. Note: This setting's value should match the corresponding value in the FIX PTR. Use Maker Symbol For Maker Side Instead Of Core Symbol If enabled, the symbol (tag 55) received from the TradeCaptureReport message is interpreted as the Maker symbol. If disabled, it is interpreted as the core symbol. Note: This setting's value should match the corresponding value in the FIX PTR. Allowed Time Since Trade Execution The allowed duration since the trade execution timestamp (tag 60) from the Trade Capture Report in which the trade can still be processed. If this duration elapses, then the report is rejected. Allowed Time Since Trade Execution The allowed duration since the trade execution timestamp (tag 60) from the Trade Capture Report in which the trade can still be processed. If this duration elapses, then the report is rejected. Reverse Side For Taker Reports If enabled, then Taker reports have the side reversed before being processed. Reverse Side For Taker Reports If enabled, then Taker reports have the side reversed before being processed. Alert Interval for Failed Order Rule Match The alert throttle interval for reports that fail to match an order rule. The throttle is applied per PartyID (tag 448) received. Alert Interval for Failed Order Rule Match The alert throttle interval for reports that fail to match an order rule. The throttle is applied per PartyID (tag 448) received. Log Interval for Failed Order Rule Match The log throttle interval for reports that fail to match an order rule. The throttle is applied per PartyID (tag 448) that is received. Log Interval for Failed Order Rule Match The log throttle interval for reports that fail to match an order rule. The throttle is applied per PartyID (tag 448) that is received.