OPEN-SOURCE SCRIPT
已更新 US Treasury Auction Dates (10Y/20Y/30Y)

This indicator automatically plots U.S. Treasury auction dates for 10-Year Notes, 20-Year Bonds, and 30-Year Bonds on your chart.
The data used in this indicator is sourced entirely from official U.S. Department of the Treasury channels. It combines two official data streams to ensure absolute historical accuracy and up-to-date future scheduling:
1. Historical Auction Records (API)
• Source: U.S. Treasury Fiscal Data API.
• Endpoint: v1/accounting/od/auctions_query
• Coverage: Complete official historical records from 1979 to the present.
2. Future Tentative Auction Schedules (XML)
• Source: U.S. Department of the Treasury's official Tentative Auction Schedule service.
• File URL: home.treasury.gov/system/files/221/Tentative-Auction-Schedule.xml
• Coverage: The most recently announced tentative schedules for upcoming months.
New Issues and Reopenings are separate。TIPS are excluded.
This indicator is updated regularly with new auction dates.
The data used in this indicator is sourced entirely from official U.S. Department of the Treasury channels. It combines two official data streams to ensure absolute historical accuracy and up-to-date future scheduling:
1. Historical Auction Records (API)
• Source: U.S. Treasury Fiscal Data API.
• Endpoint: v1/accounting/od/auctions_query
• Coverage: Complete official historical records from 1979 to the present.
2. Future Tentative Auction Schedules (XML)
• Source: U.S. Department of the Treasury's official Tentative Auction Schedule service.
• File URL: home.treasury.gov/system/files/221/Tentative-Auction-Schedule.xml
• Coverage: The most recently announced tentative schedules for upcoming months.
New Issues and Reopenings are separate。TIPS are excluded.
This indicator is updated regularly with new auction dates.
版本注释
This indicator automatically plots U.S. Treasury auction dates for 10-Year Notes, 20-Year Bonds, and 30-Year Bonds on your chart.The data used in this indicator is sourced entirely from official U.S. Department of the Treasury channels. It combines two official data streams to ensure absolute historical accuracy and up-to-date future scheduling:
1. Historical Auction Records (API)
• Source: U.S. Treasury Fiscal Data API.
• Endpoint: v1/accounting/od/auctions_query
• Coverage: Complete official historical records from 1979 to the present.
2. Future Tentative Auction Schedules (XML)
• Source: U.S. Department of the Treasury's official Tentative Auction Schedule service.
• File URL: home.treasury.gov/system/files/221/Tentative-Auction-Schedule.xml
• Coverage: The most recently announced tentative schedules for upcoming months.
New Issues and Reopenings are separate. TIPS are excluded from this indicator.
This indicator is updated regularly with new auction dates.
版本注释
Shifted the vertical line and label drawing time from the market open (start of the day) to exactly 1:00 PM Eastern Time (ET) on US Treasury auction days.版本注释
Update: Added Upcoming Auction TableThis version adds a compact top-right summary table showing the next upcoming 10Y, 20Y, and 30Y U.S. Treasury auctions.
What’s new:
- Added an optional “Upcoming Auction Table”
- Shows the next auction date for each maturity
- Identifies whether each upcoming auction is a New Issue or Reopening
- Displays the number of days remaining
- Uses the current New York date for countdown accuracy
- Table respects the existing visibility toggles for each maturity and reopening type
This makes it easier to track upcoming Treasury supply events without scanning the full chart history.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。