The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Quant::Framework::Holiday - A module to save/load market holidays

DESCRIPTION

This module saves/loads holidays to/from Chronicle.

save

Updates the current holiday calendar with the new inserts. It trims the calendar by removing holiday before the recorded_date.

get_holidays_for

This method looks for holidays of the given symbol (at the optional given time) using chronicle_reader object passed to it. Note that this method needs a chronicle reader because it is not part of the Holiday class.