PINE LIBRARY
Updated CEDEARData

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)
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
v2Release Notes
v3Release Notes
v4Añ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
v5Release Notes
v6Release 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
v8Actualizado:
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
v9Release Notes
v10Release Notes
🇺🇸 EnglishCEDEARData Library — v11 Update
We are pleased to announce the release of CEDEARData Library v11, now containing 692 tickers (346 ARS/MEP pairs).
This update adds 6 new instruments:
BMNR — Bitmine Immersion Technologies, Inc. (AMEX) · Ratio 8:1
BX — Blackstone Inc. (NYSE) · Ratio 30:1
COPX — Global X Copper Miners ETF (AMEX) · Ratio 14:1
ESGU — iShares ESG Aware MSCI USA ETF (NASDAQ) · Ratio 30:1
ILF — iShares Latin America 40 ETF (AMEX) · Ratio 6:1
IVV — iShares Core S&P 500 ETF (AMEX) · Ratio 692:1
Each instrument is available in both ARS and USD MEP variants. The library provides underlying ticker mapping, conversion ratios, and currency data for all CEDEARs traded on BYMA.
⚠️ Disclaimer: This library is provided for informational and educational purposes only. It does not constitute investment advice, a recommendation, or an offer to buy or sell any financial instrument. Always consult a qualified financial advisor before making investment decisions. Past performance is not indicative of future results.
🇦🇷 Español
Biblioteca CEDEARData — Actualización v11
Nos complace anunciar el lanzamiento de la Biblioteca CEDEARData v11, que ahora cuenta con 692 tickers (346 pares ARS/MEP).
Esta actualización incorpora 6 nuevos instrumentos:
BMNR — Bitmine Immersion Technologies, Inc. (AMEX) · Ratio 8:1
BX — Blackstone Inc. (NYSE) · Ratio 30:1
COPX — Global X Copper Miners ETF (AMEX) · Ratio 14:1
ESGU — iShares ESG Aware MSCI USA ETF (NASDAQ) · Ratio 30:1
ILF — iShares Latin America 40 ETF (AMEX) · Ratio 6:1
IVV — iShares Core S&P 500 ETF (AMEX) · Ratio 692:1
Cada instrumento está disponible en sus variantes ARS y USD MEP. La biblioteca provee el mapeo del subyacente, los ratios de conversión y los datos de moneda para todos los CEDEARs operados en BYMA.
⚠️ Aviso legal: Esta biblioteca se proporciona únicamente con fines informativos y educativos. No constituye asesoramiento de inversión, recomendación ni oferta de compra o venta de ningún instrumento financiero. Consulte siempre a un asesor financiero habilitado antes de tomar decisiones de inversión. El rendimiento pasado no es garantía de resultados futuros.
Release Notes
Update v12 – Feb 2026Underlying exchange corrections
Fixed 3 tickers with incorrect exchange prefix:
PLTR → NASDAQ:PLTR (Palantir transferred from NYSE to NASDAQ in September 2024)
VRTX → NASDAQ:VRTX (Vertex Pharmaceuticals has always traded on NASDAQ)
DECK → NASDAQ:DECK (Deckers Outdoor transferred from NYSE to NASDAQ in 2020)
⚠️ This library is for informational purposes only. It does not constitute investment advice or a recommendation to buy or sell any security. Data may contain errors or be out of date. Always verify exchange and ratio information independently before use.
Actualización v12 – Feb 2026
Corrección de exchanges subyacentes
Se corrigieron 3 tickers con exchange incorrecto:
PLTR → NASDAQ:PLTR (Palantir migró de NYSE a NASDAQ en septiembre 2024)
VRTX → NASDAQ:VRTX (Vertex Pharmaceuticals siempre operó en NASDAQ)
DECK → NASDAQ:DECK (Deckers Outdoor migró de NYSE a NASDAQ en 2020)
⚠️ Esta biblioteca es solo para fines informativos. No constituye asesoramiento de inversión ni recomendación de compra o venta. Los datos pueden contener errores o estar desactualizados. Verifique siempre la información de forma independiente antes de utilizarla.
Release Notes
[ES]CEDEARData Library v12 — Sincronizada con la lista de CEDEARs Negociables en BYMA del 29-Mayo-2026.
Cambios principales:
• 52 nuevos tickers: ANET, ASML, BIOX, CCJ, CEG, COP, CRWD, EWJ, EWY, FISV, FMCC, FNMA, GLNG, HIMS, ICLN, IEUR, IJH, ITA, IVE, IVW, KEEL, MP, NBIS, NEE, NVO, O, ONDS, PDD, PSQ, RGTI, RSP, SIEGY, SLV, SNDK, SPHQ, TEAM, TEM, VEA, VIG, VRSN, VXX, XLB, XLC, XLI, XLK, XLP, XLRE, XLV, XLY, XME, XPEV, YZCA.
• Ratios actualizados: AZN (2:1→4:1), SPY (20:1→60:1), HUT (0.2:1→5:1).
• 13 ajustes a ratios inversos (1:X) ahora codificados como decimal 1/X para precision aritmetica: ABEV, ARCO, BRFS, CAAP, EBR, ELP, GGB, NG, SAN, SBS, SHPW, SID, SPCE.
• Omitidos: BB y SI (colisionan con los namespaces MEP de BBD y SID); DTEA, NSAN y PCRF (los codigos BYMA no coinciden con simbolos OTC validos en TradingView).
Total: 802 entradas (401 tickers base ARS + 401 pares USD MEP). La libreria expone getUnderlying, getRatio, getCurrency e isValidCedear.
[EN]
CEDEARData Library v12 — Synced with the official BYMA CEDEARs Negociables list dated 29-May-2026.
Main changes in this release:
• 52 new tickers covering recent BYMA additions, including major large caps, ADRs and sector ETFs: ANET, ASML, BIOX, CCJ, CEG, COP, CRWD, EWJ, EWY, FISV, FMCC, FNMA, GLNG, HIMS, ICLN, IEUR, IJH, ITA, IVE, IVW, KEEL, MP, NBIS, NEE, NVO, O, ONDS, PDD, PSQ, RGTI, RSP, SIEGY, SLV, SNDK, SPHQ, TEAM, TEM, VEA, VIG, VRSN, VXX, XLB, XLC, XLI, XLK, XLP, XLRE, XLV, XLY, XME, XPEV, YZCA.
• Ratio updates: AZN (2:1→4:1), SPY (20:1→60:1), and HUT (0.2:1→5:1, which also corrects a previously inverted ratio direction).
• 13 inverse-ratio (1:X) entries are now encoded as the decimal value 1/X for arithmetic accuracy, covering: ABEV, ARCO, BRFS, CAAP, EBR, ELP, GGB, NG, SAN, SBS, SHPW, SID, SPCE.
• Five tickers were intentionally skipped: BB and SI would collide with the existing BBD and SID MEP-key namespaces; DTEA, NSAN and PCRF are listed on BYMA under codes that do not resolve to valid TradingView OTC symbols (the correct US ADRs are DTEGY, NSANY and PCRFY respectively).
Total coverage: 802 entries (401 base ARS tickers + 401 paired USD MEP tickers). The library exposes four functions — getUnderlying, getRatio, getCurrency and isValidCedear — returning the correct US exchange prefix (NYSE / NASDAQ / AMEX / OTC) and the CEDEAR-to-underlying conversion ratio for every entry, ready to drop into any Pine Script v6 indicator or strategy that needs CEDEAR-aware math.
— Eco Valores S.A. (ALyC N° 109/CNV)
Release Notes
[ES]CEDEARData Library v14 — Sincronizada con la lista de CEDEARs Negociables en BYMA del 29-Mayo-2026.
Cambios principales:
• 52 nuevos tickers: ANET, ASML, BIOX, CCJ, CEG, COP, CRWD, EWJ, EWY, FISV, FMCC, FNMA, GLNG, HIMS, ICLN, IEUR, IJH, ITA, IVE, IVW, KEEL, MP, NBIS, NEE, NVO, O, ONDS, PDD, PSQ, RGTI, RSP, SIEGY, SLV, SNDK, SPHQ, TEAM, TEM, VEA, VIG, VRSN, VXX, XLB, XLC, XLI, XLK, XLP, XLRE, XLV, XLY, XME, XPEV, YZCA.
• Ratios actualizados: AZN (2:1→4:1), SPY (20:1→60:1), HUT (0.2:1→5:1).
• 13 ajustes a ratios inversos (1:X) ahora codificados como decimal 1/X para precision aritmetica: ABEV, ARCO, BRFS, CAAP, EBR, ELP, GGB, NG, SAN, SBS, SHPW, SID, SPCE.
• Omitidos: BB y SI (colisionan con los namespaces MEP de BBD y SID); DTEA, NSAN y PCRF (los codigos BYMA no coinciden con simbolos OTC validos en TradingView).
Total: 802 entradas (401 tickers base ARS + 401 pares USD MEP). La libreria expone getUnderlying, getRatio, getCurrency e isValidCedear.
[EN]
CEDEARData Library v14 — Synced with the official BYMA CEDEARs Negociables list dated 29-May-2026.
Main changes in this release:
• 52 new tickers covering recent BYMA additions, including major large caps, ADRs and sector ETFs: ANET, ASML, BIOX, CCJ, CEG, COP, CRWD, EWJ, EWY, FISV, FMCC, FNMA, GLNG, HIMS, ICLN, IEUR, IJH, ITA, IVE, IVW, KEEL, MP, NBIS, NEE, NVO, O, ONDS, PDD, PSQ, RGTI, RSP, SIEGY, SLV, SNDK, SPHQ, TEAM, TEM, VEA, VIG, VRSN, VXX, XLB, XLC, XLI, XLK, XLP, XLRE, XLV, XLY, XME, XPEV, YZCA.
• Ratio updates: AZN (2:1→4:1), SPY (20:1→60:1), and HUT (0.2:1→5:1, which also corrects a previously inverted ratio direction).
• 13 inverse-ratio (1:X) entries are now encoded as the decimal value 1/X for arithmetic accuracy, covering: ABEV, ARCO, BRFS, CAAP, EBR, ELP, GGB, NG, SAN, SBS, SHPW, SID, SPCE.
• Five tickers were intentionally skipped: BB and SI would collide with the existing BBD and SID MEP-key namespaces; DTEA, NSAN and PCRF are listed on BYMA under codes that do not resolve to valid TradingView OTC symbols (the correct US ADRs are DTEGY, NSANY and PCRFY respectively).
Total coverage: 802 entries (401 base ARS tickers + 401 paired USD MEP tickers). The library exposes four functions — getUnderlying, getRatio, getCurrency and isValidCedear — returning the correct US exchange prefix (NYSE / NASDAQ / AMEX / OTC) and the CEDEAR-to-underlying conversion ratio for every entry, ready to drop into any Pine Script v6 indicator or strategy that needs CEDEAR-aware math.
— Eco Valores S.A. (ALyC N° 109/CNV)
Release Notes
v15Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Eco Valores S.A.
Agente de Liquidación y Compensación (ALyC) n° 109/CNV
Agente de Colocación y Distribución Integral de Fondos Comunes de Inversión (ACyDI FCI) n°45/CNV.
Miembro de A3 Mercados S.A., MAV S.A. y Bolsas y Mercados Argentinos S.A. (ByMA).
Agente de Liquidación y Compensación (ALyC) n° 109/CNV
Agente de Colocación y Distribución Integral de Fondos Comunes de Inversión (ACyDI FCI) n°45/CNV.
Miembro de A3 Mercados S.A., MAV S.A. y Bolsas y Mercados Argentinos S.A. (ByMA).
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.
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
Eco Valores S.A.
Agente de Liquidación y Compensación (ALyC) n° 109/CNV
Agente de Colocación y Distribución Integral de Fondos Comunes de Inversión (ACyDI FCI) n°45/CNV.
Miembro de A3 Mercados S.A., MAV S.A. y Bolsas y Mercados Argentinos S.A. (ByMA).
Agente de Liquidación y Compensación (ALyC) n° 109/CNV
Agente de Colocación y Distribución Integral de Fondos Comunes de Inversión (ACyDI FCI) n°45/CNV.
Miembro de A3 Mercados S.A., MAV S.A. y Bolsas y Mercados Argentinos S.A. (ByMA).
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.