mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
Align help message for forcebuy
This commit is contained in:
parent
d66e6510e3
commit
b9b15e5f32
|
@ -466,6 +466,8 @@ class Telegram(RPC):
|
||||||
:param update: message update
|
:param update: message update
|
||||||
:return: None
|
:return: None
|
||||||
"""
|
"""
|
||||||
|
forcebuy_text = "*/forcebuy <pair> [<rate>]:* `Instantly buys the given pair. " \
|
||||||
|
"Optionally takes a rate at which to buy.` \n"
|
||||||
message = "*/start:* `Starts the trader`\n" \
|
message = "*/start:* `Starts the trader`\n" \
|
||||||
"*/stop:* `Stops the trader`\n" \
|
"*/stop:* `Stops the trader`\n" \
|
||||||
"*/status [table]:* `Lists all open trades`\n" \
|
"*/status [table]:* `Lists all open trades`\n" \
|
||||||
|
@ -473,6 +475,7 @@ class Telegram(RPC):
|
||||||
"*/profit:* `Lists cumulative profit from all finished trades`\n" \
|
"*/profit:* `Lists cumulative profit from all finished trades`\n" \
|
||||||
"*/forcesell <trade_id>|all:* `Instantly sells the given trade or all trades, " \
|
"*/forcesell <trade_id>|all:* `Instantly sells the given trade or all trades, " \
|
||||||
"regardless of profit`\n" \
|
"regardless of profit`\n" \
|
||||||
|
f"{forcebuy_text if self._config.get('forcebuy_enable', False) else '' }" \
|
||||||
"*/performance:* `Show performance of each finished trade grouped by pair`\n" \
|
"*/performance:* `Show performance of each finished trade grouped by pair`\n" \
|
||||||
"*/daily <n>:* `Shows profit or loss per day, over the last n days`\n" \
|
"*/daily <n>:* `Shows profit or loss per day, over the last n days`\n" \
|
||||||
"*/count:* `Show number of trades running compared to allowed number of trades`" \
|
"*/count:* `Show number of trades running compared to allowed number of trades`" \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user