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.3.tar.gz (77.1 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.3-py3-none-any.whl (76.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nse_trading_calendar-0.1.3.tar.gz
  • Upload date:
  • Size: 77.1 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.3.tar.gz
Algorithm Hash digest
SHA256 0e705807b294e8fff52d45ea789f11d34380a47bef5554869d705bd0c49d5c7a
MD5 f82e0ce573a702880193b24b63224983
BLAKE2b-256 e381427b9308d8765209a872c47c53352baa2d8e8c2f4cbb562a4d9337a35708

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nse_trading_calendar-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e79fb7d8611ab72591e125fd36c5f18e639a689f858f059a7007a3caa309816a
MD5 9159b12bc7275831cb6ee99d68553f74
BLAKE2b-256 6ab205bc47e27720142456cd919b1a254c3256c7c44cafbd45f7942c04d1f689

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