Class: SQA::Strategy::MR

Inherits:
Object
  • Object
show all
Extended by:
Common
Defined in:
lib/sqa/strategy/mr.rb

Class Method Summary collapse

Methods included from Common

desc, trade_against

Class Method Details

.trade(vector) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/sqa/strategy/mr.rb', line 8

def self.trade(vector)
	if vector.mr
		:sell
	else
		:hold
	end
end