Use named keyword argument for clarity
This commit is contained in:
parent
7b80f5e138
commit
9a498f04a0
@ -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__':
|
||||||
|
Loading…
Reference in New Issue
Block a user