取引
Overview
TT Platform
Description
Task
Browser Access
Description
Task
Videos
TT Desktop
Description
Task
Videos
Reference
Workspace Windows
Description
Task
Videos
Widgets
Description
Task
Preferences
Description
Viewing Market Data
Time and Sales
Task
Reference
Description
Depth
Description
Task
Reference
Market Grid
Description
Task
Videos
Reference
Product Grid
Description
Task
Reference
Spread Matrix
Description
Task
Videos
Reference
Basic Order Entry
TT Order Types
Description
Task
Videos
Reference
Case Studies
TT Premium Order Types
Description
Task
Reference
Order Ticket
Description
Task
Use Cases
Reference
MD Trader®
Description
Task
Videos
Reference
Order Profiles
Description
Task
Reference
Routing Rules
Description
Task
Blocktrader
Description
Task
Videos
Reference
Trading Crypto on TT
Description
Task
Videos
Reference
Trading on B3
Order Management
Order Book
Description
Task
Reference
Floating Order Book
Description
Task
Reference
Fills
Description
Task
Reference
Positions
Description
Task
Reference
Orders and Fills
Description
Task
Reference
Audit Trail
Description
Task
Reference
Audit Query
Description
Task
Reference
Account List
Description
Task
Videos
Reference
Position Manager
Description
Task
Reference
Alert Manager and Alert Viewer
Description
Task
Videos
Reference
Account & User Restrictions
Description
Task
Reference
Balances
Description
Task
Reference
TT® OMS
Care Orders
Description
Task
Videos
Reference
Lock and Release
Description
Task
Bulking
Description
Task
Videos
Stitching and Splitting
Description
Task
Combining
Description
Task
Order Passing
Description
Task
Use Cases
Order Exceptions
Description
Task
Options
Options Risk
Description
Task
Videos
Reference
QuikStrike
Description
Task
TT Uncovered 3.0
Description
Task
TT Uncovered 2.0
Description
Task
Volatility Calculator
Description
Task
Expiration Manager
Description
Task
Watchlist
Description
Task
Videos
Reference
Options Risk Matrix
Description
Task
Videos
Reference
Options on TT
Description
Videos
Strategy Creation
Description
Task
Use Cases
Reference
Counterparty Manager
Description
Task
RFQ with Counterparties
Description
Task
RFQ Viewer
Description
Task
Videos
Reference
Electronic Eye
Description
Task
Videos
Reference
Vol Curve Manager
Description
Task
Use Cases
Videos
Reference
Options Trade Monitor
Description
Task
Videos
Reference
Options Chain
Description
Task
Use Cases
Videos
Reference
Spread Trading
Autospreader
Description
Task
Use Cases
Videos
Reference
Autospreader Rules
Description
Task
Videos
Reference
Hedge Manager
Description
Task
Videos
Reference
Trading in Yield
Description
Task
Use Cases
Reference
Aggregator
Description
Task
Videos
Reference
Algo Trading
Algo Dashboard
Description
Task
Videos
Reference
Template Manager
Description
Task
Order Management Algos (OMAs)
Autotrader
Description
Task
Reference
Videos
Excel integration with TT
Description
Task
Videos
Reference
Market-Making Algos
Analytics
Charts
Description
Technical Indicators
Task
Videos
Reference
Trader Analytics
Description
Task
Reference
ADL
ADL Overview
Introduction to ADL
Description
Task
Videos
Reference
ADL Basic Concepts
Description
Task
Reference
Building your first algo
Lessons
Advanced concepts
Description
Task
Case Studies
Jump blocks
Group blocks
Virtualized blocks
Library blocks
Trading Blocks
Discrete blocks
Arithmetic blocks
Basic blocks
Logic blocks
Miscellaneous blocks
Setup
Setup Overview
Getting Started
Description
Task
Videos
Reference
Supported Order Types and TIFs
Company Administration
Connections
Description
Task
Videos
Reference
Accounts
Description
Task
Videos
Use Cases
Reference
Users
Description
Task
Videos
Reference
Company
Description
Task
Reference
Order Tag Defaults
Description
Task
Account Administrators
Description
Task
TT Premium Services
Description
Task
TT Access
Description
Task
Advanced Features
Description
Risk Management
Risk Administration
Description
Task
Risk Limits
Description
Task
Videos
Reference
Pre-Trade Portfolio Risk
Description
Task
Reference
Order Cross Prevention
Description
Task
Videos
KRM Limits
Description
Task
TT® OMS
TT OMS Administration
Description
Task
Use Cases
Reference
Exchanges: Americas
FMX
Description
Task
NFI
Task
Nodal
Description
Task
MX
Description
Task
MIAX_FUT_NY
Description
Task
MIAX_FUT_CH
Description
Task
MexDer
Description
Task
ICE
Description
Task
Goldman Sachs Commodity Blocks (GSCB)
Description
Task
Referece
FMX_USTF
Description
Task
B3
Description
Task
Fenics
Description
Task
EBS Market
Description
Task
EBS Direct
Description
Task
Dealerweb
Description
Task
CME
Description
Task
CFE
Description
Task
Cboe FX
Description
Task
Reference
CBOE
Description
Task
Exchanges: EMEA
ICE_L
Description
Task
WSE
Description
Task
Nord Pool
Description
Task
Reference
NASDAQ_NED
Description
Task
NDAQ_EU
Description
Task
MEFF
Description
Task
LSE
Description
Task
LME NTP
Description
Task
LME
Description
Task
JSE
Description
Task
ATHEX
Description
Task
GFO-X
Description
Task
Euronext
Description
Task
Eurex
Description
Task
Videos
Eris
Description
Task
EPEX SPOT
Description
Task
Reference
EEX
Description
Task
DGCX
Description
Task
BIST
Description
Task
Exchanges: Asia/Pacific
ABX
Description
Task
ASX
Description
Task
FEX
Description
Task
HKEx
Description
Task
JPX
Description
Task
NSE
Description
Task
NZX
Description
Task
SGX
Description
Task
SGX GIFT
Description
Task
TAIFEX
Description
Task
TFEX
Description
Task
TFX
Description
Task
CoinFLEX
Task
Exchanges: Crypto
Coinbase
Description
Task
Kraken
Description
Task
FIX Support
FIX Ruleset
Description
Task
FIX Sessions
Description
Task
Secondary Accounts
Description
Task
Monitor
TT Mobile
TT Backtesting
APIs
TT REST API 2.0
Getting Started
API Reference
TT REST API 2.0 (UAT)
Getting Started
API Reference
TT .NET SDK
Getting started with TT .NET SDK
Creating the application framework
Working with instruments
Subscribing for market data
More about prices
An in-depth look at the Price class
Working with orders and fills
Handling trade subscriptions
Working with trade subscriptions
Working with Algos
Algo Server
TT Order Types
TT Premium Order Types
Advanced Concepts and Options
Appendix
TT CORE SDK
Getting Started with TT Core SDK
Creating Application Framework
Working With Instruments
Subscribing for Market Data
Working with Orders and Fills
Creating a TT Application Server
Appendix
TT Trade Surveillance
Overview
Using TT Trade Surveillance
Cluster View
Core Models
Market Abuse Models
Cross Product Models
Spoofing Models
Improperly Matched Trade Models
Market Rate Models
Trading Behaviors Models
Miscellaneous Models
Configurable Models
Reports
Reference
TT FIX Services
TT FIX General
Getting Started
FIX Message Structure
Session messages
TT FIX Order Routing
Overview
TT FIX message conversations
Supported application messages
TT FIX Market Data
Overview
TT FIX message conversations
Supported application messages
TT FIX Drop Copy Out
Overview
TT FIX Message Conversations
Supported application messages
Compliance Feed messages
TT FIX Drop Copy In
Overview
Supported application messages
TT FIX Gateway
Getting Started
FIX Message Structure
Components
Session messages
Price Gateway Messages
Order Gateway Messages
TT FIX Recovery
Overview
FIX Recovery Methods
Supported application messages
Compliance Feed Messages
MiFID II Support

