Struct InstrumentKey
Assembly: tt-net-api.dll
Syntax
public struct InstrumentKey : IEquatable<InstrumentKey>, IComparable<InstrumentKey>
Constructors
InstrumentKey(ulong)
Declaration
public InstrumentKey(ulong instrumentId)
Parameters
Type |
Name |
Description |
ulong |
instrumentId |
|
InstrumentKey(MarketId, ProductType, string, string)
Declaration
public InstrumentKey(MarketId marketId, ProductType productType, string productName, string alias)
Parameters
InstrumentKey(ProductKey, string)
Declaration
public InstrumentKey(ProductKey productKey, string alias)
Parameters
InstrumentKey(ProductKey, string, ulong)
Declaration
public InstrumentKey(ProductKey productKey, string alias, ulong instrumentId)
Parameters
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
Equals(InstrumentKey)
Declaration
public bool Equals(InstrumentKey rhs)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
IsEmpty(InstrumentKey)
Declaration
public static bool IsEmpty(InstrumentKey key)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(InstrumentKey, InstrumentKey)
Declaration
public static bool operator ==(InstrumentKey lhs, InstrumentKey rhs)
Parameters
Returns
operator !=(InstrumentKey, InstrumentKey)
Declaration
public static bool operator !=(InstrumentKey lhs, InstrumentKey rhs)
Parameters
Returns
Implements