From 92eac644cc15490158e77af7bb7661dfd1f79d80 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 15 Aug 2023 19:31:21 +0800 Subject: [PATCH] changed timing for updatemarket --- database_caller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database_caller.py b/database_caller.py index 5e7a953..f892ca6 100755 --- a/database_caller.py +++ b/database_caller.py @@ -1849,7 +1849,7 @@ if __name__ == '__main__': NY_time = datetime.now(NY_zone).replace(tzinfo=None) opening = NY_time.replace(hour=9, minute=30, second=0, microsecond=0).replace(tzinfo=None) - closing = NY_time.replace(hour=16, minute=5, second=0, microsecond=0).replace(tzinfo=None) + closing = NY_time.replace(hour=16, minute=20, second=0, microsecond=0).replace(tzinfo=None) stock_open = opening < NY_time < closing and datetime.today().weekday() <= 4 if last_updates['market']['force'] or last_updates['sector']['force'] or (diff >= update_frequencies['market'] and stock_open):# or msg == 'c':