Logon (A)

On this page

Purpose

Used to establish a connection between a TT FIX Gateway and a third-party FIX acceptor

Message Direction

From TT FIX Gateways to a third-party FIX acceptor and then from a third-party FIX acceptor to TT FIX Gateways

Tag Directory

Click the links below to navigate to the documentation for that tag.

Logon
TagNameTypeRequiredComments
Y

For additional information about this component group, consult the documentation.

35=A (MsgType)

8BeginStringSTRINGY

FIX protocol version

The tag indicates the beginning of a new message.

This tag must be the first tag in the message.

You must set the value to FIX4.2.

8BeginStringSTRINGY

FIX protocol version

The tag indicates the beginning of a new message.

This tag must be the first tag in the message.

You must set the value to FIX.4.2 or FIX.4.4.

9BodyLengthINTY

Message length (in characters)

The value represents number of characters in the message following
this tag up to, and including, the delimiter immediately preceding Tag
10 (CheckSum). This tag must be the second field in a message.

9BodyLengthINTY

Message length (in characters)

The value represents number of characters in the message following
this tag up to, and including, the delimiter immediately preceding Tag
10 (CheckSum). This tag must be the second field in a message.

35MsgTypeSTRINGY

Type of message contained in the message body

This tag must appear third in the list of header tags.

