freqtrade/freqtrade

View on GitHub

Showing 505 of 505 total issues

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

            def start_backtesting(
        Severity: Minor
        Found in freqtrade/freqai/freqai_interface.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 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 start_live has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

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

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

                    def build_strategy_return_arrays(
                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_sortino_daily.py - About 35 mins to fix

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

                        def _lev_prep(self, pair: str, leverage: float, side: BuySell, accept_fail: bool = False):
                    Severity: Minor
                    Found in freqtrade/exchange/exchange.py - About 35 mins to fix

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

                          def get_trades_for_order(self, order_id: str, pair: str, since: datetime,
                      Severity: Minor
                      Found in freqtrade/exchange/exchange.py - About 35 mins to fix

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

                            def get_historic_trades(self, pair: str,
                        Severity: Minor
                        Found in freqtrade/exchange/exchange.py - About 35 mins to fix

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

                              def price_to_precision(self, pair: str, price: float, *, rounding_mode: int = ROUND) -> float:
                          Severity: Minor
                          Found in freqtrade/exchange/exchange.py - About 35 mins to fix

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

                            def migrate_pairlocks_table(
                            Severity: Minor
                            Found in freqtrade/persistence/migrations.py - About 35 mins to fix

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

                                  def extract_cost_curr_rate(self, fee: Dict, symbol: str, cost: float,
                              Severity: Minor
                              Found in freqtrade/exchange/exchange.py - About 35 mins to fix

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

                                    def lock_pair(pair: str, until: datetime, reason: Optional[str] = None, *,
                                Severity: Minor
                                Found in freqtrade/persistence/pairlock_middleware.py - About 35 mins to fix

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

                                      def update_fee(self, fee_cost: float, fee_currency: Optional[str], fee_rate: Optional[float],
                                  Severity: Minor
                                  Found in freqtrade/persistence/trade_model.py - About 35 mins to fix

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

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

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

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

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

                                            def adjust_stop_loss(self, current_price: float, stoploss: Optional[float],
                                        Severity: Minor
                                        Found in freqtrade/persistence/trade_model.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language