Ejemplo n.º 1
0
 internal Order(
     Price price, OrderState state, Uid market, Uid contract, Side side)
 {
     Price = price;
     State = state;
     Market = market;
     Contract = contract;
     Side = side;
 }
Ejemplo n.º 2
0
 internal void Update(OrderState updated)
 {
     _status = updated.Status;
     _quantityFilled = updated.QuantityFilled;
     _cancelReason = updated.CancelReason;
 }