返回代码库
TradingView脚本库未分类已发布

LECAPS_BONCAP_DUALES_Library

TradingView 原文 · 抓取于 2026.09.30

TradingView 脚本库 · EcoValores

原作者EcoValores
首次发布2026.10.05
当前版本v1.0
已审核发布文件tradingview-8y1nj7bx.pine8.1 KB · TradingView · v1.0
SHA-256
ed07f7860b3bcf3db17f7a1e4349bd6cfaec23723cb166a62c678ee435f8c9fb
授权
待确认
授权与文件校验
授权条款
待确认
SHA-256
ed07f7860b3bcf3db17f7a1e4349bd6cfaec23723cb166a62c678ee435f8c9fb
登录后下载;未登录仍可查看源码预览
SOURCE PREVIEW

源码预览

正在读取已发布源码…
CAPABILITIES

核心功能

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

INSTALLATION

安装与验证

◇
安装说明待补充

在文档完善前,请勿将未验证文件用于实盘环境。