Possible values:
  • 0: Heartbeat
  • 1: Test Request
  • 2: Resend Request
  • 3: Reject
  • 4: Sequence Reset
  • 5: Logout
  • 8: Execution Report
  • 9: Order Cancel Reject
  • A: Logon
  • B: News
  • c: Security Definition Request
  • D: Order Single
  • d: Security Definition
  • e: Security Status Request
  • f: Security Status
  • F: Order Cancel Request
  • G: Order Cancel Replace Request
  • H: Order Status Request
  • Q: Don’t Know Trade (Inbound Drop Copy only)
  • R: Quote Request
  • V: Market Data Request
  • W: Market Data Snapshot Full Refresh
  • X: Market Data Incremental Refresh
  • Y: Market Data Request Reject
  • AD: Trade Capture Report Request
  • AE: Trade Capture Report
  • AQ: Trade Capture Report Request Ack
35MsgTypeSTRINGY

Type of message contained in the message body

This tag must appear third in the list of header tags.

Possible values:
  • 0: Heartbeat
  • 1: Test Request
  • 2: Resend Request
  • 3: Reject
  • 4: Sequence Reset
  • 5: Logout
  • 8: Execution Report
  • 9: Order Cancel Reject
  • A: Logon
  • B: News
  • c: Security Definition Request
  • D: Order Single
  • d: Security Definition
  • e: Security Status Request
  • f: Security Status
  • F: Order Cancel Request
  • G: Order Cancel Replace Request
  • H: Order Status Request
  • Q: Don’t Know Trade (Inbound Drop Copy only)
  • R: Quote Request
  • V: Market Data Request
  • W: Market Data Snapshot Full Refresh
  • X: Market Data Incremental Refresh
  • Y: Market Data Request Reject
  • AD: Trade Capture Report Request
  • AE: Trade Capture Report
  • AQ: Trade Capture Report Request Ack
49SenderCompIDSTRINGY

Assigned value used to identify TT

49SenderCompIDSTRINGY

Assigned value used to identify the counterparty

56TargetCompIDSTRINGY

Assigned value used to identify the counterparty

56TargetCompIDSTRINGY

Assigned value used to identify TT

34MsgSeqNumSEQNUMY

Message sequence number

