freqtrade/freqtrade

View on GitHub

Showing 515 of 517 total issues

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

    def __init__(self, exchange, pairlistmanager,
Severity: Minor
Found in freqtrade/plugins/pairlist/ProducerPairList.py - About 35 mins to fix

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

        def __init__(self, exchange, pairlistmanager,
    Severity: Minor
    Found in freqtrade/plugins/pairlist/FullTradesFilter.py - About 35 mins to fix

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

          def __init__(self, exchange, pairlistmanager,
      Severity: Minor
      Found in freqtrade/plugins/pairlist/ShuffleFilter.py - About 35 mins to fix

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

            def __init__(self, exchange, pairlistmanager,
        Severity: Minor
        Found in freqtrade/plugins/pairlist/StaticPairList.py - About 35 mins to fix

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

              def __init__(self, exchange, pairlistmanager,
          Severity: Minor
          Found in freqtrade/plugins/pairlist/VolatilityFilter.py - About 35 mins to fix

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

            def safe_value_fallback2(dict1: dictMap, dict2: dictMap, key1: str, key2: str, default_value=None):
            Severity: Minor
            Found in freqtrade/misc.py - About 35 mins to fix

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

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

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

                def _create_and_merge_informative_pair(strategy, dataframe: DataFrame, metadata: dict,
                Severity: Minor
                Found in freqtrade/strategy/informative_decorator.py - About 35 mins to fix

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

                      def _call(self, method, apipath, params: Optional[dict] = None, data=None, files=None):
                  Severity: Minor
                  Found in ft_client/freqtrade_client/ft_rest_client.py - About 35 mins to fix

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

                        def is_pair_locked(self, pair: str, *, candle_date: Optional[datetime] = None,
                    Severity: Minor
                    Found in freqtrade/strategy/interface.py - About 35 mins to fix

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

                          def __init__(self, exchange, pairlistmanager,
                      Severity: Minor
                      Found in freqtrade/plugins/pairlist/PrecisionFilter.py - About 35 mins to fix

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

                            def __init__(self, exchange, pairlistmanager,
                        Severity: Minor
                        Found in freqtrade/plugins/pairlist/MarketCapPairList.py - About 35 mins to fix

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

                              def ignore_expired_candle(
                          Severity: Minor
                          Found in freqtrade/strategy/interface.py - About 35 mins to fix

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

                                def _get_close_rate(self, row: Tuple, trade: LocalTrade, exit: ExitCheckTuple,
                            Severity: Minor
                            Found in freqtrade/optimize/backtesting.py - About 35 mins to fix

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

                                  def _get_close_rate_for_roi(self, row: Tuple, trade: LocalTrade, exit: ExitCheckTuple,
                              Severity: Minor
                              Found in freqtrade/optimize/backtesting.py - About 35 mins to fix

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

                                def generate_pair_metrics(pairlist: List[str], stake_currency: str, starting_balance: int,
                                Severity: Minor
                                Found in freqtrade/optimize/optimize_reports/optimize_reports.py - About 35 mins to fix

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

                                      def hyperopt_loss_function(results: DataFrame, trade_count: int,
                                  Severity: Minor
                                  Found in freqtrade/optimize/hyperopt_loss/hyperopt_loss_sortino_daily.py - About 35 mins to fix

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

                                        def set_initial_historic_predictions(
                                    Severity: Minor
                                    Found in freqtrade/freqai/freqai_interface.py - About 35 mins to fix

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

                                          def train(self, unfiltered_df: DataFrame, pair: str,
                                      Severity: Minor
                                      Found in freqtrade/freqai/freqai_interface.py - About 35 mins to fix

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

                                            def hyperopt_loss_function(results: DataFrame, trade_count: int,
                                        Severity: Minor
                                        Found in freqtrade/optimize/hyperopt_loss/hyperopt_loss_max_drawdown.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language