class Orderbook::Model
- Orderbook::Model
- Reference
- Object
Included Modules
- EventHandler
Defined in:
orderbook/model.crConstructors
Instance Method Summary
- #add_order(order : LimitOrder)
- #apply(tick : Tick)
- #asks : Hash(BigDecimal, BigDecimal)
- #bids : Hash(BigDecimal, BigDecimal)
Constructor Detail
def self.new(bids : Orders = {} of BigDecimal => BigDecimal, asks : Orders = {} of BigDecimal => BigDecimal, orders : Array(LimitOrder) = [] of LimitOrder)
#