Struct InstrumentKey
Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Assembly: tt-net-api.dll
Syntax
public struct InstrumentKey : IEquatable<InstrumentKey>, IComparable<InstrumentKey>
Constructors
InstrumentKey(UInt64)
Declaration
public InstrumentKey(ulong instrumentId)
Parameters
Type |
Name |
Description |
UInt64 |
instrumentId |
|
InstrumentKey(MarketId, ProductType, String, String)
Declaration
public InstrumentKey(MarketId marketId, ProductType productType, string productName, string alias)
Parameters
Type |
Name |
Description |
MarketId |
marketId |
|
ProductType |
productType |
|
String |
productName |
|
String |
alias |
|
InstrumentKey(ProductKey, String)
Declaration
public InstrumentKey(ProductKey productKey, string alias)
Parameters
Type |
Name |
Description |
ProductKey |
productKey |
|
String |
alias |
|
InstrumentKey(ProductKey, String, UInt64)
Declaration
public InstrumentKey(ProductKey productKey, string alias, ulong instrumentId)
Parameters
Type |
Name |
Description |
ProductKey |
productKey |
|
String |
alias |
|
UInt64 |
instrumentId |
|
Fields
Empty
Declaration
public static InstrumentKey Empty
Field Value
Properties
Alias
Declaration
public string Alias { get; }
Property Value
InstrumentId
Declaration
public ulong InstrumentId { get; }
Property Value
IsAggregator
Declaration
public bool IsAggregator { get; }
Property Value
IsAutospreader
Declaration
public bool IsAutospreader { get; }
Property Value
MarketId
Declaration
public MarketId MarketId { get; }
Property Value
ProductKey
Declaration
public ProductKey ProductKey { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Overrides
System.ValueType.Equals(System.Object)
Equals(InstrumentKey)
Declaration
public bool Equals(InstrumentKey rhs)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
System.ValueType.GetHashCode()
IsEmpty(InstrumentKey)
Declaration
public static bool IsEmpty(InstrumentKey key)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
System.ValueType.ToString()
Operators
Equality(InstrumentKey, InstrumentKey)
Declaration
public static bool operator ==(InstrumentKey lhs, InstrumentKey rhs)
Parameters
Returns
Inequality(InstrumentKey, InstrumentKey)
Declaration
public static bool operator !=(InstrumentKey lhs, InstrumentKey rhs)
Parameters
Returns
Explicit Interface Implementations
IComparable<InstrumentKey>.CompareTo(InstrumentKey)
Declaration
int IComparable<InstrumentKey>.CompareTo(InstrumentKey other)
Parameters
Returns
IEquatable<InstrumentKey>.Equals(InstrumentKey)
Declaration
bool IEquatable<InstrumentKey>.Equals(InstrumentKey other)
Parameters
Returns
Implements
System.IEquatable<T>
System.IComparable<T>