Use named keyword argument for clarity

This commit is contained in:
moshferatu 2024-01-19 07:40:37 -08:00
parent 7b80f5e138
commit 9a498f04a0

View File

@ -21,7 +21,7 @@ def backtest_automation():
start_date = end_date - timedelta(days = 1) start_date = end_date - timedelta(days = 1)
run_backtest(start_date, end_date) run_backtest(start_date, end_date)
except: except:
send_message('Backtest automation failed!', getenv('USER_ID')) send_message('Backtest automation failed!', to_user_id = getenv('USER_ID'))
traceback.print_exc() traceback.print_exc()
if __name__ == '__main__': if __name__ == '__main__':