dxFeed .Net API
5.13.0
dxFeed .Net API library intended to provide market data access for DX clients
|
Defines standard types of InstrumentProfile. Note that other (unknown) types can be used without listing in this class - use it for convenience only. Please see Instrument Profile Format documentation for complete description. More...
Public Member Functions | |
int | CompareTo (InstrumentProfileType other) |
Compare this type with other. More... | |
Static Public Member Functions | |
static InstrumentProfileType | Find (string name) |
Returns field for specified name or null if field is not found. More... | |
static int | CompareTypes (string type1, string type2) |
Compares two specified types for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. More... | |
Properties | |
string | Name [get, private set] |
Get the name of instrument profile type. More... | |
Private Member Functions | |
InstrumentProfileType (string name) | |
Private Attributes | |
const string | T_CURRENCY = "CURRENCY" |
const string | T_FOREX = "FOREX" |
const string | T_BOND = "BOND" |
const string | T_INDEX = "INDEX" |
const string | T_STOCK = "STOCK" |
const string | T_ETF = "ETF" |
const string | T_MUTUAL_FUND = "MUTUAL_FUND" |
const string | T_MONEY_MARKET_FUND = "MONEY_MARKET_FUND" |
const string | T_PRODUCT = "PRODUCT" |
const string | T_FUTURE = "FUTURE" |
const string | T_OPTION = "OPTION" |
const string | T_SPREAD = "SPREAD" |
const string | T_OTHER = "OTHER" |
const string | T_REMOVED = "REMOVED" |
Static Private Attributes | |
static Dictionary< string, InstrumentProfileType > | typesMap = new Dictionary<string, InstrumentProfileType>() |
Defines standard types of InstrumentProfile. Note that other (unknown) types can be used without listing in this class - use it for convenience only. Please see Instrument Profile Format documentation for complete description.
|
inlineprivate |
|
inline |
Compare this type with other.
other | Other type to compare. |
|
inlinestatic |
Compares two specified types for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
Unlike natual ordering of InstrumentProfileType enum itself this method supports unknown types and orders them alphabetically after standard ones.
The natural ordering implied by this method is designed for convenient data representation in a file and shall not be used for business purposes.
type1 | First type to compare. |
type2 | Second type to compare. |
System.ArgumentNullException |
|
inlinestatic |
Returns field for specified name or null if field is not found.
name | Name of type. |
System.ArgumentNullException |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
getprivate set |
Get the name of instrument profile type.