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

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.