cater for case where sell limit order expired
This commit is contained in:
parent
42df65d4ec
commit
df726a54f8
@ -448,7 +448,8 @@ class Telegram(RPCHandler):
|
|||||||
"*Current Pair:* {pair}",
|
"*Current Pair:* {pair}",
|
||||||
"*Amount:* `{amount} ({stake_amount} {base_currency})`",
|
"*Amount:* `{amount} ({stake_amount} {base_currency})`",
|
||||||
"*Entry Tag:* `{buy_tag}`" if r['buy_tag'] else "",
|
"*Entry Tag:* `{buy_tag}`" if r['buy_tag'] else "",
|
||||||
"*Exit Reason:* `{sell_reason}`" if r['sell_reason'] else "",
|
"*Exit Reason:* `{sell_reason}`"
|
||||||
|
if (r['sell_reason'] and not r['is_open']) else "",
|
||||||
]
|
]
|
||||||
|
|
||||||
if position_adjust:
|
if position_adjust:
|
||||||
|
Loading…
Reference in New Issue
Block a user