Skip to main content

Crate finance_dates

Crate finance_dates 

Source
Expand description

Fast date-range, holiday-calendar, and trading-hour utilities.

Re-exports§

pub use calendar::calendar_for_asset;
pub use calendar::calendar_for_exchange;
pub use calendar::calendar_for_product;
pub use calendar::calendar_for_region;
pub use calendar::Calendar;
pub use calendar::CalendarSchedule;
pub use calendar::CRYPTO_WEEKMASK;
pub use calendar::FX_WEEKMASK;
pub use holiday::HolidayRule;
pub use range::business_day_range;
pub use range::date_range;
pub use range::STANDARD_WEEKMASK;
pub use trading_hours::ExtendedSession;
pub use trading_hours::Session;
pub use trading_hours::TradingHours;

Modules§

calendar
Per-exchange / per-region calendars.
holiday
Holiday rule definitions evaluated lazily per year.
range
Plain and business-day range iteration helpers.
trading_hours
Trading hours expressed in an IANA timezone with multi-session support.

Enums§

Weekday
The day of week.

Statics§

AGRICULTURE_TYPES
COMMODITY_TYPES
COUNTRY_CODES
COUNTRY_CODES3
ENERGY_TYPES
EXCHANGE_CODES
MARKET_TYPES
METALS_TYPES
UNDERLYING_ASSET_CLASSES