freqtrade/freqtrade

View on GitHub

Showing 505 of 505 total issues

Function get_trades_proxy has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def get_trades_proxy(*, pair: Optional[str] = None, is_open: Optional[bool] = None,
Severity: Minor
Found in freqtrade/persistence/trade_model.py - About 35 mins to fix

    Function _calc_drawdown_series has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def _calc_drawdown_series(profit_results: pd.DataFrame, *, date_col: str, value_col: str,
    Severity: Minor
    Found in freqtrade/data/metrics.py - About 35 mins to fix

      Function calculate_underwater has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def calculate_underwater(trades: pd.DataFrame, *, date_col: str = 'close_date',
      Severity: Minor
      Found in freqtrade/data/metrics.py - About 35 mins to fix

        Function validate_backtest_data has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        def validate_backtest_data(data: DataFrame, pair: str, min_date: datetime,
        Severity: Minor
        Found in freqtrade/data/history/history_utils.py - About 35 mins to fix

          Function get_trades_proxy has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def get_trades_proxy(*, pair: Optional[str] = None, is_open: Optional[bool] = None,
          Severity: Minor
          Found in freqtrade/persistence/trade_model.py - About 35 mins to fix

            Function _pair_data_filename has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def _pair_data_filename(
            Severity: Minor
            Found in freqtrade/data/history/datahandlers/idatahandler.py - About 35 mins to fix

              Function calculate_fee_rate has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  def calculate_fee_rate(
              Severity: Minor
              Found in freqtrade/exchange/exchange.py - About 35 mins to fix

                Function set_margin_mode has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    def set_margin_mode(self, pair: str, margin_mode: MarginMode, accept_fail: bool = False,
                Severity: Minor
                Found in freqtrade/exchange/exchange.py - About 35 mins to fix

                  Function prepare_results has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  def prepare_results(analysed_trades, stratname,
                  Severity: Minor
                  Found in freqtrade/data/entryexitanalysis.py - About 35 mins to fix

                    Function load_trades has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    def load_trades(source: str, db_url: str, exportfilename: Path,
                    Severity: Minor
                    Found in freqtrade/data/btanalysis.py - About 35 mins to fix

                      Function load_pairlist has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          def load_pairlist(pairlist_name: str, exchange, pairlistmanager,
                      Severity: Minor
                      Found in freqtrade/resolvers/pairlist_resolver.py - About 35 mins to fix

                        Function trim_dataframe has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        def trim_dataframe(df: DataFrame, timerange, *, df_date_col: str = 'date',
                        Severity: Minor
                        Found in freqtrade/data/converter/converter.py - About 35 mins to fix

                          Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              def __init__(self, config: Config, *, exchange_config: Optional[ExchangeConfig] = None,
                          Severity: Minor
                          Found in freqtrade/exchange/exchange.py - About 35 mins to fix

                            Function _search_all_objects has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                def _search_all_objects(
                            Severity: Minor
                            Found in freqtrade/resolvers/iresolver.py - About 35 mins to fix

                              Function _get_rate_from_ticker has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  def _get_rate_from_ticker(self, side: EntryExit, ticker: Ticker, conf_strategy: Dict[str, Any],
                              Severity: Minor
                              Found in freqtrade/exchange/exchange.py - About 35 mins to fix

                                Function ohlcv has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    def ohlcv(
                                Severity: Minor
                                Found in freqtrade/data/dataprovider.py - About 35 mins to fix

                                  Function get_min_pair_stake_amount has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      def get_min_pair_stake_amount(
                                  Severity: Minor
                                  Found in freqtrade/exchange/exchange.py - About 35 mins to fix

                                    Function _load_object has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        def _load_object(cls, paths: List[Path], *, object_name: str, add_source: bool = False,
                                    Severity: Minor
                                    Found in freqtrade/resolvers/iresolver.py - About 35 mins to fix

                                      Function check_conflicting_settings has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                      def check_conflicting_settings(config: Config,
                                      Severity: Minor
                                      Found in freqtrade/configuration/deprecated_settings.py - About 35 mins to fix

                                        Function _get_params has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            def _get_params(
                                        Severity: Minor
                                        Found in freqtrade/exchange/kraken.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language