Trading Session List Request
Use this REST call to get details about the current and a few upcoming trading sessions available in REPO/Lend.
API Key Permission: Read
POST /API/swaplend/marketstructure/TradSessListReq
Request parameters
Field Name | Format | Req'd | Comments |
---|---|---|---|
<StandardHeader> Component block | ✓ | MsgType = BI | |
MsgType | String | ✓ | BI = TradingSessionListRequest |
MsgSeqNum | SeqNum | ✓ | Incremental number used to identify if receiver missed a message |
SendingTime | UTCTimestamp | ✓ | Time of sending this message |
TradSesReqID | String | ✓ | User generated, must be a unique ID |
MarketID | Exchange | XCDE | |
MarketSegmentID | String | REPO/Lend | |
TradingSessionID | String | If message is intended to determine the status of a Trading Session | |
TradSesMode | Int | Supported Session Modes: 1 = Testing 3 = Production |
Example:
1{
2 "Header": {
3 "MsgType": "BI",
4 "MsgSeqNum": "87254",
5 "SenderCompID": "SENDER",
6 "TargetCompID": "TARGET",
7 "SendingTime": "20220905-18:54:42.492"
8 },
9 "TradSesReqID": "8255gs009",
10 "MarketSegmentID": "REPO/Lend",
11 "TradingSessionID": "20220906",
12 "TradSesMode": "3"
13}