PINE LIBRARY

TickerLib

198
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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。