Table of Contents

Struct BinanceOrderId

Namespace
WhalesSecret.TradeScriptLib.Entities.Orders.Binance
Assembly
WhalesSecret.TradeScriptLib.dll
public readonly struct BinanceOrderId : IBinanceOrderId, IExchangeOrderId, IOrderId, IEquatable<IExchangeOrderId>, IEquatable<BinanceOrderId>
Implements
Inherited Members
Extension Methods

Constructors

BinanceOrderId(SymbolPair, long)

Creates a new instance of the object.

Properties

ExchangeMarket

Exchange market where the order was placed.

OrderId

Order ID as assigned by the exchange where the order was placed.

SymbolPair

Symbol pair on the exchange.

Methods

Equals(object?)

Indicates whether this instance and a specified object are equal.

Equals(BinanceOrderId)

Indicates whether the current object is equal to another object of the same type.

Equals(IExchangeOrderId?)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

TryParseToString(string, out BinanceOrderId?)

Parses output of ToString() back to the Binance order ID.

TryParseToString(string, out IExchangeOrderId?)

Parses output of ToString() back to the Binance order ID.

Operators

operator ==(BinanceOrderId?, IExchangeOrderId)

Determines whether two specified exchange order ID information have the same value.

operator ==(BinanceOrderId, BinanceOrderId)

Determines whether two specified exchange order ID information have the same value.

operator ==(IExchangeOrderId?, BinanceOrderId)

Determines whether two specified exchange order ID information have the same value.

operator !=(BinanceOrderId?, IExchangeOrderId)

Determines whether two specified exchange order ID information have different values.

operator !=(BinanceOrderId, BinanceOrderId)

Determines whether two specified exchange order ID information have different values.

operator !=(IExchangeOrderId?, BinanceOrderId)

Determines whether two specified exchange order ID information have different values.