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.6.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.6-py3-none-any.whl (78.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nse_trading_calendar-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 45a3d0fceec8cfdf39a40b4eb9d1221df00dbdb7a5df2978149af5c92b96d879
MD5 faa88f9e8bea6a9a4e41a9493bb5a578
BLAKE2b-256 5e8f06a4e8ec007af0512659912ce70aaea45db3a98c62af7cc8ce0336b5e0ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nse_trading_calendar-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d9c76a89fcf24aa25aeb280e0b65f7d09dbfbe3c452aa31e24c10b918c4a657b
MD5 7536d3b045090c0784c019cb6eaa66e7
BLAKE2b-256 5c21f94d3f1f18118c0a7f94f79348e40df8fed5f070a761c7841fa7838a9603

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