unageanu/jiji2

View on GitHub
src/jiji/model/trading/brokers/back_test_broker.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Method initialize has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def initialize(backtest, start_time, end_time,
      interval_id, pairs, balance, orders, modules)
Severity: Major
Found in src/jiji/model/trading/brokers/back_test_broker.rb - About 1 hr to fix

    Method build_components has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def build_components(backtest, start_time, end_time,
          interval_id, pairs, orders, positions, modules)
    Severity: Major
    Found in src/jiji/model/trading/brokers/back_test_broker.rb - About 1 hr to fix

      Method create_securities_configuration has 8 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def create_securities_configuration(backtest,
            start_time, end_time, interval_id, pairs, orders, positions, modules)
      Severity: Major
      Found in src/jiji/model/trading/brokers/back_test_broker.rb - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status