DOn't use json.dumps - it's not necessary
This commit is contained in:
parent
8c32d691c7
commit
3bd38171f8
@ -636,7 +636,7 @@ class Telegram(RPC):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
sl_info = f"*Stoploss:* `{val['stoploss']}`\n"
|
sl_info = f"*Stoploss:* `{val['stoploss']}`\n"
|
||||||
import json
|
|
||||||
self._send_msg(
|
self._send_msg(
|
||||||
f"*Mode:* `{'Dry-run' if val['dry_run'] else 'Live'}`\n"
|
f"*Mode:* `{'Dry-run' if val['dry_run'] else 'Live'}`\n"
|
||||||
f"*Exchange:* `{val['exchange']}`\n"
|
f"*Exchange:* `{val['exchange']}`\n"
|
||||||
@ -644,7 +644,7 @@ class Telegram(RPC):
|
|||||||
f"*Max open Trades:* `{val['max_open_trades']}`\n"
|
f"*Max open Trades:* `{val['max_open_trades']}`\n"
|
||||||
f"*Minimum ROI:* `{val['minimal_roi']}`\n"
|
f"*Minimum ROI:* `{val['minimal_roi']}`\n"
|
||||||
f"*Ask strategy:* ```\n{val['ask_strategy']}```\n"
|
f"*Ask strategy:* ```\n{val['ask_strategy']}```\n"
|
||||||
f"*Bid strategy:* ```\n{json.dumps(val['bid_strategy'])}```\n"
|
f"*Bid strategy:* ```\n{val['bid_strategy']}```\n"
|
||||||
f"{sl_info}"
|
f"{sl_info}"
|
||||||
f"*Ticker Interval:* `{val['ticker_interval']}`\n"
|
f"*Ticker Interval:* `{val['ticker_interval']}`\n"
|
||||||
f"*Strategy:* `{val['strategy']}`\n"
|
f"*Strategy:* `{val['strategy']}`\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user