# Session Settings Source: https://documentation-external.onezero.com:4434/Hub_help_9_0/Content/HubReferences/Settings/PTRs/FIX_PTR_SessionSettings.htm Session Settings These settings configure FIX sessions during which the FIX PTR Adapter operates. If you are setting up a connection to the OZFIX Replication Trade Capture Adapter, then a session instance must be configured to connect to the Host and Port of the Replication Trade Capture Adapter's FIX Connection settings. Click Add Row to add a new session instance. Setting Description Setting Description Host The IP address that the FIX PTR Adapter sends FIX messages to. Host The IP address that the FIX PTR Adapter sends FIX messages to. Port The port that the FIX PTR Adapter sends FIX messages to. Port The port that the FIX PTR Adapter sends FIX messages to. Sender Comp ID The session's SenderCompID (tag 49). Sender Comp ID The session's SenderCompID (tag 49). Target Comp ID The session's TargetCompID (tag 56). Target Comp ID The session's TargetCompID (tag 56). Qualifier String used to validate the connection session. Qualifier String used to validate the connection session. Force Sequence Reset If selected, the Hub sends tag 141=Y and resets the message sequence numbers on restart. Force Sequence Reset If selected, the Hub sends tag 141=Y and resets the message sequence numbers on restart. FIX Logging Type If selected, all FIX messages sent through the FIX PTR adapter are stored at the location specified in File Log Path. 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 If selected, all FIX messages sent through the FIX PTR adapter are stored at the location specified in File Log Path. 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 the times at which the adapter is active. Guideline: At least one time frame must be set. Setting Description Setting Description Time Zone The time zone that applies to the session. Available Time Zones: UTC/GMT (Default) America/New York Pacific/Auckland Europe/London Europe/Moscow Europe/Zurich Asia/Dubai Asia/Jakarta Asia/Hong_Kong Asia/Singapore Asia/Tokyo Australia/Sydney America/Chicago Time Zone The time zone that applies to the session. Available Time Zones: UTC/GMT (Default) America/New York Pacific/Auckland Europe/London Europe/Moscow Europe/Zurich Asia/Dubai Asia/Jakarta Asia/Hong_Kong Asia/Singapore Asia/Tokyo Australia/Sydney America/Chicago UTC/GMT (Default) America/New York Pacific/Auckland Europe/London Europe/Moscow Europe/Zurich Asia/Dubai Asia/Jakarta Asia/Hong_Kong Asia/Singapore Asia/Tokyo Australia/Sydney America/Chicago Time Ranges Select Add Row to create multiple start/stop times for the session instance. Setting Description Setting Description Start Time of Day The time at which the session begins in HHHH:MM: SS.UUUUUU Start Time of Day The time at which the session begins in HHHH:MM: SS.UUUUUU Start Day of Week The day of the week on which the session begins. Options: MTWThFSaSu & Daily Start Day of Week The day of the week on which the session begins. Options: MTWThFSaSu & Daily End Time Of Day The time at which the session ends in HHHH:MM:SS.UUUUUU End Time Of Day The time at which the session ends in HHHH:MM:SS.UUUUUU End Day of Week The day of the week on which the session ends. Options: MTWThFSaSu & Daily End Day of Week The day of the week on which the session ends. Options: MTWThFSaSu & Daily Advanced settings relating to TCP (Transfer Control Protocol). Warning: Many of these settings should not be changed before consulting oneZero Support support@onezero.com, as doing so can negatively affect the performance of your entire network. Setting Description Receive Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. Sets the Network Stack's SO_SNDBUF value in bytes. When a value of -1 is used, the option is left at its default value. Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. Sets the Network Stack's SO_SNDBUF value in bytes. When a value of -1 is used, the option is left at its default value. Internal Receive Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. Sets the size (in bytes) of the internal buffer that the Hub copies data into from the TCP stack. During periods of heavy network congestion, decreasing this value can potentially help reduce latency periods. However, this comes at the cost of increased CPU usage during normal operation. Guideline: Valid input range of 128 to 2,147,483,647 specified in bytes. Note: This setting currently only applies to FIX connections. Internal Receive Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. Sets the size (in bytes) of the internal buffer that the Hub copies data into from the TCP stack. During periods of heavy network congestion, decreasing this value can potentially help reduce latency periods. However, this comes at the cost of increased CPU usage during normal operation. Guideline: Valid input range of 128 to 2,147,483,647 specified in bytes. Note: This setting currently only applies to FIX connections. Send Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. This sets the Network Stack's SO_SNDBUF value in bytes. When a value of -1 is used, the option is left at its default value. Send Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. This sets the Network Stack's SO_SNDBUF value in bytes. When a value of -1 is used, the option is left at its default value. Internal Send Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. Sets the size (in bytes) of the internal buffer that the Hub copies data into before the data is passed to the TCP Stack. Tuning this value can be useful in a few circumstances: Reduces CPU overhead during normal operation by batching messages together and reducing the number of asynchronous TCP Send calls dispatched. Enables some level of buffering even when TCPNoDelay is enabled. Sizes the data fed into the TCP Stack to match frame sizes for optimal throughput. Guidelines: During periods of heavy network congestion, decreasing this value can potentially help reduce latency periods. However, this comes at the cost of increased CPU usage during normal operation. A value of -1 enables real time mode. Messages are sent to the TCP stack immediately, without any attempt to buffer them internally. These messages may still be buffered in the TCP Stack, depending on the TCPNoDelay setting. This setting currently only applies to FIX connections. Internal Send Buffer Size Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so can have adverse impacts on performance. Sets the size (in bytes) of the internal buffer that the Hub copies data into before the data is passed to the TCP Stack. Tuning this value can be useful in a few circumstances: Reduces CPU overhead during normal operation by batching messages together and reducing the number of asynchronous TCP Send calls dispatched. Enables some level of buffering even when TCPNoDelay is enabled. Sizes the data fed into the TCP Stack to match frame sizes for optimal throughput. Guidelines: During periods of heavy network congestion, decreasing this value can potentially help reduce latency periods. However, this comes at the cost of increased CPU usage during normal operation. A value of -1 enables real time mode. Messages are sent to the TCP stack immediately, without any attempt to buffer them internally. These messages may still be buffered in the TCP Stack, depending on the TCPNoDelay setting. This setting currently only applies to FIX connections. Inactivity Timeout Period of inactivity over TCP before Hub forces a disconnect from the Taker. Guideline: Measured in seconds. Period of inactivity over TCP before Hub forces a disconnect from the Taker. Guideline: Measured in seconds. Max Queue Size Before Forced Disconnect Number of FIX messages allowed to build up in the queue before Hub forces a disconnect from the Taker. Max Queue Size Before Forced Disconnect Max Individual Message Size Determines an incoming message size above which the connection is forced to disconnect. Guidelines: This setting is specified in bytes. Valid input range is 0 to 2,147,483,647. Note: This setting is used to protect the application from running out of memory in the event that erroneous data is sent. Max Individual Message Size Determines an incoming message size above which the connection is forced to disconnect. Guidelines: This setting is specified in bytes. Valid input range is 0 to 2,147,483,647. Note: This setting is used to protect the application from running out of memory in the event that erroneous data is sent. Max Receive Message Queue Size Determines a maximum total message size allowed in the message queue. Incoming messages are pre-fetched into this message queue before being processed. Guidelines: This setting is specified in bytes. Valid input range is 128 to 2,147,483,647. Determines a maximum total message size allowed in the message queue. Incoming messages are pre-fetched into this message queue before being processed. Guidelines: This setting is specified in bytes. Valid input range is 128 to 2,147,483,647. TCP No Delay Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so may negatively affect the performance of your network. If enabled, TCP messages are sent as quickly as possible, instead of packing multiple messages together to minimize network traffic. This can reduce latency but may increase network congestion. If disabled, network congestion may be reduced in extremely high-traffic situations, but at the cost of added latency on some messages (in some cases, 100 or more milliseconds of extra latency). Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so may negatively affect the performance of your network. If enabled, TCP messages are sent as quickly as possible, instead of packing multiple messages together to minimize network traffic. This can reduce latency but may increase network congestion. If disabled, network congestion may be reduced in extremely high-traffic situations, but at the cost of added latency on some messages (in some cases, 100 or more milliseconds of extra latency). Use Socket Push Immediate Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so may negatively affect the performance of your network. If enabled, TCP does not hold the receive/read request on partially filled pending messages, and instead completes the messages immediately. This setting can be useful in cases where receiving and processing partial data immediately helps decrease processing latency. Warning: Do not change this setting without consulting oneZero Support support@onezero.com, as doing so may negatively affect the performance of your network. If enabled, TCP does not hold the receive/read request on partially filled pending messages, and instead completes the messages immediately. This setting can be useful in cases where receiving and processing partial data immediately helps decrease processing latency. Setting Description Setting Description 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". 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". File Store Path The path where FIX files are stored. File Store Path The path where FIX files are stored. File Log Path The path where FIX file logs are stored. File Log Path The path where FIX file logs are stored. Connection Type Determines how the FIX PTR adapter makes connections. Options: Initiator: The FIX PTR adapter establishes the connection with the target. Acceptor: The FIX PTR adapter listens for and receives the connection with the target. Connection Type Determines how the FIX PTR adapter makes connections. Options: Initiator: The FIX PTR adapter establishes the connection with the target. Acceptor: The FIX PTR adapter listens for and receives the connection with the target. Heartbeat Interval Heartbeat interval in seconds. Heartbeat Interval Heartbeat interval in seconds. Reconnect Interval Interval at which to send reconnect signal, in seconds. Reconnect Interval Interval at which to send reconnect signal, in seconds. Validate Fields Out Of Order Determines whether the FIX PTR Adapter validates the order of FIX messages or allows them to be out of order. Guideline: If selected, out of order messages are allowed. Validate Fields Out Of Order Determines whether the FIX PTR Adapter validates the order of FIX messages or allows them to be out of order. Guideline: If selected, out of order messages are allowed. Validate User Defined Fields Determines whether the FIX PTR Adapter allows user-defined fields if they are either: Present in the data dictionary Present in messages they don't belong to Guideline: If selected, user-defined fields are rejected. Validate User Defined Fields Determines whether the FIX PTR Adapter allows user-defined fields if they are either: Present in the data dictionary Present in messages they don't belong to Guideline: If selected, user-defined fields are rejected. Validate Fields Have Values Determines whether the FIX PTR Adapter allows empty fields. Guideline: If selected, empty fields are rejected. Validate Fields Have Values Determines whether the FIX PTR Adapter allows empty fields. Guideline: If selected, empty fields are rejected. Milliseconds In Time Stamp If selected, milliseconds are included in timestamps. Milliseconds In Time Stamp If selected, milliseconds are included in timestamps. Log FIX Events If selected, FIX event messages are sent to the Hub log. Note: The separate FIX-specific log files are independent of this setting, and will only show FIX events if With Annotations is selected. Log FIX Events If selected, FIX event messages are sent to the Hub log. Note: The separate FIX-specific log files are independent of this setting, and will only show FIX events if With Annotations is selected.