added logic to differentiate sell orders with double asterisk
This commit is contained in:
@@ -169,7 +169,8 @@ class RPC:
|
||||
trades_list.append([
|
||||
trade.id,
|
||||
trade.pair + '*' if (trade.open_order_id is not None
|
||||
and trade.close_rate_requested is None) else '',
|
||||
and trade.close_rate_requested is None) else ''
|
||||
+ '**' if (trade.close_rate_requested is not None) else '',
|
||||
shorten_date(arrow.get(trade.open_date).humanize(only_distance=True)),
|
||||
profit_str
|
||||
])
|
||||
|
@@ -561,6 +561,8 @@ class Telegram(RPC):
|
||||
"*/stop:* `Stops the trader`\n" \
|
||||
"*/status [table]:* `Lists all open trades`\n" \
|
||||
" *table :* `will display trades in a table`\n" \
|
||||
" pending buy orders are marked with an asterisk (*)\n"
|
||||
" pending sell orders are marked with a double asterisk (**)\n" \
|
||||
"*/profit:* `Lists cumulative profit from all finished trades`\n" \
|
||||
"*/forcesell <trade_id>|all:* `Instantly sells the given trade or all trades, " \
|
||||
"regardless of profit`\n" \
|
||||
|
Reference in New Issue
Block a user