Update rpc_manager.py

This commit is contained in:
Stefano Ariestasia 2022-01-17 10:57:10 +09:00
parent acda9571d1
commit edd2ea3699

View File

@ -85,6 +85,7 @@ class RPCManager:
timeframe = config['timeframe']
exchange_name = config['exchange']['name']
strategy_name = config.get('strategy', '')
pos_adjust_enabled = 'On' if config['position_adjustment_enable'] else 'Off'
self.send_msg({
'type': RPCMessageType.STARTUP,
'status': f'*Exchange:* `{exchange_name}`\n'
@ -92,7 +93,8 @@ class RPCManager:
f'*Minimum ROI:* `{minimal_roi}`\n'
f'*{"Trailing " if trailing_stop else ""}Stoploss:* `{stoploss}`\n'
f'*Timeframe:* `{timeframe}`\n'
f'*Strategy:* `{strategy_name}`'
f'*Strategy:* `{strategy_name}`\n'
f'*Position adjustment:* `{pos_adjust_enabled}`'
})
self.send_msg({
'type': RPCMessageType.STARTUP,