Exemplo n.º 1
0
 internal OrderRelation(OrderRelationConstructParams constructParams)
     : base(BusinessRecordNames.OrderRelation, CAPACITY)
 {
     this.CloseOrder = constructParams.CloseOrder;
     _openOrder      = constructParams.OpenOrder;
     _settings       = new OrderRelationSettings(this, this.CloseOrder, constructParams);
     _accountId      = this.CloseOrder.Owner.Owner.Id;
     this.CloseOrder.AddOrderRelation(this, constructParams.OperationType);
 }
 public OrderRelation CreateOrderRelation(OrderRelationConstructParams constructParams)
 {
     return(new BinaryOption.BOOrderRelation(constructParams));
 }
 public OrderRelation CreateOrderRelation(OrderRelationConstructParams constructParams)
 {
     return(new Physical.PhysicalOrderRelation((PhysicalOrderRelationConstructParams)constructParams));
 }
 public OrderRelation CreateOrderRelation(OrderRelationConstructParams constructParams)
 {
     return(new OrderRelation(constructParams));
 }
Exemplo n.º 5
0
 internal BOOrderRelation(OrderRelationConstructParams constructParams)
     : base(constructParams)
 {
     _payBackPledge = 0m;
 }