예제 #1
0
 public OrderbookStatus(decimal bestBid, decimal bestAsk, decimal resultingBestBid, decimal resultingBestAsk,
                        int bidsDepth, int asksDepth, int resultingsBidsDepth, int resultingsAsksDepth, DateTime?lastUpdateTime,
                        OrderbookStatusEnum status)
 {
     BestBid             = bestBid;
     BestAsk             = bestAsk;
     ResultingBestBid    = resultingBestBid;
     ResultingBestAsk    = resultingBestAsk;
     BidsDepth           = bidsDepth;
     AsksDepth           = asksDepth;
     ResultingsBidsDepth = resultingsBidsDepth;
     ResultingsAsksDepth = resultingsAsksDepth;
     LastUpdateTime      = lastUpdateTime;
     Status = status;
 }
예제 #2
0
 public OrderbookStatus(OrderbookStatus orig, OrderbookStatusEnum status)
     : this(orig.BestBid, orig.BestAsk, orig.ResultingBestBid, orig.ResultingBestAsk,
            orig.BidsDepth, orig.AsksDepth, orig.ResultingsBidsDepth, orig.ResultingsAsksDepth, orig.LastUpdateTime,
            status)
 {
 }