PINE LIBRARY
Updated

CEDEARData

210
Library "CEDEARData"

getUnderlying(cedearTicker)
  Parameters:
    cedearTicker (simple string)

getRatio(cedearTicker)
  Parameters:
    cedearTicker (simple string)

getCurrency(cedearTicker)
  Parameters:
    cedearTicker (simple string)

isValidCedear(cedearTicker)
  Parameters:
    cedearTicker (simple string)
Release Notes
v2
Release Notes
v3
Release Notes
v4

Añadido:
getExchange(cedearTicker)
  Returns the exchange for a given CEDEAR ticker
  Parameters:
    cedearTicker (simple string): (simple string) The CEDEAR ticker (e.g., "BCBA:AAPL")
  Returns: (string) The exchange ("NYSE" or "NASDAQ") or empty string if not found

getDSuffix(arsTicker)
  Returns the D-suffix (USD MEP) ticker for a given ARS CEDEAR ticker
  Parameters:
    arsTicker (simple string): (simple string) The ARS CEDEAR ticker (e.g., "BCBA:AAPL")
  Returns: (string) The D-suffix ticker (e.g., "BCBA:AAPLD") or empty string if not found

getARSFromDSuffix(mepTicker)
  Returns the ARS ticker for a given D-suffix (USD MEP) CEDEAR ticker
  Parameters:
    mepTicker (simple string): (simple string) The D-suffix CEDEAR ticker (e.g., "BCBA:AAPLD")
  Returns: (string) The ARS ticker (e.g., "BCBA:AAPL") or empty string if not found

hasDSuffix(arsTicker)
  Checks if an ARS ticker has a D-suffix counterpart
  Parameters:
    arsTicker (simple string): (simple string) The ARS CEDEAR ticker
  Returns: (bool) True if D-suffix exists, false otherwise

getPairCount()
  Returns the total number of ARS/MEP pairs available
  Returns: (int) Number of pairs

getTotalCedears()
  Returns the total number of CEDEARs in the database
  Returns: (int) Total number of CEDEARs

getARSTickerAt(index)
  Returns the ARS ticker at a specific index (for iteration)
  Parameters:
    index (int): (int) Index from 0 to getPairCount()-1
  Returns: (string) The ARS ticker at that index or empty string if out of bounds

getMEPTickerAt(index)
  Returns the MEP ticker at a specific index (for iteration)
  Parameters:
    index (int): (int) Index from 0 to getPairCount()-1
  Returns: (string) The MEP ticker at that index or empty string if out of bounds

Actualizado:
getUnderlying(cedearTicker)
  Returns the underlying ticker for a given CEDEAR ticker
  Parameters:
    cedearTicker (simple string): (simple string) The CEDEAR ticker (e.g., "BCBA:AAPL")
  Returns: (string) The underlying ticker (e.g., "AAPL") or empty string if not found

getRatio(cedearTicker)
  Returns the conversion ratio for a given CEDEAR ticker
  Parameters:
    cedearTicker (simple string): (simple string) The CEDEAR ticker (e.g., "BCBA:AAPL")
  Returns: (int) The conversion ratio or 0 if not found

getCurrency(cedearTicker)
  Returns the currency for a given CEDEAR ticker
  Parameters:
    cedearTicker (simple string): (simple string) The CEDEAR ticker (e.g., "BCBA:AAPL")
  Returns: (string) The currency ("ARS" or "USD MEP") or empty string if not found

isValidCedear(cedearTicker)
  Checks if a ticker is a valid CEDEAR
  Parameters:
    cedearTicker (simple string): (simple string) The ticker to check
  Returns: (bool) True if valid CEDEAR, false otherwise
Release Notes
v5
Release Notes
v6
Release Notes
v7
---
**CEDEARData Library - CEDEAR Database for BYMA**