34MsgSeqNumSEQNUMY

Message sequence number

43PossDupFlagBOOLEANC

Sent when a TT FIX Gateway resends messages

Whether the sequence number for this message is already used

Possible values:
  • N: NO: Original transmission
  • Y: YES: Possible duplicate
43PossDupFlagBOOLEANC

Must be sent when a third-party FIX acceptor resends messages

Whether the sequence number for this message is already used

Possible values:
  • N: NO: Original transmission
  • Y: YES: Possible duplicate
97PossResendBOOLEANC

Must be sent if the message may contain information that has been sent under another sequence number.

Whether the message might contain information that has been sent under another sequence number

Possible values:
  • N: NO: Original transmission
  • Y: YES: Possible resend
122OrigSendingTimeUTCTIMESTAMPC

Required for resent messages

Original time of message transmission, when transmitting orders as the result of a resend request

Always expressed in UTC.

122OrigSendingTimeUTCTIMESTAMPC

Sent when a third-party FIX acceptor resends a message

Original time of message transmission, when transmitting orders as the result of a resend request

Always expressed in UTC.

52SendingTimeUTCTIMESTAMPY

Time, in UTC, the message was sent.

52SendingTimeUTCTIMESTAMPY

Time, in UTC, the message was sent.

Y

For additional information about this component group, consult the documentation.

35=A (MsgType)

8BeginStringSTRINGY

FIX protocol version

The tag indicates the beginning of a new message.

This tag must be the first tag in the message.

You must set the value to FIX4.2.

8BeginStringSTRINGY

FIX protocol version

The tag indicates the beginning of a new message.

This tag must be the first tag in the message.

You must set the value to FIX.4.2 or FIX.4.4.

9BodyLengthINTY

Message length (in characters)

The value represents number of characters in the message following
this tag up to, and including, the delimiter immediately preceding Tag
10 (CheckSum). This tag must be the second field in a message.

9BodyLengthINTY

Message length (in characters)

The value represents number of characters in the message following
this tag up to, and including, the delimiter immediately preceding Tag
10 (CheckSum). This tag must be the second field in a message.

35MsgTypeSTRINGY

Type of message contained in the message body

This tag must appear third in the list of header tags.

Possible values:
  • 0: Heartbeat
  • 1: Test Request
  • 2: Resend Request
  • 3: Reject
  • 4: Sequence Reset
  • 5: Logout
  • 8: Execution Report
  • 9: Order Cancel Reject
  • A: Logon
  • B: News
  • c: Security Definition Request
  • D: Order Single
  • d: Security Definition
  • e: Security Status Request
  • f: Security Status
  • F: Order Cancel Request
  • G: Order Cancel Replace Request
  • H: Order Status Request
  • Q: Don’t Know Trade (Inbound Drop Copy only)
  • R: Quote Request
  • V: Market Data Request
  • W: Market Data Snapshot Full Refresh
  • X: Market Data Incremental Refresh
  • Y: Market Data Request Reject
  • AD: Trade Capture Report Request
  • AE: Trade Capture Report
  • AQ: Trade Capture Report Request Ack
35MsgTypeSTRINGY

Type of message contained in the message body

This tag must appear third in the list of header tags.

Possible values:
  • 0: Heartbeat
  • 1: Test Request
  • 2: Resend Request
  • 3: Reject
  • 4: Sequence Reset
  • 5: Logout
  • 8: Execution Report
  • 9: Order Cancel Reject
  • A: Logon
  • B: News
  • c: Security Definition Request
  • D: Order Single
  • d: Security Definition
  • e: Security Status Request
  • f: Security Status
  • F: Order Cancel Request
  • G: Order Cancel Replace Request
  • H: Order Status Request
  • Q: Don’t Know Trade (Inbound Drop Copy only)
  • R: Quote Request
  • V: Market Data Request
  • W: Market Data Snapshot Full Refresh
  • X: Market Data Incremental Refresh
  • Y: Market Data Request Reject
  • AD: Trade Capture Report Request
  • AE: Trade Capture Report
  • AQ: Trade Capture Report Request Ack
