PINE LIBRARY

TickerLib

142
Library "TickerLib"
Ticker Library

exists(tickerId)
  Test if a tickerId exists
  Parameters:
    tickerId (string)
  Returns: (bool)

notExist(tickerId)
  Test if a tickerId do not exists
  Parameters:
    tickerId (string)
  Returns: (bool)

getExchange(tickerId)
  Pass a tickerId return the exchange
  Parameters:
    tickerId (string)
  Returns: (string) exchange

isPerp(tickerId)
  Test if tickerId is a perps pair
  Parameters:
    tickerId (string)
  Returns: (bool)

isNotPerp(tickerId)
  Test if tickerId is not a perps pair
  Parameters:
    tickerId (string)
  Returns: (bool)

getPair(tickerId)
  Pass a tickerId return the pair without exchange
  Parameters:
    tickerId (string)
  Returns: (string) the pair

getSpotPair(tickerId)
  Pass a tickerId return the pair without exchange and perps
  Parameters:
    tickerId (string)
  Returns: (string) the pair

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.