A comprehensive Pine Script library containing data for all CEDEARs traded on BYMA (Bolsas y Mercados Argentinos). Provides ticker information, conversion ratios, currency data, and ARS/MEP pair mappings.

**Data included:**
• 650 CEDEAR tickers (325 ARS + 325 USD MEP)
• 325 ARS/MEP trading pairs
• Underlying ticker symbols
• Conversion ratios
• Exchange information (NYSE/NASDAQ)
• Currency denomination (ARS/USD MEP)

**Exported Functions:**
• getUnderlying() - Returns underlying ticker for a CEDEAR
• getRatio() - Returns conversion ratio
• getCurrency() - Returns currency (ARS or USD MEP)
• getExchange() - Returns exchange (NYSE or NASDAQ)
• isValidCedear() - Validates if ticker exists
• getDSuffix() - Returns D-suffix ticker for ARS ticker
• getARSFromDSuffix() - Returns ARS ticker from D-suffix
• hasDSuffix() - Checks if ARS ticker has MEP pair
• getPairCount() - Returns total number of pairs (325)
• getTotalCedears() - Returns total tickers (650)
• getARSTickerAt() - Returns ARS ticker at index
• getMEPTickerAt() - Returns MEP ticker at index

**Usage:**
import EcoValores/CEDEARData/7

Eco Valores S.A. - ALyC 109/CNV

---

**Biblioteca de Datos de CEDEARs para BYMA**

Biblioteca completa de Pine Script con datos de todos los CEDEARs operados en BYMA. Provee informacion de tickers, ratios de conversion, moneda y mapeo de pares ARS/MEP.

**Datos incluidos:**
• 650 tickers de CEDEARs (325 ARS + 325 USD MEP)
• 325 pares de operacion ARS/MEP
• Simbolos subyacentes
• Ratios de conversion
• Bolsa de origen (NYSE/NASDAQ)
• Moneda de denominacion (ARS/USD MEP)

**Funciones Exportadas:**
• getUnderlying() - Retorna ticker subyacente
• getRatio() - Retorna ratio de conversion
• getCurrency() - Retorna moneda
• getExchange() - Retorna bolsa de origen
• isValidCedear() - Valida si existe el ticker
• getDSuffix() - Retorna ticker con sufijo D
• getARSFromDSuffix() - Retorna ticker ARS desde sufijo D
• hasDSuffix() - Verifica si tiene par MEP
• getPairCount() - Retorna cantidad de pares (325)
• getTotalCedears() - Retorna total de tickers (650)
• getARSTickerAt() - Retorna ticker ARS en indice
• getMEPTickerAt() - Retorna ticker MEP en indice

**Uso:**
import EcoValores/CEDEARData/7

Eco Valores S.A. - ALyC 109/CNV

---
Release Notes
v8

Actualizado:
getUnderlying(cedearTicker)
  Parameters:
    cedearTicker (simple string)

getRatio(cedearTicker)
  Parameters:
    cedearTicker (simple string)

getCurrency(cedearTicker)
  Parameters:
    cedearTicker (simple string)

isValidCedear(cedearTicker)
  Parameters:
    cedearTicker (simple string)

Eliminado:
getExchange(cedearTicker)
  Returns the exchange for a given CEDEAR ticker

getDSuffix(arsTicker)
  Returns the D-suffix (USD MEP) ticker for a given ARS CEDEAR ticker

getARSFromDSuffix(mepTicker)
  Returns the ARS ticker for a given D-suffix (USD MEP) CEDEAR ticker

hasDSuffix(arsTicker)
  Checks if an ARS ticker has a D-suffix counterpart

getPairCount()
  Returns the total number of ARS/MEP pairs available

getTotalCedears()
  Returns the total number of CEDEARs in the database

getARSTickerAt(index)
  Returns the ARS ticker at a specific index (for iteration)

getMEPTickerAt(index)
  Returns the MEP ticker at a specific index (for iteration)
Release Notes
v9
Release Notes
v10

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.