Table of Contents

Constructor Ticker

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

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

Creates a new instance of the object.

[JsonConstructor]
public Ticker(ExchangeSymbolPair exchangeSymbolPair, long lastUpdateId, DateTime lastUpdate, decimal bestBidPrice, decimal bestBidQuantity, decimal bestAskPrice, decimal bestAskQuantity, decimal? lastPrice, decimal? lastQuantity)

Parameters

exchangeSymbolPair ExchangeSymbolPair

Exchange symbol pair of the ticker.

lastUpdateId long

ID of the last applied update to this ticker.

lastUpdate DateTime

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

bestBidPrice decimal

Best bid price.

bestBidQuantity decimal

Best bid quantity.

bestAskPrice decimal

Best ask price.

bestAskQuantity decimal

Best ask quantity.

lastPrice decimal?

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

lastQuantity decimal?

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