sample_agents/src/trap_repeat_if_done.rb
Method initialize
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(target_pair, sell_or_buy = :buy, trap_interval_pips = 50,
trade_units = 1, profit_pips = 100, logger = nil)
Method create_mode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_mode(target_pair, sell_or_buy,
trade_units, profit_pips, logger)
unexpected token tLSHFT
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
<<~STR
- Exclude checks