Showing 505 of 505 total issues
Function _get_close_rate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _get_close_rate(self, row: Tuple, trade: LocalTrade, exit: ExitCheckTuple,
Function validate_row
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def validate_row(
Function reset_env
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def reset_env(self, df: DataFrame, prices: DataFrame, window_size: int,
Function start_backtesting
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def start_backtesting(
Function check_order_replace
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def check_order_replace(self, trade: LocalTrade, order: Order, current_time,
Function train
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def train(self, unfiltered_df: DataFrame, pair: str,
Function start_live
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def start_live(
Function build_strategy_return_arrays
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def build_strategy_return_arrays(
Function hyperopt_loss_function
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def hyperopt_loss_function(results: DataFrame, trade_count: int,
Function _lev_prep
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _lev_prep(self, pair: str, leverage: float, side: BuySell, accept_fail: bool = False):
Function get_trades_for_order
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_trades_for_order(self, order_id: str, pair: str, since: datetime,
Function get_historic_trades
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_historic_trades(self, pair: str,
Function price_to_precision
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def price_to_precision(self, pair: str, price: float, *, rounding_mode: int = ROUND) -> float:
Function migrate_pairlocks_table
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def migrate_pairlocks_table(
Function extract_cost_curr_rate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def extract_cost_curr_rate(self, fee: Dict, symbol: str, cost: float,
Function lock_pair
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def lock_pair(pair: str, until: datetime, reason: Optional[str] = None, *,
Function update_fee
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def update_fee(self, fee_cost: float, fee_currency: Optional[str], fee_rate: Optional[float],
Function rename_futures_data
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def rename_futures_data(
Function get_funding_fees
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_funding_fees(
Function adjust_stop_loss
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def adjust_stop_loss(self, current_price: float, stoploss: Optional[float],