• Prodotti
  • Comunità
  • Mercati
  • Broker
  • Altro
Inizia
  • Comunità
  • /Indicatori e strategie
  • /Non-tradingdays

Non-tradingdays

MarketHolidaysLibrary "MarketHolidays" The MarketHolidays library compiles market holidays (including historical special market closures) into arrays, which can then be utilized in TradingView indicators and strategies to account for non-trading days. The datasets were split into different libraries to overcome compiling limitations, streamline the process of removing specific time frames if not needed, and to enhance code execution speed. The timestamps are generated using a custom Python script that employs the 'pandas_market_calendars' library. To build your own set of arrays, you can find the script and instructions at github.com getHolidays(_country)   The getHolidays function aggregates holiday data from different time periods to create a single array with market holidays for a specified country.   Parameters:      _country (string) : The country code for which to retrieve market holidays. Accepts syminfo.country or pre-set country code in ISO 3166-1 alpha-2 format.   Returns: An array of timestamps of market holidays \ non-trading days for the given country.
Libreria Pine Script®
di Protervus
33

Dati di mercato forniti da ICE Data services. Dati di riferimento forniti da FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

Più che un semplice prodotto
  • Grafici
Screener
  • Azioni
  • ETF
  • Obbligazioni
  • Singole cripto
  • Coppie Cripto
  • Coppie CEX
  • Coppie DEX
  • Pine
Heatmap
  • Azioni
  • ETF
  • Cripto
Calendari
  • Economico
  • Utili
  • Dividendi
Altri prodotti
  • Curve di rendimento
  • Opzioni
  • Notiziario
  • Pine Script®
  • Spunti
Applicazioni
  • Smartphone
  • Desktop
Strumenti e abbonamenti
  • Caratteristiche
  • Costi
  • Dati di mercato
Offerte speciali
  • Futures CME Group
  • Futures Eurex
  • Bundle azioni USA
Informazioni sulla società
  • Chi siamo
  • Manifesto
  • Atleti
  • Blog
  • Carriere
  • Kit multimediale
Merchandising
  • TradingView Shop
  • I tarocchi per i trader
Politiche e sicurezza
  • Condizioni d'uso
  • Declinazione di responsabilità
  • Normativa sulla privacy
  • Politica sui cookies
  • Dichiarazione di accessibilità
  • Rischi per la sicurezza
  • Pagina di stato
Comunità
  • Social network
  • Muro social
  • Invita un amico
  • Regolamento
  • Moderatori
Idee
  • Trading
  • Formazione
  • Selezione editoriale
Pine Script
  • Indicatori e strategie
  • Maestri
  • Freelancer
Soluzioni per le aziende
  • Widget
  • Librerie grafiche
  • Lightweight Charts™
  • Grafici avanzati
  • Piattaforma di trading
Opportunità di crescita
  • Pubblicità
  • Integrazione broker
  • Programma affiliazione
  • Programma di formazione
Look FirstLook First