added logic to differentiate sell orders with double asterisk
This commit is contained in:
		| @@ -55,7 +55,7 @@ official commands. You can ask at any moment for help with `/help`. | ||||
| | `/reload_conf` | | Reloads the configuration file | ||||
| | `/show_config` | | Shows part of the current configuration with relevant settings to operation | ||||
| | `/status` | | Lists all open trades | ||||
| | `/status table` | | List all open trades in a table format. Pending buy orders are marked with an asterisk (*) | ||||
| | `/status table` | | List all open trades in a table format. Pending buy orders are marked with an asterisk (*) Pending sell orders are marked with a double asterisk (**) | ||||
| | `/count` | | Displays number of trades used and available | ||||
| | `/profit` | | Display a summary of your profit/loss from close trades and some stats about your performance | ||||
| | `/forcesell <trade_id>` | | Instantly sells the given trade  (Ignoring `minimum_roi`). | ||||
|   | ||||
| @@ -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