Table of Contents

Method GetLatestCandlestickUpdate

Namespace
WhalesSecret.TradeScriptLib.API.TradingV1.MarketData
Assembly
WhalesSecret.TradeScriptLib.dll

GetLatestCandlestickUpdate(CandleWidth)

Gets the latest candlestick update for the given candle width and the exchange symbol pair of this subscription; or fail if the given candle width has not been initialized.

CandleUpdate GetLatestCandlestickUpdate(CandleWidth candleWidth)

Parameters

candleWidth CandleWidth

Width of the candle to retrieve.

Returns

CandleUpdate

Returns the latest candlestick update with the given candle width.

Exceptions

NotFoundException

Thrown if the method is called after the candlestick subscription was disposed.

MalfunctionException

Thrown if an internal error occurred.