class O2GSessionDescriptor

Brief

A trading session descriptor.

Details

O2GSessionDescriptor is used to keep information about particular trading session when more than one trading session is available (for O2GSessionStatusCode.TradingSessionRequested). Please refer to this article for more information.
The trading session descriptors are available via the O2GSessionDescriptorCollection.

O2GSessionDescriptor [hide]

 O2GSessionDescriptorCollection descs = mSession.getTradingSessionDescriptors();
 Console.WriteLine("\nSession descriptors");
 Console.WriteLine("id, name, description, requires pin");
 foreach (O2GSessionDescriptor desc in descs)
 {
    Console.WriteLine("'{0}' '{1}' '{2}' {3}", desc.Id, desc.Name, desc.Description, desc.RequiresPin);!
 }

The type defined in the fxcore2.dll assembly. The namespace is fxcore2.

Public Properties

Description

The detailed description of the trading session.

Id

The unique identifier of the trading session.

Name

The user-friendly name of the trading session.

RequiresPin

The flag indicating whether a pin is required for this trading session.

back