PINE LIBRARY

TickerLib

180
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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。