dxFeed .Net API
7.1.0
dxFeed .Net API library intended to provide market data access for DX clients
|
Defines standard fields of InstrumentProfile and provides data access methods. Please see Instrument Profile Format documentation for complete description. More...
Public Member Functions | |
override string | ToString () |
Returns string representation of field. More... | |
string | GetField (InstrumentProfile ip) |
Returns value of this field for specified profile in textual representation. More... | |
void | SetField (InstrumentProfile ip, string value) |
Sets value of this field (in textual representation) to specified profile. More... | |
Type | GetFieldType () |
Returns type of this field. More... | |
bool | IsNumericField () |
Returns "true" if this field supports numeric representation of a value. More... | |
double | GetNumericField (InstrumentProfile ip) |
Returns value of this field for specified profile in numeric representation. More... | |
void | SetNumericField (InstrumentProfile ip, double value) |
Sets value of this field (in numeric representation) to specified profile. More... | |
Static Public Member Functions | |
static InstrumentProfileField | Find (string name) |
Returns field for specified name or null if field is not found. More... | |
static string | FormatNumber (double d) |
Format number More... | |
static double | ParseNumber (string s) |
Parse number from string. More... | |
static string | FormatDate (int d) |
Convert unix time to specified date fromat and returns its string representation. More... | |
static int | ParseDate (string s) |
Parse date from string. More... | |
Static Public Attributes | |
static readonly InstrumentProfileField | TYPE = new InstrumentProfileField(F_TYPE) |
static readonly InstrumentProfileField | SYMBOL = new InstrumentProfileField(F_SYMBOL) |
static readonly InstrumentProfileField | DESCRIPTION = new InstrumentProfileField(F_DESCRIPTION) |
static readonly InstrumentProfileField | LOCAL_SYMBOL = new InstrumentProfileField(F_LOCAL_SYMBOL) |
static readonly InstrumentProfileField | LOCAL_DESCRIPTION = new InstrumentProfileField(F_LOCAL_DESCRIPTION) |
static readonly InstrumentProfileField | COUNTRY = new InstrumentProfileField(F_COUNTRY) |
static readonly InstrumentProfileField | OPOL = new InstrumentProfileField(F_OPOL) |
static readonly InstrumentProfileField | EXCHANGE_DATA = new InstrumentProfileField(F_EXCHANGE_DATA) |
static readonly InstrumentProfileField | EXCHANGES = new InstrumentProfileField(F_EXCHANGES) |
static readonly InstrumentProfileField | CURRENCY = new InstrumentProfileField(F_CURRENCY) |
static readonly InstrumentProfileField | BASE_CURRENCY = new InstrumentProfileField(F_BASE_CURRENCY) |
static readonly InstrumentProfileField | CFI = new InstrumentProfileField(F_CFI) |
static readonly InstrumentProfileField | ISIN = new InstrumentProfileField(F_ISIN) |
static readonly InstrumentProfileField | SEDOL = new InstrumentProfileField(F_SEDOL) |
static readonly InstrumentProfileField | CUSIP = new InstrumentProfileField(F_CUSIP) |
static readonly InstrumentProfileField | ICB = new InstrumentProfileField(F_ICB) |
static readonly InstrumentProfileField | SIC = new InstrumentProfileField(F_SIC) |
static readonly InstrumentProfileField | MULTIPLIER = new InstrumentProfileField(F_MULTIPLIER) |
static readonly InstrumentProfileField | PRODUCT = new InstrumentProfileField(F_PRODUCT) |
static readonly InstrumentProfileField | UNDERLYING = new InstrumentProfileField(F_UNDERLYING) |
static readonly InstrumentProfileField | SPC = new InstrumentProfileField(F_SPC) |
static readonly InstrumentProfileField | ADDITIONAL_UNDERLYINGS = new InstrumentProfileField(F_ADDITIONAL_UNDERLYINGS) |
static readonly InstrumentProfileField | MMY = new InstrumentProfileField(F_MMY) |
static readonly InstrumentProfileField | EXPIRATION = new InstrumentProfileField(F_EXPIRATION) |
static readonly InstrumentProfileField | LAST_TRADE = new InstrumentProfileField(F_LAST_TRADE) |
static readonly InstrumentProfileField | STRIKE = new InstrumentProfileField(F_STRIKE) |
static readonly InstrumentProfileField | OPTION_TYPE = new InstrumentProfileField(F_OPTION_TYPE) |
static readonly InstrumentProfileField | EXPIRATION_STYLE = new InstrumentProfileField(F_EXPIRATION_STYLE) |
static readonly InstrumentProfileField | SETTLEMENT_STYLE = new InstrumentProfileField(F_SETTLEMENT_STYLE) |
static readonly InstrumentProfileField | PRICE_INCREMENTS = new InstrumentProfileField(F_PRICE_INCREMENTS) |
static readonly InstrumentProfileField | TRADING_HOURS = new InstrumentProfileField(F_TRADING_HOURS) |
Properties | |
string | Name [get] |
Get name of instrument profile field. More... | |
static InstrumentProfileField [] | Values [get] |
Get all default instrument profile fields. More... | |
Defines standard fields of InstrumentProfile and provides data access methods. Please see Instrument Profile Format documentation for complete description.
|
inlinestatic |
Returns field for specified name or null if field is not found.
name | Name of field to find. |
System.ArgumentNullException | If name is null. |
|
inlinestatic |
Convert unix time to specified date fromat and returns its string representation.
d | Date time in unix time. |
System.FormatException | |
System.InvalidOperationException | If number formatter error occurs. |
|
inlinestatic |
Format number
d | The number to format. |
System.InvalidOperationException | Can't format number. |
|
inline |
Returns value of this field for specified profile in textual representation.
ip | Profile fot which get field. |
System.InvalidOperationException | Can't format certain field. |
|
inline |
Returns type of this field.
|
inline |
Returns value of this field for specified profile in numeric representation.
ip | Profile from get field. |
System.ArgumentException | If this field has no numeric representation. |
|
inline |
Returns "true" if this field supports numeric representation of a value.
|
inlinestatic |
Parse date from string.
s | String representation of date. |
System.ArgumentNullException | |
System.InvalidOperationException | If number formatter error occurs. |
System.FormatException |
|
inlinestatic |
Parse number from string.
s | String representation of number. |
System.ArgumentNullException | |
System.FormatException |
|
inline |
Sets value of this field (in textual representation) to specified profile.
ip | Profile to set field. |
value | Value that set into field. |
System.InvalidOperationException | If text uses wrong format or contains invalid values. |
|
inline |
Sets value of this field (in numeric representation) to specified profile.
ip | Profile tos set value. |
value | Value ehich set to field. |
System.ArgumentException | If this field has no numeric representation |
|
inline |
Returns string representation of field.
|
get |
Get name of instrument profile field.
|
staticget |
Get all default instrument profile fields.