Show / Hide Table of Contents

Struct AlgoKey

Implements
IEquatable<AlgoKey>
IComparable<AlgoKey>
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
Namespace: tt_net_sdk
Assembly: tt-net-api.dll
Syntax
public struct AlgoKey : IEquatable<AlgoKey>, IComparable<AlgoKey>

Constructors

AlgoKey(string)

Declaration
public AlgoKey(string name)
Parameters
Type Name Description
string name

AlgoKey(ulong, string, string)

Declaration
public AlgoKey(ulong id, string name, string alias)
Parameters
Type Name Description
ulong id
string name
string alias

AlgoKey(Instrument)

Declaration
public AlgoKey(Instrument i)
Parameters
Type Name Description
Instrument i

Fields

Empty

Declaration
public static AlgoKey Empty
Field Value
Type Description
AlgoKey

Properties

Name

Declaration
public string Name { get; }
Property Value
Type Description
string

Methods

Equals(object)

Declaration
public override bool Equals(object other)
Parameters
Type Name Description
object other
Returns
Type Description
bool
Overrides
ValueType.Equals(object)

Equals(AlgoKey)

Declaration
public bool Equals(AlgoKey rhs)
Parameters
Type Name Description
AlgoKey rhs
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
ValueType.GetHashCode()

IsEmpty(AlgoKey)

Declaration
public static bool IsEmpty(AlgoKey key)
Parameters
Type Name Description
AlgoKey key
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
ValueType.ToString()

Operators

operator ==(AlgoKey, AlgoKey)

Declaration
public static bool operator ==(AlgoKey lhs, AlgoKey rhs)
Parameters
Type Name Description
AlgoKey lhs
AlgoKey rhs
Returns
Type Description
bool

operator !=(AlgoKey, AlgoKey)

Declaration
public static bool operator !=(AlgoKey lhs, AlgoKey rhs)
Parameters
Type Name Description
AlgoKey lhs
AlgoKey rhs
Returns
Type Description
bool

Implements

IEquatable<T>
IComparable<T>
In this article
Back to top