ContractSortKey Structure

GF API Documentation
Composite key to sort contract lists by symbol and expiration date

Namespace:  GF.Api.Contracts
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

[SerializableAttribute]
public struct ContractSortKey : IComparable<ContractSortKey>, 
	IEquatable<ContractSortKey>

The ContractSortKey type exposes the following members.

Constructors

  NameDescription
Public methodContractSortKey
Construct sort key object
Top
Methods

  NameDescription
Public methodCompareTo
Compare sort keys with another one
Public methodEquals(Object)
Structural equality
(Overrides ValueTypeEquals(Object).)
Public methodEquals(ContractSortKey)
Structural equality
Public methodGetHashCode
returns a hashcode
(Overrides ValueTypeGetHashCode.)
Top
Fields

  NameDescription
Public fieldBaseSymbol
Contract base symbol
Public fieldMonthYear
Contract month/year
Top
See Also

Reference