mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
todo removal
This commit is contained in:
parent
7237aa7edb
commit
ca993c83ea
|
@ -159,7 +159,8 @@ class Edge:
|
|||
logger.info(f'Measuring data from {min_date.strftime(DATETIME_PRINT_FORMAT)} '
|
||||
f'up to {max_date.strftime(DATETIME_PRINT_FORMAT)} '
|
||||
f'({(max_date - min_date).days} days)..')
|
||||
# TODO-lev: Should edge support shorts? needs to be investigated further...
|
||||
# Should edge support shorts? needs to be investigated further
|
||||
# * (add enter_short exit_short)
|
||||
headers = ['date', 'open', 'high', 'low', 'close', 'enter_long', 'exit_long']
|
||||
|
||||
trades: list = []
|
||||
|
|
|
@ -51,7 +51,6 @@ class StoplossGuard(IProtection):
|
|||
# if pair:
|
||||
# filters.append(Trade.pair == pair)
|
||||
# trades = Trade.get_trades(filters).all()
|
||||
# TODO-lev: Liquidation price?
|
||||
|
||||
trades1 = Trade.get_trades_proxy(pair=pair, is_open=False, close_date=look_back_until)
|
||||
trades = [trade for trade in trades1 if (str(trade.sell_reason) in (
|
||||
|
|
Loading…
Reference in New Issue
Block a user