mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Update rpc_manager.py
This commit is contained in:
parent
acda9571d1
commit
edd2ea3699
|
@ -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,
|
||||
|
@ -104,4 +106,4 @@ class RPCManager:
|
|||
self.send_msg({
|
||||
'type': RPCMessageType.STARTUP,
|
||||
'status': f'Using Protections: \n{prots}'
|
||||
})
|
||||
})
|
Loading…
Reference in New Issue
Block a user