dxFeed Graal CXX API
|
Represents basic profile information about market instrument. More...
#include <InstrumentProfile.hpp>
Public Types | |
using | Ptr = std::shared_ptr<InstrumentProfile> |
The alias to a type of shared pointer to the InstrumentProfile object. | |
using | Unique = std::unique_ptr<InstrumentProfile> |
The alias to a type of unique pointer to the InstrumentProfile object. | |
Public Types inherited from SharedEntity | |
using | Ptr = std::shared_ptr<SharedEntity> |
The alias to a type of shared pointer to the SharedEntity object. | |
Public Member Functions | |
void * | toGraal () const |
Allocates memory for the dxFeed Graal SDK structure. | |
InstrumentProfile () noexcept=default | |
Creates new instrument profile with default values. | |
const std::string & | getType () const &noexcept |
Returns type of instrument. | |
void | setType (const std::string &type) noexcept |
Changes type of instrument. | |
InstrumentProfile & | withType (const std::string &type) noexcept |
Changes type of instrument and returns the current instrument profile. | |
const std::string & | getSymbol () const &noexcept |
Returns identifier of instrument, preferable an international one in Latin alphabet. | |
void | setSymbol (const std::string &symbol) noexcept |
Changes identifier of instrument, preferable an international one in Latin alphabet. | |
InstrumentProfile & | withSymbol (const std::string &symbol) noexcept |
Changes identifier of instrument, preferable an international one in Latin alphabet. | |
const std::string & | getDescription () const &noexcept |
Returns the description of instrument, preferable an international one in Latin alphabet. | |
void | setDescription (const std::string &description) noexcept |
Changes description of instrument, preferable an international one in Latin alphabet. | |
InstrumentProfile & | withDescription (const std::string &description) noexcept |
Changes description of instrument, preferable an international one in Latin alphabet. | |
const std::string & | getLocalSymbol () const &noexcept |
Returns identifier of instrument in national language. | |
void | setLocalSymbol (const std::string &localSymbol) noexcept |
Changes identifier of instrument in national language. | |
InstrumentProfile & | withLocalSymbol (const std::string &localSymbol) noexcept |
Changes identifier of instrument in national language. | |
const std::string & | getLocalDescription () const &noexcept |
Returns description of instrument in national language. | |
void | setLocalDescription (const std::string &localDescription) noexcept |
Changes description of instrument in national language. | |
InstrumentProfile & | withLocalDescription (const std::string &localDescription) noexcept |
Changes description of instrument in national language. | |
const std::string & | getCountry () const &noexcept |
Returns country of origin (incorporation) of corresponding company or parent entity. | |
void | setCountry (const std::string &country) noexcept |
Changes country of origin (incorporation) of corresponding company or parent entity. | |
InstrumentProfile & | withCountry (const std::string &country) noexcept |
Changes country of origin (incorporation) of corresponding company or parent entity. | |
const std::string & | getOPOL () const &noexcept |
Returns official Place Of Listing, the organization that have listed this instrument. | |
void | setOPOL (const std::string &opol) noexcept |
Changes official Place Of Listing, the organization that have listed this instrument. | |
InstrumentProfile & | withOPOL (const std::string &opol) noexcept |
Changes official Place Of Listing, the organization that have listed this instrument. | |
const std::string & | getExchangeData () const &noexcept |
Returns exchange-specific data required to properly identify instrument when communicating with exchange. | |
void | setExchangeData (const std::string &exchangeData) noexcept |
Changes exchange-specific data required to properly identify instrument when communicating with exchange. | |
InstrumentProfile & | withExchangeData (const std::string &exchangeData) noexcept |
Changes exchange-specific data required to properly identify instrument when communicating with exchange. | |
const std::string & | getExchanges () const &noexcept |
Returns list of exchanges where instrument is quoted or traded. | |
void | setExchanges (const std::string &exchanges) noexcept |
Changes list of exchanges where instrument is quoted or traded. | |
InstrumentProfile & | withExchanges (const std::string &exchanges) noexcept |
Changes list of exchanges where instrument is quoted or traded. | |
const std::string & | getCurrency () const &noexcept |
Returns currency of quotation, pricing and trading. | |
void | setCurrency (const std::string ¤cy) noexcept |
Changes currency of quotation, pricing and trading. | |
InstrumentProfile & | withCurrency (const std::string ¤cy) noexcept |
Changes currency of quotation, pricing and trading. | |
const std::string & | getBaseCurrency () const &noexcept |
Returns base currency of currency pair (FOREX instruments). | |
void | setBaseCurrency (const std::string &baseCurrency) noexcept |
Changes base currency of currency pair (FOREX instruments). | |
InstrumentProfile & | withBaseCurrency (const std::string &baseCurrency) noexcept |
Changes base currency of currency pair (FOREX instruments). | |
const std::string & | getCFI () const &noexcept |
Returns Classification of Financial Instruments code. | |
void | setCFI (const std::string &cfi) noexcept |
Changes Classification of Financial Instruments code. | |
InstrumentProfile & | withCFI (const std::string &cfi) noexcept |
Changes Classification of Financial Instruments code. | |
const std::string & | getISIN () const &noexcept |
Returns International Securities Identifying Number. | |
void | setISIN (const std::string &isin) noexcept |
Changes International Securities Identifying Number. | |
InstrumentProfile & | withISIN (const std::string &isin) noexcept |
Changes International Securities Identifying Number. | |
const std::string & | getSEDOL () const &noexcept |
Returns Stock Exchange Daily Official List. | |
void | setSEDOL (const std::string &sedol) noexcept |
Changes Stock Exchange Daily Official List. | |
InstrumentProfile & | withSEDOL (const std::string &sedol) noexcept |
Changes Stock Exchange Daily Official List. | |
const std::string & | getCUSIP () const &noexcept |
Returns Committee on Uniform Security Identification Procedures code. | |
void | setCUSIP (const std::string &cusip) noexcept |
Changes Committee on Uniform Security Identification Procedures code. | |
InstrumentProfile & | withCUSIP (const std::string &cusip) noexcept |
Changes Committee on Uniform Security Identification Procedures code. | |
std::int32_t | getICB () const noexcept |
Returns Industry Classification Benchmark. | |
void | setICB (std::int32_t icb) noexcept |
Changes Industry Classification Benchmark. | |
InstrumentProfile & | withICB (std::int32_t icb) noexcept |
Changes Industry Classification Benchmark. | |
std::int32_t | getSIC () const noexcept |
Returns Standard Industrial Classification. | |
void | setSIC (std::int32_t sic) noexcept |
Changes Standard Industrial Classification. | |
InstrumentProfile & | withSIC (std::int32_t sic) noexcept |
Changes Standard Industrial Classification. | |
double | getMultiplier () const noexcept |
Returns market value multiplier. | |
void | setMultiplier (double multiplier) noexcept |
Changes market value multiplier. | |
InstrumentProfile & | withMultiplier (double multiplier) noexcept |
Changes market value multiplier. | |
const std::string & | getProduct () const &noexcept |
Returns product for futures and options on futures (underlying asset name). | |
void | setProduct (const std::string &product) noexcept |
Changes product for futures and options on futures (underlying asset name). | |
InstrumentProfile & | withProduct (const std::string &product) noexcept |
Changes product for futures and options on futures (underlying asset name). | |
const std::string & | getUnderlying () const &noexcept |
Returns primary underlying symbol for options. | |
void | setUnderlying (const std::string &underlying) noexcept |
Changes primary underlying symbol for options. | |
InstrumentProfile & | withUnderlying (const std::string &underlying) noexcept |
Changes primary underlying symbol for options. | |
double | getSPC () const noexcept |
Returns shares per contract for options. | |
void | setSPC (double spc) noexcept |
Changes shares per contract for options. | |
InstrumentProfile & | withSPC (double spc) noexcept |
Changes shares per contract for options. | |
const std::string & | getAdditionalUnderlyings () const &noexcept |
Returns additional underlyings for options, including additional cash. | |
void | setAdditionalUnderlyings (const std::string &additionalUnderlyings) noexcept |
Changes additional underlyings for options, including additional cash. | |
InstrumentProfile & | withAdditionalUnderlyings (const std::string &additionalUnderlyings) noexcept |
Changes additional underlyings for options, including additional cash. | |
const std::string & | getMMY () const &noexcept |
Returns maturity month-year as provided for corresponding FIX tag (200). | |
void | setMMY (const std::string &mmy) noexcept |
Changes maturity month-year as provided for corresponding FIX tag (200). | |
InstrumentProfile & | withMMY (const std::string &mmy) noexcept |
Changes maturity month-year as provided for corresponding FIX tag (200). | |
std::int32_t | getExpiration () const noexcept |
Returns day id of expiration. | |
void | setExpiration (std::int32_t expiration) noexcept |
Changes day id of expiration. | |
InstrumentProfile & | withExpiration (std::int32_t expiration) noexcept |
Changes day id of expiration. | |
std::int32_t | getLastTrade () const noexcept |
Returns day id of last trading day. | |
void | setLastTrade (std::int32_t lastTrade) noexcept |
Changes day id of last trading day. | |
InstrumentProfile & | withLastTrade (std::int32_t lastTrade) noexcept |
Changes day id of last trading day. | |
double | getStrike () const noexcept |
Returns strike price for options. | |
void | setStrike (double strike) noexcept |
Changes strike price for options. | |
InstrumentProfile & | withStrike (double strike) noexcept |
Changes strike price for options. | |
const std::string & | getOptionType () const &noexcept |
Returns type of option. | |
void | setOptionType (const std::string &optionType) noexcept |
Changes type of option. | |
InstrumentProfile & | withOptionType (const std::string &optionType) noexcept |
Changes type of option. | |
const std::string & | getExpirationStyle () const &noexcept |
Returns expiration cycle style, such as "Weeklys", "Quarterlys". | |
void | setExpirationStyle (const std::string &expirationStyle) noexcept |
Changes the expiration cycle style, such as "Weeklys", "Quarterlys". | |
InstrumentProfile & | withExpirationStyle (const std::string &expirationStyle) noexcept |
Changes the expiration cycle style, such as "Weeklys", "Quarterlys". | |
const std::string & | getSettlementStyle () const &noexcept |
Returns settlement price determination style, such as "Open", "Close". | |
void | setSettlementStyle (const std::string &settlementStyle) noexcept |
Changes settlement price determination style, such as "Open", "Close". | |
InstrumentProfile & | withSettlementStyle (const std::string &settlementStyle) noexcept |
Changes settlement price determination style, such as "Open", "Close". | |
const std::string & | getPriceIncrements () const &noexcept |
Returns minimum allowed price increments with corresponding price ranges. | |
void | setPriceIncrements (const std::string &priceIncrements) noexcept |
Changes minimum allowed price increments with corresponding price ranges. | |
InstrumentProfile & | withPriceIncrements (const std::string &priceIncrements) noexcept |
Changes minimum allowed price increments with corresponding price ranges. | |
const std::string & | getTradingHours () const &noexcept |
Returns trading hours specification. | |
void | setTradingHours (const std::string &tradingHours) noexcept |
Changes trading hours specification. | |
InstrumentProfile & | withTradingHours (const std::string &tradingHours) noexcept |
Changes trading hours specification. | |
Public Member Functions inherited from SharedEntity | |
template<typename T > | |
bool | is () const noexcept |
Checks that pointer to the current type could be converted to type T* In other words: whether type T belongs to the type hierarchy in which the current type resides. | |
template<typename T > | |
std::shared_ptr< T > | sharedAs () noexcept |
Returns a pointer to the current object wrapped in a smart pointer to type T. | |
template<typename T > | |
std::shared_ptr< T > | sharedAs () const noexcept |
Returns a pointer to the current object wrapped in a smart pointer to type T. | |
virtual std::string | toString () const noexcept |
Returns a string representation of the current object. | |
Public Member Functions inherited from Entity | |
virtual | ~Entity () noexcept=default |
The default virtual d-tor. | |
Static Public Member Functions | |
static Ptr | fromGraal (void *graalNative) |
Creates an object of the current type and fills it with data from the the dxFeed Graal SDK structure. | |
static std::vector< Ptr > | fromGraalList (void *graalList) |
Creates a vector of objects of the current type and fills it with data from the the dxFeed Graal SDK list of structures. | |
static void | freeGraal (void *graalNative) |
Releases the memory occupied by the dxFeed Graal SDK structure. | |
Represents basic profile information about market instrument.
Please see Instrument Profile Format documentation for complete description.
|
static |
Releases the memory occupied by the dxFeed Graal SDK structure.
graalNative | The pointer to the dxFeed Graal SDK structure. |
Referenced by InstrumentProfileCollector::updateInstrumentProfile().
|
static |
Creates an object of the current type and fills it with data from the the dxFeed Graal SDK structure.
graalNative | The pointer to the dxFeed Graal SDK structure. |
std::invalid_argument |
|
static |
Creates a vector of objects of the current type and fills it with data from the the dxFeed Graal SDK list of structures.
graalList | The pointer to the dxFeed Graal SDK list of structures. |
std::invalid_argument |
|
inlinenoexcept |
Returns additional underlyings for options, including additional cash.
It shall use following format:
Example: "SE 50", "FIS 53; US$ 45.46".
|
inlinenoexcept |
Returns base currency of currency pair (FOREX instruments).
It shall use three-letter currency code similarly to currency.
|
inlinenoexcept |
Returns Classification of Financial Instruments code.
It is a mandatory field for OPTION instruments as it is the only way to distinguish Call/Put type, American/European exercise, Cash/Physical delivery. It shall use six-letter CFI code from ISO 10962 standard. It is allowed to use 'X' extensively and to omit trailing letters (assumed to be 'X'). See ISO 10962 on Wikipedia. Example: "ESNTPB", "ESXXXX", "ES" , "OPASPS".
|
inlinenoexcept |
Returns country of origin (incorporation) of corresponding company or parent entity.
It shall use two-letter country code from ISO 3166-1 standard. See ISO 3166-1 on Wikipedia. Example: "US", "RU".
|
inlinenoexcept |
Returns currency of quotation, pricing and trading.
It shall use three-letter currency code from ISO 4217 standard. See ISO 4217 on Wikipedia. Example: "USD", "RUB".
|
inlinenoexcept |
Returns Committee on Uniform Security Identification Procedures code.
It shall use nine-letter code assigned by CUSIP Services Bureau. See CUSIP on Wikipedia. Example: "38259P508".
|
inlinenoexcept |
Returns the description of instrument, preferable an international one in Latin alphabet.
Example: "Google Inc.", "Mini Gold Futures,Jun-2009,ETH".
|
inlinenoexcept |
Returns exchange-specific data required to properly identify instrument when communicating with exchange.
It uses exchange-specific format.
|
inlinenoexcept |
Returns list of exchanges where instrument is quoted or traded.
Its shall use the following format:
Example: "ARCX;CBSX ;XNAS;XNYS".
|
inlinenoexcept |
Returns day id of expiration.
Example: day_util::#getDayIdByYearMonthDay() "dxfcpp::day_util::getDayIdByYearMonthDay"(20090117).
|
inlinenoexcept |
Returns expiration cycle style, such as "Weeklys", "Quarterlys".
|
inlinenoexcept |
Returns Industry Classification Benchmark.
It shall use four-digit number from ICB catalog. See ICB on Wikipedia or ICB homepage. Example: "9535".
|
inlinenoexcept |
Returns International Securities Identifying Number.
It shall use twelve-letter code from ISO 6166 standard. See ISO 6166 on Wikipedia or ISIN on Wikipedia. Example: "DE0007100000", "US38259P5089".
|
inlinenoexcept |
Returns day id of last trading day.
Example: day_util::#getDayIdByYearMonthDay() "dxfcpp::day_util::getDayIdByYearMonthDay"(20090116).
|
inlinenoexcept |
Returns description of instrument in national language.
It shall be empty if same as description.
|
inlinenoexcept |
Returns identifier of instrument in national language.
It shall be empty if same as symbol.
|
inlinenoexcept |
Returns maturity month-year as provided for corresponding FIX tag (200).
It can use several different formats depending on data source:
|
inlinenoexcept |
Returns market value multiplier.
Example: 100, 33.2.
|
inlinenoexcept |
Returns official Place Of Listing, the organization that have listed this instrument.
Instruments with multiple listings shall use separate profiles for each listing. It shall use Market Identifier Code (MIC) from ISO 10383 standard. See ISO 10383 on Wikipedia or MIC homepage. Example: "XNAS", "RTSX"
|
inlinenoexcept |
Returns type of option.
It shall use one of following values:
|
inlinenoexcept |
Returns minimum allowed price increments with corresponding price ranges.
It shall use following format:
Example: "0.25", "0.01 3; 0.05".
|
inlinenoexcept |
Returns product for futures and options on futures (underlying asset name).
Example: "/YG".
|
inlinenoexcept |
Returns Stock Exchange Daily Official List.
It shall use seven-letter code assigned by London Stock Exchange. See SEDOL on Wikipedia or SEDOL on LSE. Example: "2310967", "5766857".
|
inlinenoexcept |
Returns settlement price determination style, such as "Open", "Close".
|
inlinenoexcept |
Returns Standard Industrial Classification.
It shall use four-digit number from SIC catalog. See SIC on Wikipedia or SIC structure. Example: "7371".
|
inlinenoexcept |
Returns shares per contract for options.
Example: 1, 100.
|
inlinenoexcept |
Returns strike price for options.
Example: 80, 22.5.
|
inlinenoexcept |
Returns identifier of instrument, preferable an international one in Latin alphabet.
It is a mandatory field. It may not be empty. Example: "GOOG", "/YGM9", ".ZYEAD".
|
inlinenoexcept |
Returns trading hours specification.
|
inlinenoexcept |
Returns type of instrument.
It takes precedence in conflict cases with other fields. It is a mandatory field. It may not be empty. Example: "STOCK", "FUTURE", "OPTION".
|
inlinenoexcept |
Returns primary underlying symbol for options.
Example: "C", "/YGM9"
|
inlinenoexcept |
Changes additional underlyings for options, including additional cash.
It shall use following format:
Example: "SE 50", "FIS 53; US$ 45.46".
additionalUnderlyings | The additional underlyings for options, including additional cash. |
Referenced by withAdditionalUnderlyings().
|
inlinenoexcept |
Changes base currency of currency pair (FOREX instruments).
It shall use three-letter currency code similarly to currency.
baseCurrency | The base currency of currency pair (FOREX instruments). |
Referenced by withBaseCurrency().
|
inlinenoexcept |
Changes Classification of Financial Instruments code.
It is a mandatory field for OPTION instruments as it is the only way to distinguish Call/Put type, American/European exercise, Cash/Physical delivery. It shall use six-letter CFI code from ISO 10962 standard. It is allowed to use 'X' extensively and to omit trailing letters (assumed to be 'X'). See ISO 10962 on Wikipedia. Example: "ESNTPB", "ESXXXX", "ES" , "OPASPS".
cfi | CFI code. |
Referenced by withCFI().
|
inlinenoexcept |
Changes country of origin (incorporation) of corresponding company or parent entity.
It shall use two-letter country code from ISO 3166-1 standard. See ISO 3166-1 on Wikipedia. Example: "US", "RU".
country | The country of origin (incorporation) of corresponding company or parent entity. |
Referenced by withCountry().
|
inlinenoexcept |
Changes currency of quotation, pricing and trading.
It shall use three-letter currency code from ISO 4217 standard. See ISO 4217 on Wikipedia. Example: "USD", "RUB".
currency | Currency of quotation, pricing and trading. |
Referenced by withCurrency().
|
inlinenoexcept |
Changes Committee on Uniform Security Identification Procedures code.
It shall use nine-letter code assigned by CUSIP Services Bureau. See CUSIP on Wikipedia. Example: "38259P508".
cusip | CUSIP code. |
Referenced by withCUSIP().
|
inlinenoexcept |
Changes description of instrument, preferable an international one in Latin alphabet.
Example: "Google Inc.", "Mini Gold Futures,Jun-2009,ETH".
description | The description of instrument. |
Referenced by withDescription().
|
inlinenoexcept |
Changes exchange-specific data required to properly identify instrument when communicating with exchange.
It uses exchange-specific format.
exchangeData | The exchange-specific data required to properly identify instrument when communicating with exchange. |
Referenced by withExchangeData().
|
inlinenoexcept |
Changes list of exchanges where instrument is quoted or traded.
It shall use the following format:
Example: "ARCX;CBSX ;XNAS;XNYS".
exchanges | The list of exchanges where instrument is quoted or traded. |
Referenced by withExchanges().
|
inlinenoexcept |
Changes day id of expiration.
Example: day_util::#getDayIdByYearMonthDay() "dxfcpp::day_util::getDayIdByYearMonthDay"(20090117).
expiration | The day id of expiration. |
Referenced by withExpiration().
|
inlinenoexcept |
Changes the expiration cycle style, such as "Weeklys", "Quarterlys".
expirationStyle | The expiration cycle style. |
Referenced by withExpirationStyle().
|
inlinenoexcept |
Changes Industry Classification Benchmark.
It shall use four-digit number from ICB catalog. See ICB on Wikipedia or ICB homepage. Example: "9535".
icb | Industry Classification Benchmark. |
Referenced by withICB().
|
inlinenoexcept |
Changes International Securities Identifying Number.
It shall use twelve-letter code from ISO 6166 standard. See ISO 6166 on Wikipedia or ISIN on Wikipedia. Example: "DE0007100000", "US38259P5089".
isin | International Securities Identifying Number. |
Referenced by withISIN().
|
inlinenoexcept |
Changes day id of last trading day.
Example: day_util::#getDayIdByYearMonthDay() "dxfcpp::day_util::getDayIdByYearMonthDay"(20090116).
lastTrade | The day id of last trading day. |
Referenced by withLastTrade().
|
inlinenoexcept |
Changes description of instrument in national language.
It shall be empty if same as description.
localDescription | The description of instrument in national language. |
Referenced by withLocalDescription().
|
inlinenoexcept |
Changes identifier of instrument in national language.
It shall be empty if same as symbol.
localSymbol | The identifier of instrument in national language. |
Referenced by withLocalSymbol().
|
inlinenoexcept |
Changes maturity month-year as provided for corresponding FIX tag (200).
It can use several different formats depending on data source:
mmy | The maturity month-year as provided for corresponding FIX tag (200). |
Referenced by withMMY().
|
inlinenoexcept |
Changes market value multiplier.
Example: 100, 33.2.
multiplier | The market value multiplier. |
Referenced by withMultiplier().
|
inlinenoexcept |
Changes official Place Of Listing, the organization that have listed this instrument.
Instruments with multiple listings shall use separate profiles for each listing. It shall use Market Identifier Code (MIC) from ISO 10383 standard. See ISO 10383 on Wikipedia or MIC homepage. Example: "XNAS", "RTSX"
opol | The official Place Of Listing, the organization that have listed this instrument. |
Referenced by withOPOL().
|
inlinenoexcept |
Changes type of option.
It shall use one of following values:
optionType | The type of option. |
Referenced by withOptionType().
|
inlinenoexcept |
Changes minimum allowed price increments with corresponding price ranges.
It shall use following format:
Example: "0.25", "0.01 3; 0.05".
priceIncrements | The minimum allowed price increments with corresponding price ranges. |
Referenced by withPriceIncrements().
|
inlinenoexcept |
Changes product for futures and options on futures (underlying asset name).
Example: "/YG".
product | The product for futures and options on futures (underlying asset name). |
Referenced by withProduct().
|
inlinenoexcept |
Changes Stock Exchange Daily Official List.
It shall use seven-letter code assigned by London Stock Exchange. See SEDOL on Wikipedia or SEDOL on LSE. Example: "2310967", "5766857".
sedol | Stock Exchange Daily Official List. |
Referenced by withSEDOL().
|
inlinenoexcept |
Changes settlement price determination style, such as "Open", "Close".
settlementStyle | The settlement price determination style. |
Referenced by withSettlementStyle().
|
inlinenoexcept |
Changes Standard Industrial Classification.
It shall use four-digit number from SIC catalog. See SIC on Wikipedia or SIC structure. Example: "7371".
sic | Standard Industrial Classification. |
Referenced by withSIC().
|
inlinenoexcept |
Changes shares per contract for options.
Example: 1, 100.
spc | The shares per contract for options. |
Referenced by withSPC().
|
inlinenoexcept |
Changes strike price for options.
Example: 80, 22.5.
strike | The strike price for options. |
Referenced by withStrike().
|
inlinenoexcept |
Changes identifier of instrument, preferable an international one in Latin alphabet.
It is a mandatory field. It may not be empty. Example: "GOOG", "/YGM9", ".ZYEAD".
symbol | The identifier of instrument. |
Referenced by withSymbol().
|
inlinenoexcept |
Changes trading hours specification.
tradingHours | The trading hours specification. |
Referenced by withTradingHours().
|
inlinenoexcept |
Changes type of instrument.
It takes precedence in conflict cases with other fields. It is a mandatory field. It may not be empty. Example: "STOCK", "FUTURE", "OPTION".
type | The type of instrument. |
Referenced by withType().
|
inlinenoexcept |
Changes primary underlying symbol for options.
Example: "C", "/YGM9"
underlying | The primary underlying symbol for options. |
Referenced by withUnderlying().
void * InstrumentProfile::toGraal | ( | ) | const |
Allocates memory for the dxFeed Graal SDK structure.
Fills the dxFeed Graal SDK structure's fields by the data of the current entity. Returns the pointer to the filled structure.
Referenced by InstrumentProfileCollector::updateInstrumentProfile().
|
inlinenoexcept |
Changes additional underlyings for options, including additional cash.
It shall use following format:
Example: "SE 50", "FIS 53; US$ 45.46".
additionalUnderlyings | The additional underlyings for options, including additional cash. |
References setAdditionalUnderlyings().
|
inlinenoexcept |
Changes base currency of currency pair (FOREX instruments).
It shall use three-letter currency code similarly to currency.
baseCurrency | The base currency of currency pair (FOREX instruments). |
References setBaseCurrency().
|
inlinenoexcept |
Changes Classification of Financial Instruments code.
It is a mandatory field for OPTION instruments as it is the only way to distinguish Call/Put type, American/European exercise, Cash/Physical delivery. It shall use six-letter CFI code from ISO 10962 standard. It is allowed to use 'X' extensively and to omit trailing letters (assumed to be 'X'). See ISO 10962 on Wikipedia. Example: "ESNTPB", "ESXXXX", "ES" , "OPASPS".
cfi | CFI code. |
References setCFI().
|
inlinenoexcept |
Changes country of origin (incorporation) of corresponding company or parent entity.
It shall use two-letter country code from ISO 3166-1 standard. See ISO 3166-1 on Wikipedia. Example: "US", "RU".
country | The country of origin (incorporation) of corresponding company or parent entity. |
References setCountry().
|
inlinenoexcept |
Changes currency of quotation, pricing and trading.
It shall use three-letter currency code from ISO 4217 standard. See ISO 4217 on Wikipedia. Example: "USD", "RUB".
currency | Currency of quotation, pricing and trading. |
References setCurrency().
|
inlinenoexcept |
Changes Committee on Uniform Security Identification Procedures code.
It shall use nine-letter code assigned by CUSIP Services Bureau. See CUSIP on Wikipedia. Example: "38259P508".
cusip | CUSIP code |
References setCUSIP().
|
inlinenoexcept |
Changes description of instrument, preferable an international one in Latin alphabet.
Example: "Google Inc.", "Mini Gold Futures,Jun-2009,ETH".
description | The description of instrument. |
References setDescription().
|
inlinenoexcept |
Changes exchange-specific data required to properly identify instrument when communicating with exchange.
It uses exchange-specific format.
exchangeData | The exchange-specific data required to properly identify instrument when communicating with exchange. |
References setExchangeData().
|
inlinenoexcept |
Changes list of exchanges where instrument is quoted or traded.
It shall use the following format:
Example: "ARCX;CBSX ;XNAS;XNYS".
exchanges | The list of exchanges where instrument is quoted or traded. |
References setExchanges().
|
inlinenoexcept |
Changes day id of expiration.
Example: day_util::#getDayIdByYearMonthDay() "dxfcpp::day_util::getDayIdByYearMonthDay"(20090117).
expiration | The day id of expiration. |
References setExpiration().
|
inlinenoexcept |
Changes the expiration cycle style, such as "Weeklys", "Quarterlys".
expirationStyle | The expiration cycle style. |
References setExpirationStyle().
|
inlinenoexcept |
Changes Industry Classification Benchmark.
It shall use four-digit number from ICB catalog. See ICB on Wikipedia or ICB homepage. Example: "9535".
icb | Industry Classification Benchmark. |
References setICB().
|
inlinenoexcept |
Changes International Securities Identifying Number.
It shall use twelve-letter code from ISO 6166 standard. See ISO 6166 on Wikipedia or ISIN on Wikipedia. Example: "DE0007100000", "US38259P5089".
isin | International Securities Identifying Number. |
References setISIN().
|
inlinenoexcept |
Changes day id of last trading day.
Example: day_util::#getDayIdByYearMonthDay() "dxfcpp::day_util::getDayIdByYearMonthDay"(20090116).
lastTrade | The day id of last trading day. |
References setLastTrade().
|
inlinenoexcept |
Changes description of instrument in national language.
It shall be empty if same as description.
localDescription | The description of instrument in national language. |
References setLocalDescription().
|
inlinenoexcept |
Changes identifier of instrument in national language.
It shall be empty if same as symbol.
localSymbol | The identifier of instrument in national language. |
References setLocalSymbol().
|
inlinenoexcept |
Changes maturity month-year as provided for corresponding FIX tag (200).
It can use several different formats depending on data source:
mmy | The maturity month-year as provided for corresponding FIX tag (200). |
References setMMY().
|
inlinenoexcept |
Changes market value multiplier.
Example: 100, 33.2.
multiplier | The market value multiplier. |
References setMultiplier().
|
inlinenoexcept |
Changes official Place Of Listing, the organization that have listed this instrument.
Instruments with multiple listings shall use separate profiles for each listing. It shall use Market Identifier Code (MIC) from ISO 10383 standard. See ISO 10383 on Wikipedia or MIC homepage. Example: "XNAS", "RTSX"
opol | The official Place Of Listing, the organization that have listed this instrument. |
References setOPOL().
|
inlinenoexcept |
Changes type of option.
It shall use one of following values:
optionType | The type of option. |
References setOptionType().
|
inlinenoexcept |
Changes minimum allowed price increments with corresponding price ranges.
It shall use following format:
Example: "0.25", "0.01 3; 0.05".
priceIncrements | The minimum allowed price increments with corresponding price ranges. |
References setPriceIncrements().
|
inlinenoexcept |
Changes product for futures and options on futures (underlying asset name).
Example: "/YG".
product | The product for futures and options on futures (underlying asset name). |
References setProduct().
|
inlinenoexcept |
Changes Stock Exchange Daily Official List.
It shall use seven-letter code assigned by London Stock Exchange. See SEDOL on Wikipedia or SEDOL on LSE. Example: "2310967", "5766857".
sedol | Stock Exchange Daily Official List. |
References setSEDOL().
|
inlinenoexcept |
Changes settlement price determination style, such as "Open", "Close".
settlementStyle | The settlement price determination style. |
References setSettlementStyle().
|
inlinenoexcept |
Changes Standard Industrial Classification.
It shall use four-digit number from SIC catalog. See SIC on Wikipedia or SIC structure. Example: "7371".
sic | Standard Industrial Classification. |
References setSIC().
|
inlinenoexcept |
Changes shares per contract for options.
Example: 1, 100.
spc | The shares per contract for options. |
References setSPC().
|
inlinenoexcept |
Changes strike price for options.
Example: 80, 22.5.
strike | The strike price for options |
References setStrike().
|
inlinenoexcept |
Changes identifier of instrument, preferable an international one in Latin alphabet.
It is a mandatory field. It may not be empty. Example: "GOOG", "/YGM9", ".ZYEAD".
symbol | The identifier of instrument. |
References setSymbol().
|
inlinenoexcept |
Changes trading hours specification.
tradingHours | The trading hours specification. |
References setTradingHours().
|
inlinenoexcept |
Changes type of instrument and returns the current instrument profile.
type | The type of instrument. |
References setType().
|
inlinenoexcept |
Changes primary underlying symbol for options.
Example: "C", "/YGM9"
underlying | The primary underlying symbol for options. |
References setUnderlying().