class

Orderbook::Model

Inherits EventHandler < Reference < Object

Constructors

new(bids : Orders = {} of BigDecimal => BigDecimal, asks : Orders = {} of BigDecimal => BigDecimal, orders : Array(LimitOrder) = [] of LimitOrder)
Source

Instance methods

add_order(order : LimitOrder)
Source
apply(tick : Tick)
Source
asks
Source
bids
Source