Show simulation note also in restserver
This commit is contained in:
parent
c741b67c3c
commit
23d467eb0d
@ -348,6 +348,7 @@ class RPC:
|
||||
'total': total,
|
||||
'symbol': symbol,
|
||||
'value': value,
|
||||
'note': 'Simulated balances' if self._freqtrade.config.get('dry_run', False) else ''
|
||||
}
|
||||
|
||||
def _rpc_start(self) -> Dict[str, str]:
|
||||
|
@ -335,7 +335,9 @@ class Telegram(RPC):
|
||||
output = ''
|
||||
if self._config['dry_run']:
|
||||
output += (
|
||||
f"*Warning:*Simulated balances in Dry Mode.\nStarting capital: "
|
||||
f"*Warning:*Simulated balances in Dry Mode.\n"
|
||||
"This mode is still experimental!\n"
|
||||
"Starting capital: "
|
||||
f"`{self._config['dry_run_wallet']}` {self._config['stake_currency']}.\n"
|
||||
)
|
||||
for currency in result['currencies']:
|
||||
|
Loading…
Reference in New Issue
Block a user