Skip to content

Commit

Permalink
Update some more TODO-lev's
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Dec 31, 2021
1 parent 9a220f6 commit c06496e
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion freqtrade/commands/hyperopt_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,3 @@ def start_hyperopt_show(args: Dict[str, Any]) -> None:

HyperoptTools.show_epoch_details(val, total_epochs, print_json, no_header,
header_str="Epoch details")
# TODO-lev: Hyperopt optimal leverage
1 change: 0 additions & 1 deletion freqtrade/freqtradebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def __init__(self, config: Dict[str, Any]) -> None:
# so anything in the Freqtradebot instance should be ready (initialized), including
# the initial state of the bot.
# Keep this at the end of this initialization method.
# TODO-lev: Do I need to consider the rpc, pairlists or dataprovider?
self.rpc: RPCManager = RPCManager(self)

self.pairlists = PairListManager(self.exchange, self.config)
Expand Down
1 change: 0 additions & 1 deletion freqtrade/plugins/pairlistmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ def verify_whitelist(self, pairlist: List[str], logmethod,
:return: pairlist - whitelisted pairs
"""
try:
# TODO-lev: filter for pairlists that are able to trade at the desired leverage
whitelist = expand_pairlist(pairlist, self._exchange.get_markets().keys(), keep_invalid)
except ValueError as err:
logger.error(f"Pair whitelist contains an invalid Wildcard: {err}")
Expand Down
1 change: 0 additions & 1 deletion freqtrade/plugins/protections/stoploss_guard.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def short_desc(self) -> str:
def _reason(self) -> str:
"""
LockReason to use
# TODO-lev: check if min is the right word for shorts
"""
return (f'{self._trade_limit} stoplosses in {self._lookback_period} min, '
f'locking for {self._stop_duration} min.')
Expand Down
1 change: 0 additions & 1 deletion freqtrade/rpc/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ class RPCException(Exception):
raise RPCException('*Status:* `no active trade`')
"""
# TODO-lev: Add new configuration options introduced with leveraged/short trading

def __init__(self, message: str) -> None:
super().__init__(self)
Expand Down
1 change: 0 additions & 1 deletion freqtrade/rpc/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,6 @@ def _help(self, update: Update, context: CallbackContext) -> None:
" *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"
# TODO-lev: Update commands and help (?)
"*/buys <pair|none>:* `Shows the enter_tag performance`\n"
"*/sells <pair|none>:* `Shows the sell reason performance`\n"
"*/mix_tags <pair|none>:* `Shows combined buy tag + sell reason performance`\n"
Expand Down

0 comments on commit c06496e

Please sign in to comment.