Remove some outdated TODO's
This commit is contained in:
parent
1951ee8e29
commit
95f69a8c3b
@ -193,14 +193,7 @@ def find_existing_backtest_stats(dirname: Union[Path, str], run_ids: Dict[str, s
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
if min_backtest_date is not None:
|
if min_backtest_date is not None:
|
||||||
try:
|
backtest_date = strategy_metadata['backtest_start_time']
|
||||||
backtest_date = strategy_metadata['backtest_start_time']
|
|
||||||
except KeyError:
|
|
||||||
# TODO: this can be removed starting from feb 2022
|
|
||||||
# The metadata-file without start_time was only available in develop
|
|
||||||
# and was never included in an official release.
|
|
||||||
# Older metadata format without backtest time, too old to consider.
|
|
||||||
return results
|
|
||||||
backtest_date = datetime.fromtimestamp(backtest_date, tz=timezone.utc)
|
backtest_date = datetime.fromtimestamp(backtest_date, tz=timezone.utc)
|
||||||
if backtest_date < min_backtest_date:
|
if backtest_date < min_backtest_date:
|
||||||
# Do not use a cached result for this strategy as first result is too old.
|
# Do not use a cached result for this strategy as first result is too old.
|
||||||
|
@ -1414,7 +1414,6 @@ class Telegram(RPCHandler):
|
|||||||
"*/start:* `Starts the trader`\n"
|
"*/start:* `Starts the trader`\n"
|
||||||
"*/stop:* Stops the trader\n"
|
"*/stop:* Stops the trader\n"
|
||||||
"*/stopbuy:* `Stops buying, but handles open trades gracefully` \n"
|
"*/stopbuy:* `Stops buying, but handles open trades gracefully` \n"
|
||||||
# TODO: forceenter forceshort forcelong missing
|
|
||||||
"*/forceexit <trade_id>|all:* `Instantly exits the given trade or all trades, "
|
"*/forceexit <trade_id>|all:* `Instantly exits the given trade or all trades, "
|
||||||
"regardless of profit`\n"
|
"regardless of profit`\n"
|
||||||
"*/fe <trade_id>|all:* `Alias to /forceexit`"
|
"*/fe <trade_id>|all:* `Alias to /forceexit`"
|
||||||
|
Loading…
Reference in New Issue
Block a user