unageanu/jiji2

View on GitHub
sample_agents/spec/utils/agent_runner.rb

Summary

Maintainability
A
35 mins
Test Coverage

Method start_backtest has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def start_backtest(agent_setting,
      start_time = Time.new(2015, 12, 8, 0, 0, 0),
      end_time = Time.new(2015, 12, 9, 0, 0, 0),
      tick_interval_id = :fifteen_seconds,
      pair_names = %i[USDJPY EURUSD])
Severity: Minor
Found in sample_agents/spec/utils/agent_runner.rb - About 35 mins to fix

    unexpected token error (Using Ruby 2.1 parser; configure using TargetRubyVersion parameter, under AllCops)
    Open

          @backtest_repository&.stop

    There are no issues that match your filters.

    Category
    Status