OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
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.
Notas de Lançamento
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.Notas de Lançamento
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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.