Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Trading Session List Request

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

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

 

SWAP/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:

MsgType: BI
MsgSeqNum: 87254
SendingTime: 20220905-18:54:42.492
TradSesReqID: 8255gs009
MarketSegmentID: SWAP/Lend
TradingSessionID: 20220906
TradSesMode: 3
{
  "Header": {
    "MsgType": "BI",
    "MsgSeqNum": "87254",
    "SenderCompID": "SENDER",
    "TargetCompID": "TARGET",
    "SendingTime": "20220905-18:54:42.492"
  },
  "TradSesReqID": "8255gs009",
  "MarketSegmentID": "SWAP/Lend",
  "TradingSessionID": "20220906",
  "TradSesMode": "3"
}
  • No labels