Sha256: f1cac358490b182b59930f0f89e80fd973fe83f9da287d6f4103ed55b727a0cb
Contents?: true
Size: 445 Bytes
Versions: 1
Compression:
Stored size: 445 Bytes
Contents
require 'fin/models/order' require 'fin/book_manager' module Fin # Represents list of ALL Orders, indexed by id (replId) # Its @books is a set of OrderBooks by isin. Each OrderBook lists Orders by price. class OrderList < ContainerList include BookManager def initialize super :item_type => Fin::Order @book_index = proc { |item| item.price } @book_condition = proc { |item| item.price > 0 } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fin-0.1.0 | lib/fin/order_list.rb |