src/jiji/model/trading/trading_summaries/trading_summary.rb
File trading_summary.rb
has 253 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'encase'
module Jiji::Model::Trading::TradingSummaries
class CompositeSummary
def initialize(name = nil)
unexpected token error
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
agent_id = (position.agent&.id) || ''
- Exclude checks
unexpected token error
(Using Ruby 2.1 parser; configure using TargetRubyVersion
parameter, under AllCops
) Open
Open
agent_name = (position.agent&.name) || ''
- Exclude checks