Beispiel #1
0
 public UpdateOrderRequest(DateTime time, int orderId, UpdateOrderFields fields)
     : base(time, orderId, fields.Tag)
 {
     Quantity   = fields.Quantity;
     LimitPrice = fields.LimitPrice;
     StopPrice  = fields.StopPrice;
 }
Beispiel #2
0
 public OrderResponse Update(UpdateOrderFields fields)
 {
     _transactionManager.UpdateOrder(new UpdateOrderRequest(_transactionManager.UtcTime, SubmitRequest.OrderId, fields));
     return(_updateRequests.Last().Response);
 }