Table of Contents

Struct Ticker

Namespace
WhalesSecret.TradeScriptLib.Entities.MarketData
Assembly
WhalesSecret.TradeScriptLib.dll

Immutable ticker for particular exchange symbol pair.

public readonly struct Ticker : IEquatable<Ticker>
Implements
Inherited Members
Extension Methods

Constructors

Ticker(ExchangeSymbolPair, long, DateTime, decimal, decimal, decimal, decimal, decimal?, decimal?)

Creates a new instance of the object.

Properties

BestAskPrice

Best ask price.

BestAskQuantity

Best ask quantity.

BestBidPrice

Best bid price.

BestBidQuantity

Best bid quantity.

ExchangeMarket

Exchange market where the symbol pair is traded.

ExchangeSymbolPair

Exchange symbol pair of the ticker.

LastPrice

Price of the last trade, or null if the last price is not available.

LastQuantity

Quantity of the last trade, or null if the last quantity is not available.

LastUpdate

UTC time when the latest piece of information for this instance was received.

LastUpdateId

ID of the last applied update to this ticker.

SymbolPair

Ticker's symbol pair.

Methods

Equals(object?)

Indicates whether this instance and a specified object are equal.

Equals(Ticker)

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

GetEstimatedRawUpperBoundarySize()

Returns a quick estimation on the upper boundary of the raw size of the update in JSON serialized form.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Operators

operator ==(Ticker, Ticker)

Determines whether two specified tickers have the same value.

operator !=(Ticker, Ticker)

Determines whether two specified tickers have different values.