fix indentation
This commit is contained in:
parent
5e940e964b
commit
b9e53bcaa6
@ -80,7 +80,7 @@ class TelegramHandler(object):
|
|||||||
*Close Profit:* `{close_profit}`
|
*Close Profit:* `{close_profit}`
|
||||||
*Current Profit:* `{current_profit}%`
|
*Current Profit:* `{current_profit}%`
|
||||||
*Open Order:* `{open_order}`
|
*Open Order:* `{open_order}`
|
||||||
""".format(
|
""".format(
|
||||||
trade_id=trade.id,
|
trade_id=trade.id,
|
||||||
pair=trade.pair,
|
pair=trade.pair,
|
||||||
market_url=api_wrapper.get_pair_detail_url(trade.pair),
|
market_url=api_wrapper.get_pair_detail_url(trade.pair),
|
||||||
@ -136,7 +136,7 @@ class TelegramHandler(object):
|
|||||||
*Latest Trade opened:* `{latest_trade_date}`
|
*Latest Trade opened:* `{latest_trade_date}`
|
||||||
*Avg. Duration:* `{avg_duration}`
|
*Avg. Duration:* `{avg_duration}`
|
||||||
*Best Performing:* `{best_pair}: {best_rate}%`
|
*Best Performing:* `{best_pair}: {best_rate}%`
|
||||||
""".format(
|
""".format(
|
||||||
profit_btc=round(sum(profit_amounts), 8),
|
profit_btc=round(sum(profit_amounts), 8),
|
||||||
profit=round(sum(profits), 2),
|
profit=round(sum(profits), 2),
|
||||||
trade_count=len(trades),
|
trade_count=len(trades),
|
||||||
|
Loading…
Reference in New Issue
Block a user