PINE LIBRARY
LECAPS_BONCAP_DUALES_Library

LECAPS BONCAP DUALES Library - Argentine Fixed Income Data
===========================================================
Library containing instrument data for Argentine Treasury fixed-rate securities (LECAPs, BONCAPs, and DUALES) and Dólar Futures contracts.
📊 CONTENTS
-----------
• LECAP (9 instruments): Zero-coupon treasury notes with "S" prefix
• BONCAP (6 instruments): Fixed-rate treasury bonds with "T" prefix
• DUALES (2 instruments): Dual-rate TAMAR-linked bonds with "M" prefix
• Dólar Futures (11 contracts): ROFEX USD/ARS futures (Feb-Dec 2026)
📈 DATA PROVIDED
----------------
For each instrument:
• Ticker symbol (full and short versions)
• Maturity price (precio de vencimiento)
• Maturity date/timestamp
🔧 EXPORTED FUNCTIONS
---------------------
// Counts
getLecapCount() → int
getBoncapCount() → int
getDualesCount() → int
getDolarFuturesCount() → int
// LECAP data
getLecapTicker(index) → string // e.g., "BCBA:S27F6"
getLecapTickerShort(index) → string // e.g., "S27F6"
getLecapMaturityPrice(index) → float // e.g., 125.84
getLecapMaturityTimestamp(index) → int
// BONCAP data
getBoncapTicker(index) → string
getBoncapTickerShort(index) → string
getBoncapMaturityPrice(index) → float
getBoncapMaturityTimestamp(index) → int
// DUALES data
getDualesTicker(index) → string
getDualesTickerShort(index) → string
getDualesMaturityPrice(index) → float
getDualesMaturityTimestamp(index) → int
// Dólar Futures data
getDolarFuturesTicker(index) → string // e.g., "ROFEX:DLRG2026"
getDolarFuturesShort(index) → string // e.g., "DLR Feb26"
getDolarFuturesExpiry(index) → int
// Helpers
isExpired(maturityTs) → bool
getDaysToMaturity(maturityTs) → int
💡 USAGE EXAMPLE
----------------
import YourUsername/LECAPS_BONCAP_DUALES_Library/1 as lib
// Get LECAP count and iterate
for i = 0 to lib.getLecapCount() - 1
ticker = lib.getLecapTickerShort(i)
maturityPrice = lib.getLecapMaturityPrice(i)
maturityTs = lib.getLecapMaturityTimestamp(i)
if not lib.isExpired(maturityTs)
// Process active instrument
daysLeft = lib.getDaysToMaturity(maturityTs)
📅 INSTRUMENTS (as of 2026-02-11)
---------------------------------
LECAP:
S27F6 (27-Feb-26), S16M6 (16-Mar-26), S17A6 (17-Apr-26),
S30A6 (30-Apr-26), S29Y6 (29-May-26), S31L6 (31-Jul-26),
S31G6 (31-Aug-26), S30O6 (30-Oct-26), S30N6 (30-Nov-26)
BONCAP:
T13F6 (13-Feb-26), T30J6 (30-Jun-26), T15E7 (15-Jan-27),
T30A7 (30-Apr-27), T31Y7 (31-May-27), T30J7 (30-Jun-27)
DUALES:
M27F6 (27-Feb-26), M30A6 (30-Apr-26)
DÓLAR FUTURES:
DLRG2026 (Feb), DLRH2026 (Mar), DLRJ2026 (Apr), DLRK2026 (May),
DLRM2026 (Jun), DLRN2026 (Jul), DLRQ2026 (Aug), DLRU2026 (Sep),
DLRV2026 (Oct), DLRX2026 (Nov), DLRZ2026 (Dec)
⚠️ NOTES
--------
• Data is updated periodically as new instruments are issued
• Expired instruments are automatically filtered via isExpired()
• Maturity prices are set at public auction (licitación)
• Use with the companion indicator "Breakeven LECAPs BONCAPs DUALES"
🏷️ TAGS
-------
argentina, lecap, boncap, duales, treasury, fixed-income, bonds,
letras, bonos, dolar, futures, rofex, bcba, breakeven
===========================================================
Library containing instrument data for Argentine Treasury fixed-rate securities (LECAPs, BONCAPs, and DUALES) and Dólar Futures contracts.
📊 CONTENTS
-----------
• LECAP (9 instruments): Zero-coupon treasury notes with "S" prefix
• BONCAP (6 instruments): Fixed-rate treasury bonds with "T" prefix
• DUALES (2 instruments): Dual-rate TAMAR-linked bonds with "M" prefix
• Dólar Futures (11 contracts): ROFEX USD/ARS futures (Feb-Dec 2026)
📈 DATA PROVIDED
----------------
For each instrument:
• Ticker symbol (full and short versions)
• Maturity price (precio de vencimiento)
• Maturity date/timestamp
🔧 EXPORTED FUNCTIONS
---------------------
// Counts
getLecapCount() → int
getBoncapCount() → int
getDualesCount() → int
getDolarFuturesCount() → int
// LECAP data
getLecapTicker(index) → string // e.g., "BCBA:S27F6"
getLecapTickerShort(index) → string // e.g., "S27F6"
getLecapMaturityPrice(index) → float // e.g., 125.84
getLecapMaturityTimestamp(index) → int
// BONCAP data
getBoncapTicker(index) → string
getBoncapTickerShort(index) → string
getBoncapMaturityPrice(index) → float
getBoncapMaturityTimestamp(index) → int
// DUALES data
getDualesTicker(index) → string
getDualesTickerShort(index) → string
getDualesMaturityPrice(index) → float
getDualesMaturityTimestamp(index) → int
// Dólar Futures data
getDolarFuturesTicker(index) → string // e.g., "ROFEX:DLRG2026"
getDolarFuturesShort(index) → string // e.g., "DLR Feb26"
getDolarFuturesExpiry(index) → int
// Helpers
isExpired(maturityTs) → bool
getDaysToMaturity(maturityTs) → int
💡 USAGE EXAMPLE
----------------
import YourUsername/LECAPS_BONCAP_DUALES_Library/1 as lib
// Get LECAP count and iterate
for i = 0 to lib.getLecapCount() - 1
ticker = lib.getLecapTickerShort(i)
maturityPrice = lib.getLecapMaturityPrice(i)
maturityTs = lib.getLecapMaturityTimestamp(i)
if not lib.isExpired(maturityTs)
// Process active instrument
daysLeft = lib.getDaysToMaturity(maturityTs)
📅 INSTRUMENTS (as of 2026-02-11)
---------------------------------
LECAP:
S27F6 (27-Feb-26), S16M6 (16-Mar-26), S17A6 (17-Apr-26),
S30A6 (30-Apr-26), S29Y6 (29-May-26), S31L6 (31-Jul-26),
S31G6 (31-Aug-26), S30O6 (30-Oct-26), S30N6 (30-Nov-26)
BONCAP:
T13F6 (13-Feb-26), T30J6 (30-Jun-26), T15E7 (15-Jan-27),
T30A7 (30-Apr-27), T31Y7 (31-May-27), T30J7 (30-Jun-27)
DUALES:
M27F6 (27-Feb-26), M30A6 (30-Apr-26)
DÓLAR FUTURES:
DLRG2026 (Feb), DLRH2026 (Mar), DLRJ2026 (Apr), DLRK2026 (May),
DLRM2026 (Jun), DLRN2026 (Jul), DLRQ2026 (Aug), DLRU2026 (Sep),
DLRV2026 (Oct), DLRX2026 (Nov), DLRZ2026 (Dec)
⚠️ NOTES
--------
• Data is updated periodically as new instruments are issued
• Expired instruments are automatically filtered via isExpired()
• Maturity prices are set at public auction (licitación)
• Use with the companion indicator "Breakeven LECAPs BONCAPs DUALES"
🏷️ TAGS
-------
argentina, lecap, boncap, duales, treasury, fixed-income, bonds,
letras, bonos, dolar, futures, rofex, bcba, breakeven
Thư viện Pine
Theo đúng tinh thần TradingView, tác giả đã công bố mã Pine này như một thư viện mã nguồn mở để các lập trình viên Pine khác trong cộng đồng có thể tái sử dụng. Chúc mừng tác giả! Bạn có thể sử dụng thư viện này cho mục đích cá nhân hoặc trong các ấn phẩm mã nguồn mở khác, nhưng việc tái sử dụng mã này trong các ấn phẩm phải tuân theo Nội Quy.
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).
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Thư viện Pine
Theo đúng tinh thần TradingView, tác giả đã công bố mã Pine này như một thư viện mã nguồn mở để các lập trình viên Pine khác trong cộng đồng có thể tái sử dụng. Chúc mừng tác giả! Bạn có thể sử dụng thư viện này cho mục đích cá nhân hoặc trong các ấn phẩm mã nguồn mở khác, nhưng việc tái sử dụng mã này trong các ấn phẩm phải tuân theo Nội Quy.
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).
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.