• Produits
  • Communauté
  • Marchés
  • Courtiers
  • Plus
Commencez
  • Communauté
  • /Indicateurs et stratégies
  • /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.
Bibliothèque Pine Script®
par Protervus
33

Select market data provided by ICE Data services. Select reference data provided by FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc. SEC fillings and other documents provided by Quartr.

Plus qu'un produit
  • Supercharts
Screeners
  • Actions
  • ETFs
  • Obligations
  • Crypto coins
  • Paires CEX
  • Paires DEX
  • Pine
Cartes thermiques
  • Actions
  • ETFs
  • Crypto
Calendriers
  • Economie
  • Bénéfices
  • Dividendes
Plus de produits
  • Courbes de rendement
  • Options
  • Flux d'actualités
  • Pine Script®
Apps
  • Mobile
  • Desktop
Communauté
  • Réseau social
  • Mur d'Amour
  • Parrainer un ami
  • Règlement
  • Modérateurs
Idées
  • Trading
  • Éducation
  • Choix de la rédaction
Pine script
  • Indicateurs & stratégies
  • Wizards
  • Freelancers
Outils & Abonnements
  • Fonctionnalités
  • Tarifications
  • Données boursières
Trading
  • Vue d'ensemble
  • Courtiers
Offres spéciales
  • Contrats à terme de CME Group
  • Contrats à terme Eurex
  • Paquet d'actions US
Au sujet de l'entreprise
  • Qui nous sommes
  • Mission spatiale
  • Blog
  • Carrières
  • Kit media
Merch
  • Boutique TradingView
  • Cartes de tarot pour les traders
  • Le C63 TradeTime
Politiques & Sécurité
  • Conditions d'utilisation
  • Clause de non-responsabilité
  • Politique de confidentialité
  • Politique en matière de cookies
  • Déclaration d'accessibilité
  • Conseils de sécurité
  • Programme de chasse aux bugs
  • Page du statut
Solutions pour les entreprises
  • Widgets
  • Bibliothèques de graphiques
  • Lightweight Charts™
  • Graphiques avancés
  • Plateforme de trading
Opportunités de croissance
  • Publicité
  • Intégration de courtiers
  • Programme de partenariat
  • Programme éducatif
Communauté
  • Réseau social
  • Mur d'Amour
  • Parrainer un ami
  • Règlement
  • Modérateurs
Idées
  • Trading
  • Éducation
  • Choix de la rédaction
Pine script
  • Indicateurs & stratégies
  • Wizards
  • Freelancers
Solutions pour les entreprises
  • Widgets
  • Bibliothèques de graphiques
  • Lightweight Charts™
  • Graphiques avancés
  • Plateforme de trading
Opportunités de croissance
  • Publicité
  • Intégration de courtiers
  • Programme de partenariat
  • Programme éducatif
Look FirstLook First