49SenderCompIDSTRINGY

Assigned value used to identify TT

49SenderCompIDSTRINGY

Assigned value used to identify the counterparty

56TargetCompIDSTRINGY

Assigned value used to identify the counterparty

56TargetCompIDSTRINGY

Assigned value used to identify TT

34MsgSeqNumSEQNUMY

Message sequence number

34MsgSeqNumSEQNUMY

Message sequence number

43PossDupFlagBOOLEANC

Sent when a TT FIX Gateway resends messages

Whether the sequence number for this message is already used

Possible values:
  • N: NO: Original transmission
  • Y: YES: Possible duplicate
43PossDupFlagBOOLEANC

Must be sent when a third-party FIX acceptor resends messages

Whether the sequence number for this message is already used

Possible values:
  • N: NO: Original transmission
  • Y: YES: Possible duplicate
97PossResendBOOLEANC

Must be sent if the message may contain information that has been sent under another sequence number.

Whether the message might contain information that has been sent under another sequence number

Possible values:
  • N: NO: Original transmission
  • Y: YES: Possible resend
122OrigSendingTimeUTCTIMESTAMPC

Required for resent messages

Original time of message transmission, when transmitting orders as the result of a resend request

Always expressed in UTC.

122OrigSendingTimeUTCTIMESTAMPC

Sent when a third-party FIX acceptor resends a message

Original time of message transmission, when transmitting orders as the result of a resend request

Always expressed in UTC.

52SendingTimeUTCTIMESTAMPY

Time, in UTC, the message was sent.

52SendingTimeUTCTIMESTAMPY

Time, in UTC, the message was sent.

96RawDataSTRINGC

Will be sent when the TT FIX Gateway initiates a connection. The third-party FIX acceptor need not send this in the response.

Logon password

96RawDataSTRINGC

Will be sent when the TT FIX Gateway initiates a connection. The third-party FIX acceptor need not send this in the response.

Logon password

98EncryptMethodINTY

Method of encryption

As TT FIX does not support encrypted logons, you must set the value to 0 (None/Other).

Possible values:
  • 0: NONE
98EncryptMethodINTY

Method of encryption

As TT FIX does not support encrypted logons, you must set the value to 0 (None/Other).

Possible values:
  • 0: NONE
108HeartBtIntINTY

Heartbeat interval (seconds)

108HeartBtIntINTY

Heartbeat interval (seconds)

141ResetSeqNumFlagBOOLEANN

Whether to reset the sequence numbers on both sides of the FIX session

Possible values:
  • N: NO (default)
  • Y: YES
141ResetSeqNumFlagBOOLEANN

Whether to reset the sequence numbers on both sides of the FIX session

Possible values:
  • N: NO (default)
  • Y: YES
115OnBehalfOfCompIDSTRINGN

Assigned value used to identify firm originating message if the message was delivered by a third party, i.e. the third party firm identifier would be delivered in the SenderCompID field and the firm originating the message in this field.

115OnBehalfOfCompIDSTRINGN

Assigned value used to identify firm originating message if the message was delivered by a third party, i.e. the third party firm identifier would be delivered in the SenderCompID field and the firm originating the message in this field.

128DeliverToCompIDSTRINGN

Assigned value used to identify the firm targeted to receive the message if the message is delivered by a third party, i.e. the third party firm identifier would be delivered in the TargetCompID (56) field and the ultimate receiver firm ID in this field.

128DeliverToCompIDSTRINGN

Assigned value used to identify the firm targeted to receive the message if the message is delivered by a third party, i.e. the third party firm identifier would be delivered in the TargetCompID (56) field and the ultimate receiver firm ID in this field.

354EncodedTextLenINTN

Byte length of encoded (non-ASCII characters) EncodedText (355) field.

