From 177a31b14838579dae9ffdeb4d3b0ebcf3eaf3da Mon Sep 17 00:00:00 2001 From: Daniel Chew Date: Mon, 19 Feb 2024 23:09:32 +0900 Subject: [PATCH] update metal early hols (#53) * update metal early hols * fix test --- pythclient/calendar.py | 1 + pythclient/calendar_full_intervals.py | 3 ++- setup.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pythclient/calendar.py b/pythclient/calendar.py index 5f2dcb5..3d07e6c 100644 --- a/pythclient/calendar.py +++ b/pythclient/calendar.py @@ -74,6 +74,7 @@ ] METAL_EARLY_HOLIDAYS = [ datetime.datetime(2024, 1, 15, tzinfo=NY_TZ).date(), + datetime.datetime(2024, 2, 19, tzinfo=NY_TZ).date(), ] RATES_OPEN = datetime.time(8, 0, 0, tzinfo=NY_TZ) diff --git a/pythclient/calendar_full_intervals.py b/pythclient/calendar_full_intervals.py index 4bf50bf..0ed8aba 100644 --- a/pythclient/calendar_full_intervals.py +++ b/pythclient/calendar_full_intervals.py @@ -791,7 +791,8 @@ (datetime.date(2024, 2, 16), "0000-1700"), (datetime.date(2024, 2, 17), None), (datetime.date(2024, 2, 18), "1700-0000"), - (datetime.date(2024, 2, 19), "0000-0000"), + (datetime.date(2024, 2, 19), "0000-1430"), + (datetime.date(2024, 2, 19), "1800-0000"), (datetime.date(2024, 2, 20), "0000-0000"), (datetime.date(2024, 2, 21), "0000-0000"), (datetime.date(2024, 2, 22), "0000-0000"), diff --git a/setup.py b/setup.py index 247029a..6a19d5d 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name='pythclient', - version='0.1.21', + version='0.1.22', packages=['pythclient'], author='Pyth Developers', author_email='contact@pyth.network',