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