Public API for Contract functionality
Namespace: GF.Api.Contracts
Assembly: GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax
The IContractsApi type exposes the following members.
Properties
Name | Description | |
---|---|---|
Base |
Base contract functionality
| |
Continuous |
Continuous Contract functionality
| |
Groups |
Contract Group functionality
| |
Load |
Contract Load functionality
| |
Lookup |
Symbol Lookup functionality
| |
Volatility |
Contract Volatility functionality
|
Methods
Name | Description | |
---|---|---|
CreateCompound |
Create a custom compound contract.
| |
Get |
Returns all available contracts
| |
Get(String) |
Get the contract matching the given symbol
| |
Get(ContractID) |
Get the contract matching the given identifier
| |
GetElectronicOrPit |
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
|
Events
Name | Description | |
---|---|---|
ContractsChanged |
Occurs when the list of options/compounds is updated
|
See Also