# OZFIX Adjustment Trade Capture Adapter Source: https://documentation-external.onezero.com:4434/Hub_help_9_0/Content/HubReferences/Settings/OZFIX_Adjustment_Trade_Capture_Adapter.htm OZFIX Adjustment Trade Capture Adapter The OZFIX Adjustment Trade Capture Adapter is used to make adjustments to trades to send directly into the oneZero Database. To access: Navigate to Settings. Select OZFIX Adjustment Trade Capture Adapter from the dropdown. Some settings are not contained in a dropdown section of the OZFIX Adjustment Trade Capture Adapter page. Those settings are covered in the following table. FIX Message Store Type Setting Description FIX Message Store Type Select one of two types of message stores, each with a different balance of safety and performance. Options: Filestore = Stores unconfirmed FIX messages in a file. A disconnect leads to unconfirmed FIX messages to replay after restart. Nullstore = Stores only current sequence IDs. If a session drops, nothing is replayed upon reconnection. Select one of two types of message stores, each with a different balance of safety and performance. Options: Filestore = Stores unconfirmed FIX messages in a file. A disconnect leads to unconfirmed FIX messages to replay after restart. Nullstore = Stores only current sequence IDs. If a session drops, nothing is replayed upon reconnection. FIX Logging Setting Description Full FIX Logging If selected, FIX logging records complete messages. If selected, FIX logging records complete messages. Log FIX Events If selected, 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 selected. If selected, 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 selected. 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". 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 Enable Logging About Ignored Risk Management Feed Messages If selected, 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. If selected, 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. Settings used to connect databases to retrieve trade information from. Setting Description Enabled If selected, enables the connection to the database. Host Host IP address of the database. Port Host port of the database. Trade Capture ID A unique name for the trade capture. This name shows up in logging and on the OZFIX Adjustment Trade Capture Adapter connection on the Status page. Guideline: Spaces not allowed. A unique name for the trade capture. This name shows up in logging and on the OZFIX Adjustment Trade Capture Adapter connection on the Status page. Guideline: Spaces not allowed. Start Day Start and stop days of the week to run the adapter. End Day Start Time Start and stop times of the day to run the adapter. Guideline: HH:MM:SS:UUUUUU UTC format. Start and stop times of the day to run the adapter. Guideline: HH:MM:SS:UUUUUU UTC format. End Time Heartbeat Interval to send heartbeat to confirm connection. Guideline: Defaults to 60 for one heartbeat every 60 seconds. Force Seq Reset If selected, the FIX connection sequence number resets on login, logout, and disconnect. Sender Comp ID Sender Comp ID for the database. Target Comp ID Target Comp ID for the database. FIX Logging Type Determines how FIX messages sent through the adapter 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. Determines how FIX messages sent through the adapter 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 topmost connection in the list. See RabbitMQ documentation for more details 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. An ordered list of rules defining a set of trade characteristics and a Target Adapter ID name that should be associated with trades matching those characteristics. Rules are evaluated from top to bottom. If the characteristics of trade match the evaluated rule, that rule's associated Target Adapter ID is used, and no further rules are evaluated. If no rules match the trade's characteristics, the Adapter ID passed in as the source will be used as the target. Settings Description Source Adapter ID Adapter ID used as source.Examples:regex[]* Examples: regex[] * Symbol Filter on the symbol of the incoming trade.Note: This syumbol could either be the core symbol to adapter symbol (i.e. Maker Symbol / Taker Symbol). Its type is determined based on what we receive from the connected party. Examples:regex[]* Note: This syumbol could either be the core symbol to adapter symbol (i.e. Maker Symbol / Taker Symbol). Its type is determined based on what we receive from the connected party. Examples:regex[]* Target Adapter ID Adapter ID used when symbol / Source Adapter ID rules is matched. Acceptor Classifiers Rules that determine accepted Taker accounts, logins, symbols, among others. Setting Description Taker Name Alphanumeric name of the TakerExamples:regex[]* Examples: regex[] * Taker Login Alphanumeric Taker Login.Examples:regex[]* Examples: regex[] * Taker MetaTrader Group Alphanumeric MetaTrader Group.Examples:regex[]* Examples: regex[] * Core Symbol or Taker Symbol Filters either core symbols or taker symbols. Dependent upon Use Taker Symbol For Taker Side Instead of Core Symbol Settings. Type a core symbol, choose a core symbol from the dropdown, or type an expression into the cell. Examples:regex[]* Core Symbol Order Side Buy / sell side of the order.Examples:regex[]* Examples: regex[] * Classifier ID Alphanumeric classifier for the Taker. An ordered list of rules defining a set of trade characteristics and a Target Adapter ID name that should be associated with trades matching those characteristics. Rules are evaluated from top to bottom. If the characteristics of trade match the evaluated rule, that rule's associated Target Adapter ID is used, and no further rules are evaluated. If no rules match the trade's characteristics, the Adapter ID passed in as the source will be used as the target. Settings Description Source Adapter ID Adapter ID used as source.Examples:regex[]* Examples: regex[] * Symbol Filter on the symbol of the incoming trade.Note: This symbol could be the core symbol to adapter symbol (i.e. Maker Symbol / Taker Symbol). Its type is determined based on what we receive from the connected party. Examples:regex[]* Note: This symbol could be the core symbol to adapter symbol (i.e. Maker Symbol / Taker Symbol). Its type is determined based on what we receive from the connected party. Examples:regex[]* Target Adapter ID Adapter ID used when symbol / Source Adapter ID rules is matched. Setting Description Source Credit Entity The Credit Entity used as a match when evaluating rules. Symbol The symbol used as a filter on incoming trades. Target Credit Entity The Credit Entity used if the Source Credit Entity and the Symbol match. Setting Description Source Portfolio ID The ID of the portfolio to be used as a match when evaluating rules. Symbol The symbol to be used as a filter on incoming trades. Target Portfolio ID The ID of the portfolio to be used if the Source Portfolio and the Symbol match. Setting Description Use Taker Symbol For Taker Side Instead Of Core Symbol Recommended to match the OZFIXPostTradeReporterAdapter. When enabled, the symbol (55) is received from the TradeCaptureReport message is interpreted as the Taker symbol. When disabled, the symbol is interpreted as the core symbol. Recommended to match the OZFIXPostTradeReporterAdapter. When enabled, the symbol (55) is received from the TradeCaptureReport message is interpreted as the Taker symbol. When disabled, the symbol is interpreted as the core symbol. User Maker Symbol For Maker Side Instead Of Core Symbol Recommended to match the OZFixPostTradeReporterAdapter.When enabled, the symbol (55) is received from the TradeCaptureReport message is interpreted as the Maker symbol.When disabled, interpreted as the core symbol. When enabled, the symbol (55) is received from the TradeCaptureReport message is interpreted as the Maker symbol. When disabled, interpreted as the core symbol. Allowed Time Allowed duration (starting from the trade execution timestamp (60) received from the TradeCaptureReport) that the TradeCaptureAdapter can still process trade. If a received Trade Capture Report has an execution timestamp older than this duration, the report is rejected.