public method TradeDeskAut.RetrieveTradeSessions, RetrieveTradeSessionsAsync
Brief
Gets the information about available trading sessions.
Declaration | ||||
|
||||
|
||||
|
||||
|
Parameters | |
sUser |
The user name. |
sPassword |
The password. |
sUrl |
The URL of the host descriptor. This value is provided with the account. |
sConnection |
The name of the connection (e.g. Demo or Real). This value is provided with the account. |
Details
The RetrieveTradeSessions
method returns an object of the SessionDescriptorEnumAut
class.
The RetrieveTradeSessionsAsync
method is implemented for asynchronous execution.
To get the result of method execution, use the events of
TradeDeskEventsSink.OnRetrieveSessionsCompleted
and
TradeDeskEventsSink.OnRetrieveSessionsFailed
or
pending events of the kind KIND_SESSIONSLISTCOMPLETED
and KIND_SESSIONSLISTFAILED
.
The RetrieveTradeSessions
and RetrieveTradeSessionsAsync
methods are defined in the TradeDeskAut
class.