Ejemplo n.º 1
0
 public void Intialize(CommonOrderRelation commonOrderRelation)
 {
     this.OpenOrderId = commonOrderRelation.OpenOrderId;
     this.OrderId = commonOrderRelation.OrderId;
     this.ClosedLot = commonOrderRelation.ClosedLot;
     this.RelationType = commonOrderRelation.RelationType;
     this.OpenOrderPrice = commonOrderRelation.OpenOrderPrice;
 }
Ejemplo n.º 2
0
 public void Update(OrderRelation orderRelation)
 {
     if (orderRelation != null)
     {
         this.OpenOrderId = orderRelation.OpenOrderId;
         this.OrderId = orderRelation.OrderId;
         this.ClosedLot = orderRelation.ClosedLot;
         this.RelationType = orderRelation.RelationType;
         this.OpenOrderPrice = orderRelation.OpenOrderPrice;
     }
 }