finance-dates 0.2.0

Fast date ranges, holiday calendars, and trading hours for financial markets
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Fast date-range, holiday-calendar, and trading-hour utilities.

pub mod calendar;
pub mod holiday;
pub mod range;
pub mod trading_hours;

pub use calendar::{
    calendar_for_asset, calendar_for_exchange, calendar_for_product, calendar_for_region, Calendar,
    CalendarSchedule, AGRICULTURE_TYPES, COMMODITY_TYPES, COUNTRY_CODES, COUNTRY_CODES3,
    CRYPTO_WEEKMASK, ENERGY_TYPES, EXCHANGE_CODES, FX_WEEKMASK, MARKET_TYPES, METALS_TYPES,
    UNDERLYING_ASSET_CLASSES,
};
pub use holiday::{HolidayRule, Weekday};
pub use range::{business_day_range, date_range, STANDARD_WEEKMASK};
pub use trading_hours::{ExtendedSession, Session, TradingHours};