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