Improve message for fiat_display_currency

allow leaving empty for new-config
This commit is contained in:
Matthias 2024-05-20 17:02:00 +02:00
parent 4d2db33445
commit 531843ebcb
2 changed files with 6 additions and 2 deletions

View File

@ -100,7 +100,10 @@ def ask_user_config() -> Dict[str, Any]:
{
"type": "text",
"name": "fiat_display_currency",
"message": "Please insert your display Currency (for reporting):",
"message": (
"Please insert your display Currency for reporting "
"(leave empty to disable FIAT conversion):"
),
"default": "USD",
},
{

View File

@ -10,7 +10,8 @@
"stake_currency": "{{ stake_currency }}",
"stake_amount": {{ stake_amount }},
"tradable_balance_ratio": 0.99,
"fiat_display_currency": "{{ fiat_display_currency }}",{{ ('\n "timeframe": "' + timeframe + '",') if timeframe else '' }}
{{- ('\n "fiat_display_currency": "' + fiat_display_currency + '",') if fiat_display_currency else ''}}
{{- ('\n "timeframe": "' + timeframe + '",') if timeframe else '' }}
"dry_run": {{ dry_run | lower }},
"dry_run_wallet": 1000,
"cancel_open_orders_on_exit": false,