Skip to main content

Check NSE trading days and type using historical data.

Project description

NSE Trading Calendar

A Python package to check whether a given date is a trading day on NSE and its type:

  • 0 = Normal trading day
  • 1 = Special trading day
  • None = Type unknown

Installation

pip install .

Usage

from nse_calendar.calendar import NSETradingCalendar

calendar = NSETradingCalendar()
calendar.get_trading_day_info("2023-10-02")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nse_trading_calendar-0.1.1.tar.gz (77.0 kB view details)

Uploaded Source

Built Distribution

nse_trading_calendar-0.1.1-py3-none-any.whl (75.9 kB view details)

Uploaded Python 3

File details

Details for the file nse_trading_calendar-0.1.1.tar.gz.

File metadata

  • Download URL: nse_trading_calendar-0.1.1.tar.gz
  • Upload date:
  • Size: 77.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for nse_trading_calendar-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4e2684531c864b88fd83819ed510eed43141ec6b16d5e25100af2a03a1e7a300
MD5 7fbf1f7ad5ff94f739a3672fb27fff36
BLAKE2b-256 ab03c0a1ca31c73531e653663606040250e2ce7b2a531bffbd8e0cb4663381be

See more details on using hashes here.

File details

Details for the file nse_trading_calendar-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nse_trading_calendar-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b16448225378e5dc37b888e5d43cb5cdc9eef220131d0a4cc59beba3034c6680
MD5 761f39627f9fb19347af349972ad66f3
BLAKE2b-256 050448192d3faa6f3c1f49ea4b91877e7b852656a207fc31896bab4ba07f6b12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page