PR generalizes the type parameter bounds for the FourHeapOrderBook class. Now one can add MarketAskOrder and MarketBidOrder instances into a FourHeapOrderBook. For version 0.2.0 I think we should consider exposing the type parameter as part of the API. This would allow users to restrict the type bounds as necessary for a particular use case.
PR generalizes the type parameter bounds for the
FourHeapOrderBook
class. Now one can addMarketAskOrder
andMarketBidOrder
instances into aFourHeapOrderBook
. For version 0.2.0 I think we should consider exposing the type parameter as part of the API. This would allow users to restrict the type bounds as necessary for a particular use case.