Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

A market calendar where holidays are computed, not typed in

Description and use

Lithuanian holiday calendar computed automatically, eliminating outdated tables and manual entry errors, providing accurate data for trading systems.

Problem

Hardcoded holiday tables become outdated and error-prone, especially for movable feasts like Easter, leading to incorrect market open/close calculations in trading systems.

Outcome

Computed holiday logic eliminates table exhaustion, reduces manual errors, and ensures accurate market open/close determination for trading systems.

Workflow

  • Install the package via pip.
  • Import the holidays function from aion_lithuanian_market_calendar.
  • Call holidays(year) to generate holiday objects for the desired year.
  • Iterate over the returned holidays to access date, English name, and Lithuanian name.
  • Use the holiday data in trading system logic to determine market open status.
  • Update or correct rules via the open-source repository if needed.

Evidence

Most holiday libraries ship a dictionary of dates. Someone types them in for the next few years, and the package works until it silently does not.

Source

Because the rule is computed, any year works:

Source

The package makes no network calls in normal use.

Source

  • Record date: 2026-09-07T00:52:44.632Z