Method GetLatestTicker
- Namespace
- WhalesSecret.TradeScriptLib.API.TradingV1.MarketData
- Assembly
- WhalesSecret.TradeScriptLib.dll
GetLatestTicker(SymbolPair)
Gets the latest ticker for the subscription specified by its symbol pair.
Ticker GetLatestTicker(SymbolPair symbolPair)
Parameters
symbolPair
SymbolPairSymbol pair of the subscription whose ticker to get.
Returns
- Ticker
Latest ticker.
Exceptions
- InvalidArgumentException
Thrown if the set does not contain a subscription for the given symbol pair.
- InvalidStateException
Thrown if the method is called while batch monitoring operation is active.
- NotFoundException
Thrown if the method is called after the ticker subscription was disposed.
- MalfunctionException
Thrown if an internal error occurred.
- NotFoundException
Thrown if the method is called after the ticker subscription was disposed.
- MalfunctionException
Thrown if an internal error occurred.