force prepost update when empty symbols

This commit is contained in:
Justin 2023-03-27 18:19:21 +08:00 committed by GitHub
parent 2a6ece84fd
commit 5b06a98d9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -922,6 +922,8 @@ def save_trade_settings(input_settings):
if any([current_settings['symbols'][k] == [] for k in input_settings['symbols']]): if any([current_settings['symbols'][k] == [] for k in input_settings['symbols']]):
last_updates[input_settings['feature'].lower()]['force'] = True last_updates[input_settings['feature'].lower()]['force'] = True
if input_settings['feature'] == 'Stocks':
last_updates['prepost']['force'] = True