OEC Application Programming Interface

BaseContract Members

BaseContract overview

Public Static Methods

GetBaseNameBySymbol Returns name of Base contract for symbol

Public Instance Properties

Commissions Commissions
CompoundType Compound type
ContractGroup Group where contract belongs to (Currencies, Grains etc)
ContractKind Kind of a contract
Contracts List of underlying contracts ES : (ESH6, ESM6, ESU6, ESZ6, ESH7, ...)
ContractSizeObsolete. Contract size - points per currency unit (per dollar for USD)
Currency Currency of contract
Exchange Exchange where contract is traded
First First underlying contract
HasOnlyFutureLegs Is the contract a future-only compound?
HasOptionLegs Is the contract an option compound?
ID (inherited from IDObject<Int32>) Unique key value
InitialMargin Initial margin for contract
IsCompound Is the contract a compound contract?
IsFuture Is the contract a future contract?
IsOption Is the contract an option contract?
MaintenanceMargin Maintenance margin for contract
Name Full name - Mini S&P
PriceFormat Price Format
PriceMultiplier Multiplier - power of 10 used for price formatting.
StartTime Trading session start time, in local time zone
StopTime Trading session stop time, in local time zone
Symbol Symbol - ES, SP, FDAX etc
TickSizeObsolete. Tick size - minimal increment of price value
Type Contract type - pit or electronic

Public Instance Methods

GetContracts Gets nearest N contracts according to month/year mask
GetNearestContract Gets nearest contract
GetNearestContracts Gets a list with N nearest contracts
ToString String representation of the BaseContract

See Also

BaseContract Class | OEC.API Namespace | Contract | ContractGroup