Sha256: 887f7f67664221ee60005ceef1975239a49f51bb8a4c3608e2dbe1dd0ea76cec
Contents?: true
Size: 656 Bytes
Versions: 2
Compression:
Stored size: 656 Bytes
Contents
module Orders # Represents single price level for OrderBook for one security # (aggregate bid or ask with aggregate volume) # // элемент "строка в стакане" # tOrderBookItem = record # id : int64; # rev : int64; # price : double; // цена # volume : double; // кол-во # buysell : longint; // покупка(1)/продажа(2) # order_book : tOrderBook; class OrderBookItem attr_accessor :isin_id, :id, :rev, :price, :volume, :buysell, :order_book def initialize opts = {} opts.each {|key, value| send "#{key}=", value} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
orders-0.0.3 | lib/orders/order_book_item.rb |
orders-0.0.2 | lib/orders/order_book_item.rb |