NYSE Calendar
Project description
NYSE Calendar
This is a small library that calculates New York Stock Exchange's holiday.
Example (0) List all NYSE holidays in 2022
from nysecalendar import NYSE_holidays
holidays = list(NYSE_holidays(datetime.date(
2022, 1, 1), datetime.date(2022, 12, 31)))
Example (1) List all NYSE tradingdays in 2022
from nysecalendar import NYSE_tradingdays
tradingdays = list(NYSE_tradingdays(datetime.date(
2022, 1, 1), datetime.date(2022, 12, 31)))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
NYSECalendar-0.0.4.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for NYSECalendar-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b6316c63d8976a8a423ac52111c071e06b8637c0cacd3b272c8b2d2c9cd247e |
|
MD5 | e483dbe083f5834c48023520c0cd87d2 |
|
BLAKE2b-256 | 5ba16fecf144b0607ba31d28c011a23091b39ddb1125d3d6f674ff8a4ca6313a |