added save display name
This commit is contained in:
parent
3a98890c89
commit
b4a5cdfd7a
@ -1385,6 +1385,7 @@ def save_trade_settings(input_settings):
|
||||
if input_settings['feature'] == 'Stocks' or input_settings['feature'] == 'Crypto':
|
||||
current_settings['chart'] = input_settings['chart']
|
||||
current_settings['lohivol'] = input_settings['lohivol']
|
||||
current_settings['display_name'] = input_settings['display_name']
|
||||
if input_settings['feature'] == 'Commodities':
|
||||
try:
|
||||
input_settings['symbols'] = [commodities_dict[symbol] for symbol in input_settings['symbols']]
|
||||
@ -1638,6 +1639,7 @@ def save_market_settings(input_settings):
|
||||
current_settings['point'] = input_settings['point']
|
||||
current_settings['categories'] = input_settings['categories']
|
||||
current_settings['lohivol'] = input_settings['lohivol']
|
||||
current_settings['display_name'] = input_settings['display_name']
|
||||
try:
|
||||
f = open('csv/' + filename, 'w')
|
||||
json.dump(current_settings, f)
|
||||
|
Loading…
Reference in New Issue
Block a user