bot_id docs and in startup message

This commit is contained in:
Nullart2
2018-08-29 19:11:06 +08:00
parent 6fe00b4c2b
commit a869eaba6b
4 changed files with 10 additions and 1 deletions

View File

@@ -118,6 +118,7 @@ class FreqtradeBot(object):
'type': RPCMessageType.WARNING_NOTIFICATION,
'status': 'Dry run is enabled. All trades are simulated.'
})
bot_id = self.config.get('bot_id',0)
stake_currency = self.config['stake_currency']
stake_amount = self.config['stake_amount']
minimal_roi = self.config['minimal_roi']
@@ -127,7 +128,8 @@ class FreqtradeBot(object):
strategy_name = self.config.get('strategy', '')
self.rpc.send_msg({
'type': RPCMessageType.CUSTOM_NOTIFICATION,
'status': f'*Exchange:* `{exchange_name}`\n'
'status': f'*Bot ID:* `{bot_id}`\n'
f'*Exchange:* `{exchange_name}`\n'
f'*Stake per trade:* `{stake_amount} {stake_currency}`\n'
f'*Minimum ROI:* `{minimal_roi}`\n'
f'*Ticker Interval:* `{ticker_interval}`\n'