Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| developers:fixapi:traderlogon [2025/09/12 01:19] – ↷ Page moved and renamed from developers:fixapi.traderlogon to developers:fixapi:traderlogon chad | developers:fixapi:traderlogon [2025/09/12 02:39] (current) – chad | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | ===== Multiple Traders ===== | + | The Trader Logon message |
| - | Under an established FIX Session, multiple traders/ | + | |
| - | To enter Multi-Trader mode, the Master User must explicitly request it as an option on the FIX Logon with **Tag 372 (RefMsgTypes) | + | ===== Prerequisites ===== |
| + | * Master User must enable | ||
| + | | ||
| + | | ||
| - | ===== Authentication Requirements | + | ===== Message Specification |
| - | After establishing a successful FIX Session, the Trader Logon authentication is achieved with the following input parameters in the client' | + | |
| - | ^ Tag Name ^ Tag Number ^ Description | + | **Message Direction: |
| - | | UserName | + | |
| - | | Password | + | |
| - | A successful authentication of a Trader | + | ^ Tag ^ Field Name ^ Type ^ Req'd ^ Description ^ |
| + | | | **Message Header** | | Y | MsgType = UCG | | ||
| + | | 91 | SecureData | String | Y | Application license code | | ||
| + | | 90 | SecureDataLen | Int | Y | License code length | | ||
| + | | 109 | ClientID | String | O | Organization ID | | ||
| + | | 553 | UserName | String | Y | T4 Trader | ||
| + | | 554 | Password | String | Y | T4 Trader | ||
| + | | | **Message Trailer** | | Y | | | ||
| - | Failure to provide the correct parameters in the Trader | + | ===== Multi-Trader |
| - | A failed | + | * All order messages must include SenderSubID (50) = trader name |
| + | * Responses identify trader | ||
| + | * Failed authentication doesn' | ||
| + | | ||
| + | | ||
| - | A logged-on Trader may also be explicitly logged out with a Trader Logout message. The logout of a Trader maintains the FIX Session. The FIX Session can only be terminated by a FIX Logout message. Separate Trader Logouts are not required before ending the FIX Session with a FIX Logout message. All logged-in traders are logged out automatically from the system. | + | ===== Sample Messages ===== |
| - | ===== FIX Session Properties Under Multi-Trader Mode ===== | + | **Enable |
| - | Under Multi-Trader mode, all FIX Session functionalities (as established with RefMsgTypes (Tag 372) of the FIX Logon message) are applied to all traders including the Master User. | + | |
| - | + | ||
| - | All application messages (e.g., New Order Single, Cancel Replace Request, Order Cancel Request, etc.) must also be identified with its originating trader. | + | |
| - | The trader' | + | |
| - | + | ||
| - | Failure to identify the trader in the application message will result in a FIX Reject message. | + | |
| - | Under Multi-Trader | + | |
| - | + | ||
| - | ===== User Configuration ===== | + | |
| - | For a successful trader login, 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 | + | |
| - | This requirement is **not applied** for Chart data logins (**Tag 372=V**). | + | |
| - | + | ||
| - | ===== Message Dictionary ===== | + | |
| - | ^ Tag ^ Field Name ^ Req'd ^ Comments | | + | |
| - | | | Standard Header | + | |
| - | | 91 | SecureData | + | |
| - | | 90 | SecureDataLen | + | |
| - | | 49 | SenderCompID | + | |
| - | | 56 | TargetCompID | + | |
| - | | | Body | Y | | | + | |
| - | | 109 | ClientID | + | |
| - | | 553 | UserName | + | |
| - | | 554 | Password | + | |
| - | | | Standard Trailer | + | |
| - | + | ||
| - | ===== 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 then sends a Trader Logon to authenticate a new Trader/User under the current FIX Session. | + | |
| - | Finally, the client requests the termination of the FIX Session with a FIX Logout message. | + | |
| - | + | ||
| - | ---- | + | |
| - | + | ||
| - | **Login Request from T4 FIX API Client** | + | |
| < | < | ||
| - | >> 6/11/2015 12:41:56 PM | + | 8=FIX.4.2|9=250|35=A|49=T4Test|56=test|50=MasterUser|52=20150611-17: |
| - | [FIXLOGIN] | + | 91=64768859-3ACF-4224-A4E9-DA66901AFC63|90=36|98=0|108=25| |
| - | [MsgSeqNum] 34 = 1 | + | 553=MasterUser|554=_password_|384=2|372=d|372=UCG|10=123| |
| - | [SenderCompID] 49 = T4Test | + | |
| - | [TargetCompID] 56 = test | + | |
| - | [SenderSubID] 50 = MasterUser | + | |
| - | [SendingTime] 52 = 20150611-17: | + | |
| - | [SecureData] 91 = 64768859-3ACF-4224-A4E9-DA66901AFC63 | + | |
| - | [SecureDataLen] 90 = 36 | + | |
| - | [EncryptMethod] 98 = None | + | |
| - | [HeartBtInt] 108 = 25 | + | |
| - | [UserName] 553 = MasterUser | + | |
| - | [Password] 554 = _password_ | + | |
| - | [DefaultApplExtID] 1407 = 58BD-B00F-5805-98AA-BD46-0417-C2B8-9C5F | + | |
| - | [NoMsgTypes] 384 = 2 | + | |
| - | [RefMsgType] 372 = d (DISABLE_PORTFOLIO_LISTING) | + | |
| - | [RefMsgType] 372 = UCG (ENABLE_TRADER_LOGINS) | + | |
| </ | </ | ||
| - | **Successful Login Response from T4 FIX API** | + | **Trader Logon Request:** |
| - | + | ||
| - | < | + | |
| - | << 6/11/2015 12:41:57 PM [fixlogin] 34=1|49=test|56=T4Test|50=T4FIX|52=20150611-17: | + | |
| - | [FIXLOGIN] | + | |
| - | [MsgSeqNum] 34 = 1 | + | |
| - | [SenderCompID] 49 = test | + | |
| - | [TargetCompID] 56 = T4Test | + | |
| - | [SenderSubID] 50 = T4FIX | + | |
| - | [SendingTime] 52 = 20150611-17: | + | |
| - | [EncryptMethod] 98 = 0 (NONE) | + | |
| - | [HeartBtInt] 108 = 30 | + | |
| - | [UserName] 553 = MasterUser | + | |
| - | [Password] 554 = *** | + | |
| - | [DefaultCstmApplVerID] 1408 = 4.3.34.4 | + | |
| - | </ | + | |
| - | + | ||
| - | **Trader Logon Request | + | |
| - | < | + | |
| - | >> 6/11/2015 12:42:02 PM | + | |
| - | [FIXTRADERLOGIN] | + | |
| - | [MsgSeqNum] 34 = 2 | + | |
| - | [SenderCompID] 49 = T4Test | + | |
| - | [TargetCompID] 56 = test | + | |
| - | [SendingTime] 52 = 20150611-17: | + | |
| - | [SecureData] 91 = 64768859-3ACF-4224-A4E9-DA66901AFC63 | + | |
| - | [SecureDataLen] 90 = 36 | + | |
| - | [UserName] 553 = Trader1 | + | |
| - | [Password] 554 = _TraderPassword_ | + | |
| - | </ | + | |
| - | + | ||
| - | **Successful Trader Logon Response from T4 FIX API** | + | |
| - | < | + | |
| - | << 6/11/2015 12:42:03 PM [fixtraderloginresponse] 34=2|49=test|56=T4Test|50=T4FIX|52=20150611-17: | + | |
| - | [FIXTRADERLOGINRESPONSE] | + | |
| - | [MsgSeqNum] 34 = 2 | + | |
| - | [SenderCompID] 49 = test | + | |
| - | [TargetCompID] 56 = T4Test | + | |
| - | [SenderSubID] 50 = T4FIX | + | |
| - | [SendingTime] 52 = 20150611-17: | + | |
| - | [UserName] 553 = Trader1 | + | |
| - | [Text] 58 = Success | + | |
| - | </ | + | |
| - | + | ||
| - | **Logout Request from T4 FIX API Client** | + | |
| < | < | ||
| - | >> 6/11/2015 12:42:11 PM | + | 8=FIX.4.2|9=180|35=UCG|49=T4Test|56=test|52=20150611-17: |
| - | [FIXLOGOUT] | + | 91=64768859-3ACF-4224-A4E9-DA66901AFC63|90=36| |
| - | [MsgSeqNum] 34 = 3 | + | 553=Trader1|554=_TraderPassword_|10=123| |
| - | [SenderCompID] 49 = T4Test | + | |
| - | [TargetCompID] 56 = test | + | |
| - | [SendingTime] 52 = 20150611-17: | + | |
| </ | </ | ||
| - | **Successful | + | **Successful Response:** |
| < | < | ||
| - | << 6/11/2015 12:42:11 PM [fixlogout] 34=3|49=test|56=T4Test|52=20150611-17: | + | 8=FIX.4.2|9=120|35=UCG|49=test|56=T4Test|50=T4FIX|52=20150611-17: |
| - | [FIXLOGOUT] | + | 553=Trader1|58=Success|10=234| |
| - | [MsgSeqNum] 34 = 3 | + | |
| - | [SenderCompID] 49 = test | + | |
| - | [TargetCompID] 56 = T4Test | + | |
| - | [SendingTime] 52 = 20150611-17: | + | |
| - | [Text] 58 = Successful logout upon request | + | |
| </ | </ | ||
| - | [[developers: | + | ===== Notes ===== |
| + | * Failed logon returns Text (58) with error description | ||
| + | * Chart data logins (372=V) exempt from account requirements | ||
| + | * Session properties apply to all traders | ||