Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Trading Session List Request

Use this REST call to get details about the current and a few upcoming trading sessions available in SWAPREPO/Lend.

API Key Permission: Read
GET POST /API/swaplendrepolend/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

 

SWAPREPO/Lend

TradingSessionID

String

 

If message is intended to determine the status of a Trading Session

TradSesMode

Int

 

Supported Session Modes:
1 = Testing
3 = Production

Request example:

Code Block
languagejson
{
  "Header": {
    "MsgType": "BI",
    "MsgSeqNum": "87254",
    "SenderCompID": "SENDER",
    "TargetCompID": "TARGET",
    "SendingTime": "20220905-18:54:42.492"
  },
  "TradSesReqID": "8255gs009",
  "MarketSegmentID": "SWAPREPO/Lend",
  "TradingSessionID": "20220906",
  "TradSesMode": "3"
}
Expand
titleRaw version
Code Block
languagejson
MsgType: BI
MsgSeqNum: 87254
SendingTime: 20220905-18:54:42.492
TradSesReqID: 8255gs009
MarketSegmentID: SWAPREPO/Lend
TradingSessionID: 20220906
TradSesMode: 3