freqtrade/freqtrade

View on GitHub

Showing 501 of 503 total issues

Function create_stoploss has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def create_stoploss(
Severity: Major
Found in freqtrade/exchange/exchange.py - About 50 mins to fix

    Function get_historic_ohlcv has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def get_historic_ohlcv(
    Severity: Major
    Found in freqtrade/exchange/exchange.py - About 50 mins to fix

      Function get_rate has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def get_rate(
      Severity: Major
      Found in freqtrade/exchange/exchange.py - About 50 mins to fix

        Function _process_ohlcv_df has 7 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def _process_ohlcv_df(
        Severity: Major
        Found in freqtrade/exchange/exchange.py - About 50 mins to fix

          Function _print_table has 7 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          def _print_table(
          Severity: Major
          Found in freqtrade/data/entryexitanalysis.py - About 50 mins to fix

            Function _get_rate_from_ob has 7 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def _get_rate_from_ob(
            Severity: Major
            Found in freqtrade/exchange/exchange.py - About 50 mins to fix

              Function get_markets has 7 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  def get_markets(
              Severity: Major
              Found in freqtrade/exchange/exchange.py - About 50 mins to fix

                Function calculate_funding_fees has 7 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    def calculate_funding_fees(
                Severity: Major
                Found in freqtrade/exchange/exchange.py - About 50 mins to fix

                  Function _download_trades_history has 7 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  def _download_trades_history(
                  Severity: Major
                  Found in freqtrade/data/history/history_utils.py - About 50 mins to fix

                    Function get_fee has 7 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        def get_fee(
                    Severity: Major
                    Found in freqtrade/exchange/exchange.py - About 50 mins to fix

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

                          def __init__(
                      Severity: Minor
                      Found in freqtrade/strategy/parameters.py - About 45 mins to fix

                        Function check_buy_timeout has 6 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

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

                          Avoid deeply nested control flow statements.
                          Open

                                                  if value is None:
                                                      continue
                                                  elif not isinstance(value, ast_comments.AST):
                                                      new_values.extend(value)
                                                      continue
                          Severity: Major
                          Found in freqtrade/strategy/strategyupdater.py - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                    if not isnan(current_rate):
                                                        prof = trade.calculate_profit(current_rate)
                                                        current_profit = prof.profit_ratio
                                                        current_profit_abs = prof.profit_abs
                                                        total_profit_abs = prof.total_profit
                            Severity: Major
                            Found in freqtrade/rpc/rpc.py - About 45 mins to fix

                              Function check_entry_timeout has 6 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

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

                                Avoid deeply nested control flow statements.
                                Open

                                                        if len(reason_cust) > CUSTOM_TAG_MAX_LENGTH:
                                                            logger.warning(
                                                                f"Custom exit reason returned from "
                                                                f"custom_exit is too long and was trimmed"
                                                                f"to {CUSTOM_TAG_MAX_LENGTH} characters."
                                Severity: Major
                                Found in freqtrade/strategy/interface.py - About 45 mins to fix

                                  Function merge_features has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      def merge_features(
                                  Severity: Minor
                                  Found in freqtrade/freqai/data_kitchen.py - About 45 mins to fix

                                    Function generate_profit_graph has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    def generate_profit_graph(
                                    Severity: Minor
                                    Found in freqtrade/plot/plotting.py - About 45 mins to fix

                                      Function informative has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                      def informative(
                                      Severity: Minor
                                      Found in freqtrade/strategy/informative_decorator.py - About 45 mins to fix

                                        Function check_exit_timeout has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            def check_exit_timeout(
                                        Severity: Minor
                                        Found in freqtrade/strategy/interface.py - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language