Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
developers:fixapi:traderlogonresponse [2025/09/12 01:19] – ↷ Page moved and renamed from developers:fixapi.traderlogonresponse to developers:fixapi:traderlogonresponse chad | developers:fixapi:traderlogonresponse [2025/09/12 02:41] (current) – chad | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | Under an established FIX Session, multiple traders/ | + | The Trader Logon Response |
- | The FIX API responds to Trader Logons with the **Trader Logon Response** message. With this message, the FIX API client can determine the success or failure of the Trader Logon attempt by the Master User. | + | ===== Response Indicators ===== |
+ | | ||
+ | * **Failure: | ||
+ | | ||
- | ===== Relevant Tags ===== | + | ===== Message Specification |
- | The Trader Logon Response indicates the success or failure of the Trader Logon attempt in the **Text** tag (Tag 58). | + | |
- | The Trader/User (whose attempt would apply to) is indicated in the **UserName** tag (Tag 553). | + | |
- | ^ Tag Name ^ Tag Number ^ Description | | + | **Message Direction: |
- | | UserName | + | |
- | | Text | 58 | Description of Trader Logon attempt | | + | |
- | A successful authentication of a Trader Logon is acknowledged with a Trader Logon Response that contains a **Success** description in the **Text** tag (Tag 58). | + | ^ Tag ^ Field Name ^ Type ^ Req'd ^ Description ^ |
- | Failure to provide the correct parameters in the Trader | + | | | **Message Header** | | Y | MsgType = UCI | |
- | A failed Trader Logon Response message will be sent to the client with a non-Success (i.e., | + | | 553 | UserName | String | Y | T4 Trader |
+ | | 58 | Text | String | Y | Success or failure | ||
+ | | | **Message Trailer** | | Y | | | ||
- | A failed Trader Logon Response does **not** result in a physical disconnection. The FIX Session continues with the participation of the Master User and other traders that were previously authenticated and remained logged in. | + | ===== Sample |
- | + | ||
- | ===== Trader/User Configuration ===== | + | |
- | For a successful Trader Logon, the T4 FIX API requires the Trader/User to have previously assigned accounts and exchanges. | + | |
- | Before FIX API usage, the Trader/User is required to complete Market Data Requirements through its firm setup page. | + | |
- | + | ||
- | Lack of proper configuration will result in a failed Trader Logon Response — indicating the lack of account or exchange assignment for the violating User. | + | |
- | This requirement is **not applied** for Chart data logins (**Tag 372=V**). | + | |
- | + | ||
- | ===== Message Dictionary ===== | + | |
- | ^ Tag ^ Field Name ^ Req'd ^ Comments | | + | |
- | | | Standard Header | + | |
- | | 49 | SenderCompID | + | |
- | | 56 | TargetCompID | + | |
- | | | Body | Y | | | + | |
- | | 553 | UserName | + | |
- | | 58 | Text | Y | Description of Trader Logon Result | | + | |
- | | | Standard Trailer | Y | | | + | |
- | + | ||
- | ===== Sample ===== | + | |
- | In this example: | + | |
- | * The T4 FIX API client requests the start of a FIX Session. | + | |
- | * The client enables the Multi-Trader mode (**Tag 372=UCG**). | + | |
- | * The login request' | + | |
- | * The client sends a Trader Logon to authenticate a new Trader/User under the current FIX Session. | + | |
- | * The Trader Logon attempt fails due to an incorrect password (as shown in the Trader Logon Response message). | + | |
- | * The client retries the Trader Logon with the correct password. | + | |
- | * The FIX API responds with a Trader Logon Response message describing its success. | + | |
- | * Finally, the client requests the termination of the FIX Session with a FIX Logout message, and the FIX API responds confirming the logout. | + | |
- | + | ||
- | ---- | + | |
- | **Login Request from T4 FIX API Client** | + | |
+ | **Successful Response:** | ||
< | < | ||
- | >> 6/12/2015 10:34:35 AM | + | 8=FIX.4.2|9=100|35=UCI|49=test|56=T4Test|50=T4FIX|52=20150612-15: |
- | [FIXLOGIN] | + | 553=Trader1|58=Success|10=234| |
- | [MsgSeqNum] 34 = 1 | + | |
- | [SenderCompID] 49 = T4Test | + | |
- | [TargetCompID] 56 = test | + | |
- | [SenderSubID] 50 = MasterUser | + | |
- | [SendingTime] 52 = 20150612-15: | + | |
- | [SecureData] 91 = 64768859-3ACF-4224-A4E9-DA66901AFC63 | + | |
- | [SecureDataLen] 90 = 36 | + | |
- | [EncryptMethod] 98 = None | + | |
- | [HeartBtInt] 108 = 25 | + | |
- | [UserName] 553 = MasterUser | + | |
- | [Password] 554 = _good_password_ | + | |
- | [NoMsgTypes] 384 = 3 | + | |
- | [RefMsgType] 372 = BB (DISABLE_ACCOUNT_AUTOSUBSCRIPTION) | + | |
- | [RefMsgType] 372 = d (DISABLE_PORTFOLIO_LISTING) | + | |
- | [RefMsgType] 372 = UCG (ENABLE_TRADER_LOGINS) | + | |
</ | </ | ||
- | **Successful Login Response | + | **Failed |
- | + | ||
- | < | + | |
- | << 6/12/2015 10:34:36 AM [fixlogin] 34=1|49=test|56=T4Test|50=T4FIX|52=20150612-15: | + | |
- | [FIXLOGIN] | + | |
- | [MsgSeqNum] 34 = 1 | + | |
- | [SenderCompID] 49 = test | + | |
- | [TargetCompID] 56 = T4Test | + | |
- | [SenderSubID] 50 = T4FIX | + | |
- | [SendingTime] 52 = 20150612-15: | + | |
- | [EncryptMethod] 98 = 0 (NONE) | + | |
- | [HeartBtInt] 108 = 30 | + | |
- | [UserName] 553 = MasterUser | + | |
- | [Password] 554 = *** | + | |
- | [DefaultCstmApplVerID] 1408 = 4.3.34.5 | + | |
- | </ | + | |
- | + | ||
- | **Trader Logon Request from T4 FIX API Client - Bad Password** | + | |
- | + | ||
- | < | + | |
- | >> 6/12/2015 10:34:50 AM | + | |
- | [FIXTRADERLOGIN] | + | |
- | [MsgSeqNum] 34 = 2 | + | |
- | [SenderCompID] 49 = T4Test | + | |
- | [TargetCompID] 56 = test | + | |
- | [SendingTime] 52 = 20150612-15: | + | |
- | [SecureData] 91 = 64768859-3ACF-4224-A4E9-DA66901AFC63 | + | |
- | [SecureDataLen] 90 = 36 | + | |
- | [UserName] 553 = Trader1 | + | |
- | [Password] 554 = _bad_password_ | + | |
- | </ | + | |
- | + | ||
- | **Failed Trader Logon Response from T4 FIX API** | + | |
- | + | ||
- | < | + | |
- | << 6/12/2015 10:34:50 AM [fixtraderloginresponse] 34=2|49=test|56=T4Test|50=T4FIX|52=20150612-15: | + | |
- | [FIXTRADERLOGINRESPONSE] | + | |
- | [MsgSeqNum] 34 = 2 | + | |
- | [SenderCompID] 49 = test | + | |
- | [TargetCompID] 56 = T4Test | + | |
- | [SenderSubID] 50 = T4FIX | + | |
- | [SendingTime] 52 = 20150612-15: | + | |
- | [UserName] 553 = Trader1 | + | |
- | [Text] 58 = Login failed: most likely incorrect trader and password combination | + | |
- | </ | + | |
- | + | ||
- | **Trader Logon Request from T4 FIX API Client - Good Password** | + | |
- | + | ||
- | < | + | |
- | >> 6/12/2015 10:35:03 AM | + | |
- | [FIXTRADERLOGIN] | + | |
- | [MsgSeqNum] 34 = 3 | + | |
- | [SenderCompID] 49 = T4Test | + | |
- | [TargetCompID] 56 = test | + | |
- | [SendingTime] 52 = 20150612-15: | + | |
- | [SecureData] 91 = 64768859-3ACF-4224-A4E9-DA66901AFC63 | + | |
- | [SecureDataLen] 90 = 36 | + | |
- | [UserName] 553 = Trader1 | + | |
- | [Password] 554 = _good_password_ | + | |
- | </ | + | |
- | + | ||
- | **Successful Trader Logon Response from T4 FIX API** | + | |
- | + | ||
- | < | + | |
- | << 6/12/2015 10:35:03 AM [fixtraderloginresponse] 34=3|49=test|56=T4Test|50=T4FIX|52=20150612-15: | + | |
- | [FIXTRADERLOGINRESPONSE] | + | |
- | [MsgSeqNum] 34 = 3 | + | |
- | [SenderCompID] 49 = test | + | |
- | [TargetCompID] 56 = T4Test | + | |
- | [SenderSubID] 50 = T4FIX | + | |
- | [SendingTime] 52 = 20150612-15: | + | |
- | [UserName] 553 = Trader1 | + | |
- | [Text] 58 = Success | + | |
- | </ | + | |
- | + | ||
- | **Logout Request from T4 FIX API Client** | + | |
- | + | ||
- | < | + | |
- | >> 6/12/2015 10:35:09 AM | + | |
- | [FIXLOGOUT] | + | |
- | [MsgSeqNum] 34 = 4 | + | |
- | [SenderCompID] 49 = T4Test | + | |
- | [TargetCompID] 56 = test | + | |
- | [SendingTime] 52 = 20150612-15: | + | |
- | </ | + | |
- | + | ||
- | **Successful Logout Response from T4 FIX API** | + | |
< | < | ||
- | << 6/12/2015 10:35:09 AM [fixlogout] 34=4|49=test|56=T4Test|52=20150612-15: | + | 8=FIX.4.2|9=150|35=UCI|49=test|56=T4Test|50=T4FIX|52=20150612-15: |
- | [FIXLOGOUT] | + | 553=Trader1|58=Login failed: most likely incorrect trader and password combination|10=234| |
- | [MsgSeqNum] 34 = 4 | + | |
- | [SenderCompID] | + | |
- | [TargetCompID] | + | |
- | [SendingTime] | + | |
- | [Text] | + | |
</ | </ | ||
- | [[developers: | + | ===== Notes ===== |
+ | * Session continues after failed trader logon | ||
+ | * Master User and other authenticated traders remain connected | ||
+ | * Trader must have assigned accounts/ |