Moves orderflow logic to it's own file

This commit is contained in:
Joe Schr
2024-02-12 13:20:52 +01:00
parent 64e9784d1f
commit bff93e31c8
4 changed files with 285 additions and 271 deletions

View File

@@ -25,7 +25,7 @@ from freqtrade.constants import (DEFAULT_AMOUNT_RESERVE_PERCENT, DEFAULT_TRADES_
ExchangeConfig, ListPairsWithTimeframes, MakerTaker, OBLiteral,
PairWithTimeframe)
from freqtrade.data.converter import clean_ohlcv_dataframe, ohlcv_to_dataframe, trades_dict_to_list
from freqtrade.data.converter.converter import _calculate_ohlcv_candle_start_and_end
from freqtrade.data.converter.orderflow import _calculate_ohlcv_candle_start_and_end
from freqtrade.data.converter.trade_converter import trades_df_remove_duplicates, trades_list_to_df
from freqtrade.enums import OPTIMIZE_MODES, CandleType, MarginMode, PriceType, RunMode, TradingMode
from freqtrade.exceptions import (DDosProtection, ExchangeError, InsufficientFundsError,