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 dxfcpp::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 noexcept |
Allocates memory for the dxFeed Graal SDK structure (recursively if necessary). | |
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. | |
InstrumentProfile::Ptr | withTypeShared (const std::string &type) noexcept |
Changes type of instrument and returns a shared pointer to 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. | |
InstrumentProfile::Ptr | withSymbolShared (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. | |
InstrumentProfile::Ptr | withDescriptionShared (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. | |
InstrumentProfile::Ptr | withLocalSymbolShared (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. | |
InstrumentProfile::Ptr | withLocalDescriptionShared (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. | |
InstrumentProfile::Ptr | withCountryShared (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. | |
InstrumentProfile::Ptr | withOPOLShared (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. | |
InstrumentProfile::Ptr | withExchangeDataShared (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. | |
InstrumentProfile::Ptr | withExchangesShared (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. | |
InstrumentProfile::Ptr | withCurrencyShared (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). | |
InstrumentProfile::Ptr | withBaseCurrencyShared (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. | |
InstrumentProfile::Ptr | withCFIShared (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. | |
InstrumentProfile::Ptr | withISINShared (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. | |
InstrumentProfile::Ptr | withSEDOLShared (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. | |
InstrumentProfile::Ptr | withCUSIPShared (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. | |
InstrumentProfile::Ptr | withICBShared (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. | |
InstrumentProfile::Ptr | withSICShared (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. | |
InstrumentProfile::Ptr | withMultiplierShared (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). | |
InstrumentProfile::Ptr | withProductShared (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. | |
InstrumentProfile::Ptr | withUnderlyingShared (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. | |
InstrumentProfile::Ptr | withSPCShared (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. | |
InstrumentProfile::Ptr | withAdditionalUnderlyingsShared (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). | |
InstrumentProfile::Ptr | withMMYShared (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. | |
InstrumentProfile::Ptr | withExpirationShared (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. | |
InstrumentProfile::Ptr | withLastTradeShared (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. | |
InstrumentProfile::Ptr | withStrikeShared (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. | |
InstrumentProfile::Ptr | withOptionTypeShared (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". | |
InstrumentProfile::Ptr | withExpirationStyleShared (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". | |
InstrumentProfile::Ptr | withSettlementStyleShared (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. | |
InstrumentProfile::Ptr | withPriceIncrementsShared (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. | |
InstrumentProfile::Ptr | withTradingHoursShared (const std::string &tradingHours) noexcept |
Changes trading hours specification. | |
Public Member Functions inherited from dxfcpp::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 dxfcpp::Entity | |
virtual | ~Entity () noexcept=default |
The default virtual d-tor. | |
Static Public Member Functions | |
static void | freeGraal (void *graalNative) noexcept |
Releases the memory occupied by the dxFeed Graal SDK structure (recursively if necessary). | |
Represents basic profile information about market instrument.
Please see Instrument Profile Format documentation for complete description.
Releases the memory occupied by the dxFeed Graal SDK structure (recursively if necessary).
graalNative | The pointer to the dxFeed Graal SDK structure. |
|
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. |
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). |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
|
inlinenoexcept |
Changes day id of expiration.
Example: day_util::#getDayIdByYearMonthDay() "dxfcpp::day_util::getDayIdByYearMonthDay"(20090117).
expiration | The day id of expiration. |
|
inlinenoexcept |
Changes the expiration cycle style, such as "Weeklys", "Quarterlys".
expirationStyle | The expiration cycle style. |
|
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. |
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. |
|
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. |
|
inlinenoexcept |
Changes description of instrument in national language.
It shall be empty if same as description.
localDescription | The description of instrument in national language. |
Changes identifier of instrument in national language.
It shall be empty if same as symbol.
localSymbol | The identifier of instrument in national language. |
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). |
Changes market value multiplier.
Example: 100, 33.2.
multiplier | The market value multiplier. |
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. |
Changes type of option.
It shall use one of following values:
optionType | The type of option. |
|
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. |
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). |
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. |
|
inlinenoexcept |
Changes settlement price determination style, such as "Open", "Close".
settlementStyle | The settlement price determination style. |
|
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. |
Changes shares per contract for options.
Example: 1, 100.
spc | The shares per contract for options. |
Changes strike price for options.
Example: 80, 22.5.
strike | The strike price for options. |
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. |
Changes trading hours specification.
tradingHours | The trading hours specification. |
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. |
Changes primary underlying symbol for options.
Example: "C", "/YGM9"
underlying | The primary underlying symbol for options. |
|
noexcept |
Allocates memory for the dxFeed Graal SDK structure (recursively if necessary).
Fills the dxFeed Graal SDK structure's fields by the data of the current entity (recursively if necessary). Returns the pointer to the filled structure.
|
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. |
|
inlinenoexcept |
Changes additional underlyings for options, including additional cash.
It shall use following format:
Example: "SE 50", "FIS 53; US$ 45.46".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
additionalUnderlyings | The additional underlyings for options, including additional cash. |
|
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). |
|
inlinenoexcept |
Changes base currency of currency pair (FOREX instruments).
It shall use three-letter currency code similarly to currency.
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
baseCurrency | The base currency of currency pair (FOREX instruments). |
|
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. |
|
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".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
cfi | CFI code. |
|
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. |
|
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".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
country | The country of origin (incorporation) of corresponding company or parent entity. |
|
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. |
|
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".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
currency | Currency of quotation, pricing and trading. |
|
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 |
|
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".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
cusip | CUSIP code |
|
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. |
|
inlinenoexcept |
Changes description of instrument, preferable an international one in Latin alphabet.
Example: "Google Inc.", "Mini Gold Futures,Jun-2009,ETH".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
description | The description of instrument. |
|
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. |
|
inlinenoexcept |
Changes exchange-specific data required to properly identify instrument when communicating with exchange.
It uses exchange-specific format.
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
exchangeData | The exchange-specific data required to properly identify instrument when communicating with exchange. |
|
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. |
|
inlinenoexcept |
Changes list of exchanges where instrument is quoted or traded.
It shall use the following format:
Example: "ARCX;CBSX ;XNAS;XNYS".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
exchanges | The list of exchanges where instrument is quoted or traded. |
|
inlinenoexcept |
Changes day id of expiration.
Example: day_util::#getDayIdByYearMonthDay() "dxfcpp::day_util::getDayIdByYearMonthDay"(20090117).
expiration | The day id of expiration. |
|
inlinenoexcept |
Changes day id of expiration.
Example: day_util::#getDayIdByYearMonthDay() "dxfcpp::day_util::getDayIdByYearMonthDay"(20090117).
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
expiration | The day id of expiration. |
|
inlinenoexcept |
Changes the expiration cycle style, such as "Weeklys", "Quarterlys".
expirationStyle | The expiration cycle style. |
|
inlinenoexcept |
Changes the expiration cycle style, such as "Weeklys", "Quarterlys".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
expirationStyle | The expiration cycle style. |
|
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. |
|
inlinenoexcept |
Changes Industry Classification Benchmark.
It shall use four-digit number from ICB catalog. See ICB on Wikipedia or ICB homepage. Example: "9535".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
icb | Industry Classification Benchmark. |
|
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. |
|
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".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
isin | International Securities Identifying Number. |
|
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. |
|
inlinenoexcept |
Changes day id of last trading day.
Example: day_util::#getDayIdByYearMonthDay() "dxfcpp::day_util::getDayIdByYearMonthDay"(20090116).
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
lastTrade | The day id of last trading day. |
|
inlinenoexcept |
Changes description of instrument in national language.
It shall be empty if same as description.
localDescription | The description of instrument in national language. |
|
inlinenoexcept |
Changes description of instrument in national language.
It shall be empty if same as description.
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
localDescription | The description of instrument in national language. |
|
inlinenoexcept |
Changes identifier of instrument in national language.
It shall be empty if same as symbol.
localSymbol | The identifier of instrument in national language. |
|
inlinenoexcept |
Changes identifier of instrument in national language.
It shall be empty if same as symbol.
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
localSymbol | The identifier of instrument in national language. |
|
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). |
|
inlinenoexcept |
Changes maturity month-year as provided for corresponding FIX tag (200).
It can use several different formats depending on data source:
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
mmy | The maturity month-year as provided for corresponding FIX tag (200). |
|
inlinenoexcept |
Changes market value multiplier.
Example: 100, 33.2.
multiplier | The market value multiplier. |
|
inlinenoexcept |
Changes market value multiplier.
Example: 100, 33.2.
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
multiplier | The market value multiplier. |
|
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. |
|
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"
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
opol | The official Place Of Listing, the organization that have listed this instrument. |
|
inlinenoexcept |
Changes type of option.
It shall use one of following values:
optionType | The type of option. |
|
inlinenoexcept |
Changes type of option.
It shall use one of following values:
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
optionType | The type of option. |
|
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. |
|
inlinenoexcept |
Changes minimum allowed price increments with corresponding price ranges.
It shall use following format:
Example: "0.25", "0.01 3; 0.05".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
priceIncrements | The minimum allowed price increments with corresponding price ranges. |
|
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). |
|
inlinenoexcept |
Changes product for futures and options on futures (underlying asset name).
Example: "/YG".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
product | The product for futures and options on futures (underlying asset name). |
|
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. |
|
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".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
sedol | Stock Exchange Daily Official List. |
|
inlinenoexcept |
Changes settlement price determination style, such as "Open", "Close".
settlementStyle | The settlement price determination style. |
|
inlinenoexcept |
Changes settlement price determination style, such as "Open", "Close".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
settlementStyle | The settlement price determination style. |
|
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. |
|
inlinenoexcept |
Changes Standard Industrial Classification.
It shall use four-digit number from SIC catalog. See SIC on Wikipedia or SIC structure. Example: "7371".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
sic | Standard Industrial Classification. |
|
inlinenoexcept |
Changes shares per contract for options.
Example: 1, 100.
spc | The shares per contract for options. |
|
inlinenoexcept |
Changes shares per contract for options.
Example: 1, 100.
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
spc | The shares per contract for options. |
|
inlinenoexcept |
Changes strike price for options.
Example: 80, 22.5.
strike | The strike price for options |
|
inlinenoexcept |
Changes strike price for options.
Example: 80, 22.5.
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
strike | The strike price for options |
|
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. |
|
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".
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
symbol | The identifier of instrument. |
|
inlinenoexcept |
Changes trading hours specification.
tradingHours | The trading hours specification. |
|
inlinenoexcept |
Changes trading hours specification.
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
tradingHours | The trading hours specification. |
|
inlinenoexcept |
Changes type of instrument and returns the current instrument profile.
type | The type of instrument. |
|
inlinenoexcept |
Changes type of instrument and returns a shared pointer to the current instrument profile.
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
type | The type of instrument. |
|
inlinenoexcept |
Changes primary underlying symbol for options.
Example: "C", "/YGM9"
underlying | The primary underlying symbol for options. |
|
inlinenoexcept |
Changes primary underlying symbol for options.
Example: "C", "/YGM9"
std::shared_ptr<InstrumentProfile>(new InstrumentProfile(...))
or std::make_shared<InstrumentProfile>(...)
underlying | The primary underlying symbol for options. |