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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nse_trading_calendar-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 e1802d1ca40e6283b61dae6385af8f04124c6e40cd61ac15231964a9dc0586f7
MD5 8bb9291e1c3854884057e6dd35e232be
BLAKE2b-256 9d5d0cfe81c2bf62545a97ebc298038a23abd86b9e10c5f59a6e642a43220f30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nse_trading_calendar-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 425029b20c7029ac3131b42e7cf9313a8b28cc0f18ca67956283f31098878c3c
MD5 683266e7ee69b383086cc33c82615986
BLAKE2b-256 d0620d6541f05aaf1041b09dbcbea98f32b5cc39c1f2a372bc35270165230b0c

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