PINE LIBRARY
업데이트됨

ChainAggLib - library for aggregation of main chain tickers

52
Library "ChainAggLib"
ChainAggLib — token -> main protocol coin (chain) and top-5 exchange tickers for volume aggregation.
Library only (no plots). All helpers are pure functions and do not modify globals.

norm_sym(s)
  Parameters:
    s (string)

get_base_from_symbol(full_symbol)
  Parameters:
    full_symbol (string)

get_chain_for_token(token_symbol)
  Parameters:
    token_symbol (string)

get_top5_exchange_tickers_for_chain(chain_code)
  Parameters:
    chain_code (string)

get_top5_exchange_tickers_for_token(token_symbol)
  Parameters:
    token_symbol (string)

join_tickers(arr)
  Parameters:
    arr (array<string>)

contains_symbol(arr, symbol)
  Parameters:
    arr (array<string>)
    symbol (string)

contains_current(arr)
  Parameters:
    arr (array<string>)

get_arr_for_current_token()

get_chain_for_current()
릴리즈 노트
v2 slight ticker correction
릴리즈 노트
v3
릴리즈 노트
v4 altcoins tickers update
릴리즈 노트
v5
릴리즈 노트
v6
릴리즈 노트
v7

map-based structure data storage and aggregated altcoins ticker lists retrieval

Added:
init_token_database()

get_token_info(db, token_symbol)
  Parameters:
    db (map<string, string>)
    token_symbol (string)

is_token_known(token_symbol)
  Parameters:
    token_symbol (string)

is_l1_chain(token_symbol)
  Parameters:
    token_symbol (string)

get_direct_aggregation_tickers(token_symbol)
  Parameters:
    token_symbol (string)

get_all_tokens()

supports_direct_aggregation()

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.