Visual Basic |
---|
Public Event CommodityInstrumentsResolved( _ ByVal commodity_name As String, _ ByVal instrument_types As eInstrumentType, _ ByVal cqg_commodity_intruments As CQGCommodityInstruments _ ) |
- commodity_name
- The commodity symbol that was requested by the user in the corresponding RequestCommodityInstruments method call.
- instrument_types
Instrument type bitmask that was set by the user in corresponding RequestCommodityInstruments method call.Value Description itAllInstruments Represents all instrument types. itAllOptions Represents Option Call and Option Put instrument types. itFuture Represents Futures instrument type. itOptionCall Represents Option Call instrument type. itOptionPut Represents Option Put instrument type. itOther Represents other (not explicitly listed in the enumeration) instrument types, such as cash, indices, currencies, reports etc. itStock Represents Stock instrument type. itSyntheticStrategy Represents synthetic strategy instrument type. itTreasure Represents Treasury instrument type. itUndefined Undefined type. - cqg_commodity_intruments
- A collection, which contains names of instruments corresponding to the requested commodity and filtered by the bitmask set in RequestCommodityInstruments Method.
For example, the returned instrument name for the commodity "EP", will have the following format: "F.EPH7".