Dictionaries Class

Lookup dictionaries which map the Enumerations values onto their Stator display names and internal identifiers.

Definition

Namespace: Stator.libPublic.ReferenceData
Assembly: libPublic (in libPublic.dll) Version: 26.0.256
C#
public static class Dictionaries
Inheritance
Object    Dictionaries

Remarks

Each method returns a fresh dictionary keyed by the relevant enumeration value, whose value is a TupleT1, T2 of display name (Item1) and Stator identifier (Item2). Use these when a plugin needs to present a human-readable label to the user, or to send Stator's own identifier back to it.

Methods

BaseTypes Returns a dictionary of available base types

Format = IDictionary of base type.
Key = enumeration of base type EnumerationsBaseType
Value = Tuple of base type display name (Item1) and base type identifier (Item2)
i.e. Australian Stock Exchange, X_AUS_ASX

Currency Returns a dictionary of available currencies

Format = IDictionary of currency.
Key = enumeration of currency EnumerationsCurrency
Value = Tuple of currency display name (Item1) and currency ISO code (Item2)
i.e. Australian Dollar, AUD

MarketsInstrument Returns a dictionary of market trading instruments

Format = IDictionary of instrument.
Key = enumeration of market instrument EnumerationsMarketsInstrument
Value = Tuple of instrument display name (Item1) and instrument ID (Item2)

See Also