PINE LIBRARY

TickerLib

148
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

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.