Ticker
Current market price of latest trade on exchange.
Last updated
Current market price of latest trade on exchange.
Last updated
ticker
(symbol: Optional[str], exchange: Optional[int|str]) -> decimalReturns last price for symbol
on exchange
.
Parameters:
symbol : str, default 'base-counter'
Use token symbols in the 'symbol-symbol' format. Example: 'ETH-USDT'
,'
-USDT'
,’ETH-
’
. If symbol
is empty - uses current symbol for bot. Shortcuts and could be used.
exchange : int|str, default bot's exchange
If exchange
is empty - uses current exchange for bot’s account. Exchanges names and indexes could be found in .
Returns: Decimal