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.4.tar.gz (79.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nse_trading_calendar-0.1.4-py3-none-any.whl (78.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nse_trading_calendar-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ccea6bc7a5175d6de1d9e9b3c8d508a6c61b6d5116687bf19c0431876b0e2e52
MD5 caf028ab03db07cefcf6e68005d1a274
BLAKE2b-256 c21ddc26bbec7195443759bfc1727f1bd15e5052fe0124e56766d21d8bde4c8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nse_trading_calendar-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8f792cfc16d33e2097e03a467d0e4a3b1b51c8506ca4097b8b1796b0a2334a1c
MD5 4030ae5a58602748362f014a2d96b165
BLAKE2b-256 a23468910f6359db6ee945e1d483118bbe7ab55fa69cdf6d99732a382ea96f4d

See more details on using hashes here.

Supported by

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