From 9a498f04a0630594358e5cf101ef65fcb759bc42 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Fri, 19 Jan 2024 07:40:37 -0800 Subject: [PATCH] Use named keyword argument for clarity --- backtest_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backtest_scheduler.py b/backtest_scheduler.py index 4f8a99c..25082f4 100644 --- a/backtest_scheduler.py +++ b/backtest_scheduler.py @@ -21,7 +21,7 @@ def backtest_automation(): start_date = end_date - timedelta(days = 1) run_backtest(start_date, end_date) except: - send_message('Backtest automation failed!', getenv('USER_ID')) + send_message('Backtest automation failed!', to_user_id = getenv('USER_ID')) traceback.print_exc() if __name__ == '__main__':