Sha256: 95fcb04690031fca5c0f0185e7f1970d133bf2ebd2d152786d1bbf442774fe8d
Contents?: true
Size: 232 Bytes
Versions: 19
Compression:
Stored size: 232 Bytes
Contents
# lib/sqa/strategry/random.rb require_relative 'common' class SQA::Strategy::Random extend SQA::Strategy::Common def self.trade(vector) case rand(9) when (0..2) :buy when (3..5) :sell else :hold end end end
Version data entries
19 entries across 19 versions & 1 rubygems