C# Class MemExchange.Server.Processor.OrderDispatcher

Inheritance: IOrderDispatcher
显示文件 Open project: ThomasVestergaard/MemExchange

Public Methods

Method Description
HandDuoLimitOrderUpdate ( ILimitOrder limitOrder1, double limitOrder1NewPrice, int limitOrder1NewQuantity, ILimitOrder limitOrder2, double limitOrder2NewPrice, int limitOrder2NewQuantity ) : void
HandleAddLimitOrder ( ILimitOrder limitOrder ) : void
HandleAddStopLimitOrder ( IStopLimitOrder stopLimitOrder ) : void
HandleMarketOrder ( IMarketOrder marketOrder ) : void
OrderDispatcher ( IOutgoingQueue outgoingQueue, ILogger logger, IDateService dateService, IOrderRepository orderRepository ) : System.Collections.Generic

Method Details

HandDuoLimitOrderUpdate() public method

public HandDuoLimitOrderUpdate ( ILimitOrder limitOrder1, double limitOrder1NewPrice, int limitOrder1NewQuantity, ILimitOrder limitOrder2, double limitOrder2NewPrice, int limitOrder2NewQuantity ) : void
limitOrder1 ILimitOrder
limitOrder1NewPrice double
limitOrder1NewQuantity int
limitOrder2 ILimitOrder
limitOrder2NewPrice double
limitOrder2NewQuantity int
return void

HandleAddLimitOrder() public method

public HandleAddLimitOrder ( ILimitOrder limitOrder ) : void
limitOrder ILimitOrder
return void

HandleAddStopLimitOrder() public method

public HandleAddStopLimitOrder ( IStopLimitOrder stopLimitOrder ) : void
stopLimitOrder IStopLimitOrder
return void

HandleMarketOrder() public method

public HandleMarketOrder ( IMarketOrder marketOrder ) : void
marketOrder IMarketOrder
return void

OrderDispatcher() public method

public OrderDispatcher ( IOutgoingQueue outgoingQueue, ILogger logger, IDateService dateService, IOrderRepository orderRepository ) : System.Collections.Generic
outgoingQueue IOutgoingQueue
logger ILogger
dateService IDateService
orderRepository IOrderRepository
return System.Collections.Generic