354EncodedTextLenINTN

Byte length of encoded (non-ASCII characters) EncodedText (355) field.

355EncodedTextSTRINGN

Encoded (non-ASCII characters) representation of the Text (58) field in the encoded format specified via the MessageEncoding (347) field. If used, the ASCII (English) representation should also be specified in the Text (58) field.

Data length controlled by field EncodedTextLen(354)

355EncodedTextSTRINGN

Encoded (non-ASCII characters) representation of the Text (58) field in the encoded format specified via the MessageEncoding (347) field. If used, the ASCII (English) representation should also be specified in the Text (58) field.

Data length controlled by field EncodedTextLen(354)

Y

For additional information about this component group, consult the full documentation.

10CheckSumSTRINGY

Unencrypted three-character checksum

This tag must always be the last field in a message (i.e. it serves, with the trailing <SOH>, as the end-of-message delimiter).

10CheckSumSTRINGY

Unencrypted three-character checksum

This tag must always be the last field in a message (i.e. it serves, with the trailing <SOH>, as the end-of-message delimiter).

Y

For additional information about this component group, consult the full documentation.

10CheckSumSTRINGY

Unencrypted three-character checksum

This tag must always be the last field in a message (i.e. it serves, with the trailing <SOH>, as the end-of-message delimiter).

10CheckSumSTRINGY

Unencrypted three-character checksum

This tag must always be the last field in a message (i.e. it serves, with the trailing <SOH>, as the end-of-message delimiter).

Message Notes

The Logon (A) message is used by a TT FIX Gateway to begin a new or continue an existing session with a third-party FIX acceptor.

The following data flow illustrates a typical logon sequence between a TT FIX Gateway and a third-party FIX acceptor:

  1. The TT FIX Gateway opens a socket connection to the third-party FIX acceptor.
  2. The TT FIX Gateway sends a Logon (A) message to the third-party FIX acceptor.
  3. If the third-party FIX acceptor detects any errors, it will respond with a Logout (5) message with the reason for rejection in Tag 58 (Text), and closes the socket connection.
  4. The third-party FIX acceptor examines the value of Tag 141 (ResetSeqNumFlag).
    • If Tag 141 (ResetSeqNumFlag) is set to N, the third-party FIX acceptor compares the value of Tag 34 (MsgSeqNum) in the Logon (A) message against its current sequence number.
      • If MsgSeqNum is less than the expected sequence number, the third-party FIX acceptor stops processing the logon attempt, sends a Logout (5) message as its response, and closes the socket connection.
      • If MsgSeqNum is greater than sequence number the third-party FIX acceptor expected, the logon process continues normally. However, after the logon process completes, the third-party FIX acceptor sends a Resend Request (2) message.
    • If Tag 141 (ResetSeqNumFlag) is set to Y, the third-party FIX acceptor expects the value of Tag 34 (MsgSeqNum) in the Logon (A) message to be 1.
      • If Tag 34 is not 1, the third-party FIX acceptor stops processing the logon attempt, sends a Logout (5) message, and closes the connection.
      • Otherwise, the logon process continues normally.
  5. The third-party FIX acceptor sends a Logon (A) message to the TT FIX Gateway.

TT FIX Price Gateway

The TT FIX Price Gateway will only support non-persistent FIX sessions. In other words, it will always send a Logon (A) message with Tag 34 (MsgSeqNum)=1 and Tag 141 (ResetSeqNumFlag)=Y when initiating a connection. As a result, the FIX session will terminate when the connection does.

TT FIX Order Gateway

When the TT FIX Order Gateway is started for the first time, it will send a Logon (A) message with Tag 34 (MsgSeqNum)=1. When there are unscheduled restarts, the standard FIX message sequence number negotiation will take place. After scheduled message sequence number resets, the TT FIX Order Gateway will send a Logon (A) message with Tag 34 (MsgSeqNum)=1.