Showing 122 of 840 total issues
Method initialize
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(account_id, account_currency,
balance, margin_rate, &init) #:nodoc:
Method sell
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def sell(pair_name, units,
type = :market, options = {}, agent = nil) #:nodoc:
Method validate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def validate(pair_name, sell_or_buy, units, type, options)
Method create_order
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_order(pair_name, sell_or_buy, units, type, options)
Method create
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create(label, type = :line, aggregation_type = :first,
colors = [], axises = [])
Method create
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.create(name, type, created_at, memo = '', body = '')
Method create_splited_position
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_splited_position(position,
units, price, time, agent)
Method initialize_price_and_time_from_tick
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
position, tick, pair_name, sell_or_buy, account_currency)
Method initialize
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(internal_id, units,
price, timestamp, profit_or_loss) #:nodoc:
Method order
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def order(pair_name, sell_or_buy, units, type = :market, options = {})
Method compose
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def compose(to, title, from = FROM, server_setting = nil, &block)
Method calculate_ma_signals
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def calculate_ma_signals(signals, price, ma10, ma25, ma50)
Method split_and_close
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def split_and_close(position, units,
price, time, agent = nil)
Method buy
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def buy(pair_name, units,
type = :market, options = {}, agent = nil) #:nodoc:
Method resolve_price
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def resolve_price(type, pair_name, sell_or_buy, options, tick)
Method initialize
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(pair_name, internal_id,
sell_or_buy, type, last_modified) #:nodoc:
Method create_message
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create_message(description, max_profit,
max_profit_time, current_profit, last_update_time)
Method initialize
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(agents, broker, graph_factory, time_source, logger)
Method order
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def order(pair_name, sell_or_buy, units, type = :market, options = {})
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)