IContractsApi Interface

GF API Documentation
Public API for Contract functionality

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

public interface IContractsApi

The IContractsApi type exposes the following members.

Properties

  NameDescription
Public propertyBase
Base contract functionality
Public propertyContinuous
Continuous Contract functionality
Public propertyGroups
Contract Group functionality
Public propertyLoad
Contract Load functionality
Public propertyLookup
Symbol Lookup functionality
Public propertyVolatility
Contract Volatility functionality
Top
Methods

  NameDescription
Public methodCreateCompound
Create a custom compound contract.
Public methodGet
Returns all available contracts
Public methodGet(String)
Get the contract matching the given symbol
Public methodGet(ContractID)
Get the contract matching the given identifier
Public methodGetElectronicOrPit
Get the electronic contract matching the given identifier, or if not found get the pit contract with an ID whose positive value matches using positive values for both pit and electronic
Top
Events

  NameDescription
Public eventContractsChanged
Occurs when the list of options/compounds is updated
Top
See Also

Reference