freqtrade/freqtrade

View on GitHub

Showing 502 of 502 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/RemotePairList.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 add_profit has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        def add_profit(fig, row, data: pd.DataFrame, column: str, name: str) -> make_subplots:
        Severity: Minor
        Found in freqtrade/plot/plotting.py - About 35 mins to fix

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

              def reset_env(self, df: DataFrame, prices: DataFrame, window_size: int,
          Severity: Minor
          Found in freqtrade/freqai/RL/BaseEnvironment.py - About 35 mins to fix

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

                def set_train_and_eval_environments(self, data_dictionary: Dict[str, DataFrame],
            Severity: Minor
            Found in freqtrade/freqai/RL/BaseReinforcementLearningModel.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_sharpe_daily.py - About 35 mins to fix

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

                    def check_order_replace(self, trade: LocalTrade, order: Order, current_time,
                Severity: Minor
                Found in freqtrade/optimize/backtesting.py - About 35 mins to fix

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

                      def _try_close_open_order(
                  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 train has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          def train(
                      Severity: Minor
                      Found in freqtrade/freqai/RL/BaseReinforcementLearningModel.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

                          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 _get_close_rate_for_stoploss has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                def _get_close_rate_for_stoploss(self, row: Tuple, trade: LocalTrade, exit: ExitCheckTuple,
                            Severity: Minor
                            Found in freqtrade/optimize/backtesting.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 validate_row has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    def validate_row(
                                Severity: Minor
                                Found in freqtrade/optimize/backtesting.py - About 35 mins to fix

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

                                      def log_backtesting_progress(self, tr_train: TimeRange, pair: str,
                                  Severity: Minor
                                  Found in freqtrade/freqai/freqai_interface.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 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 store_backtest_stats has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        def store_backtest_stats(
                                        Severity: Minor
                                        Found in freqtrade/optimize/optimize_reports/bt_storage.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language