mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
edited todos
This commit is contained in:
parent
fc2d3649a1
commit
19783e0d39
|
@ -160,6 +160,7 @@ def start_list_data(args: Dict[str, Any]) -> None:
|
|||
from freqtrade.data.history.idatahandler import get_datahandler
|
||||
dhc = get_datahandler(config['datadir'], config['dataformat_ohlcv'])
|
||||
|
||||
# TODO-lev: trading-mode should be parsed at config level, and available as Enum in the config.
|
||||
paircombs = dhc.ohlcv_get_available_data(config['datadir'], config.get('trading_mode', 'spot'))
|
||||
|
||||
if args['pairs']:
|
||||
|
|
|
@ -1528,7 +1528,6 @@ class Exchange:
|
|||
:return: Dict of [{(pair, timeframe): Dataframe}]
|
||||
"""
|
||||
logger.debug("Refreshing candle (OHLCV) data for %d pairs", len(pair_list))
|
||||
# TODO: maybe depend this on candle type?
|
||||
drop_incomplete = self._ohlcv_partial_candle if drop_incomplete is None else drop_incomplete
|
||||
input_coroutines = []
|
||||
cached_pairs = []
|
||||
|
|
|
@ -1049,7 +1049,7 @@ class FreqtradeBot(LoggingMixin):
|
|||
Check if trade is fulfilled in which case the stoploss
|
||||
on exchange should be added immediately if stoploss on exchange
|
||||
is enabled.
|
||||
# TODO: liquidation price always on exchange, even without stoploss_on_exchange
|
||||
# TODO-lev: liquidation price always on exchange, even without stoploss_on_exchange
|
||||
"""
|
||||
|
||||
logger.debug('Handling stoploss on exchange %s ...', trade)
|
||||
|
|
|
@ -536,7 +536,6 @@ class Backtesting:
|
|||
sell_candle_time: datetime = sell_row[DATE_IDX].to_pydatetime()
|
||||
|
||||
if self.trading_mode == TradingMode.FUTURES:
|
||||
# TODO: liquidation price?
|
||||
trade.funding_fees = self.exchange.calculate_funding_fees(
|
||||
self.futures_data[trade.pair],
|
||||
amount=trade.amount,
|
||||
|
|
Loading…
Reference in New Issue
Block a user