Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DependentTradeOrdersBadRequestResponseAllOf" /> class.
 /// </summary>
 /// <param name="takeProfitOrderCancelRejectTransaction">takeProfitOrderCancelRejectTransaction.</param>
 /// <param name="takeProfitOrderRejectTransaction">takeProfitOrderRejectTransaction.</param>
 /// <param name="stopLossOrderCancelRejectTransaction">stopLossOrderCancelRejectTransaction.</param>
 /// <param name="stopLossOrderRejectTransaction">stopLossOrderRejectTransaction.</param>
 /// <param name="trailingStopLossOrderCancelRejectTransaction">trailingStopLossOrderCancelRejectTransaction.</param>
 /// <param name="trailingStopLossOrderRejectTransaction">trailingStopLossOrderRejectTransaction.</param>
 public DependentTradeOrdersBadRequestResponseAllOf(OrderCancelRejectTransaction takeProfitOrderCancelRejectTransaction = default(OrderCancelRejectTransaction), TakeProfitOrderRejectTransaction takeProfitOrderRejectTransaction = default(TakeProfitOrderRejectTransaction), OrderCancelRejectTransaction stopLossOrderCancelRejectTransaction = default(OrderCancelRejectTransaction), StopLossOrderRejectTransaction stopLossOrderRejectTransaction = default(StopLossOrderRejectTransaction), OrderCancelRejectTransaction trailingStopLossOrderCancelRejectTransaction = default(OrderCancelRejectTransaction), TrailingStopLossOrderRejectTransaction trailingStopLossOrderRejectTransaction = default(TrailingStopLossOrderRejectTransaction))
 {
     this.TakeProfitOrderCancelRejectTransaction       = takeProfitOrderCancelRejectTransaction;
     this.TakeProfitOrderRejectTransaction             = takeProfitOrderRejectTransaction;
     this.StopLossOrderCancelRejectTransaction         = stopLossOrderCancelRejectTransaction;
     this.StopLossOrderRejectTransaction               = stopLossOrderRejectTransaction;
     this.TrailingStopLossOrderCancelRejectTransaction = trailingStopLossOrderCancelRejectTransaction;
     this.TrailingStopLossOrderRejectTransaction       = trailingStopLossOrderRejectTransaction;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DependentTradeOrdersBadRequestResponse" /> class.
 /// </summary>
 /// <param name="takeProfitOrderCancelRejectTransaction">takeProfitOrderCancelRejectTransaction.</param>
 /// <param name="takeProfitOrderRejectTransaction">takeProfitOrderRejectTransaction.</param>
 /// <param name="stopLossOrderCancelRejectTransaction">stopLossOrderCancelRejectTransaction.</param>
 /// <param name="stopLossOrderRejectTransaction">stopLossOrderRejectTransaction.</param>
 /// <param name="trailingStopLossOrderCancelRejectTransaction">trailingStopLossOrderCancelRejectTransaction.</param>
 /// <param name="trailingStopLossOrderRejectTransaction">trailingStopLossOrderRejectTransaction.</param>
 /// <param name="errorCode">The code of the error that has occurred. This field may not be returned for some errors..</param>
 /// <param name="errorMessage">The human-readable description of the error that has occurred..</param>
 /// <param name="lastTransactionID">The ID of the most recent Transaction created for the Account.</param>
 /// <param name="relatedTransactionIDs">The IDs of all Transactions that were created while satisfying the request..</param>
 public DependentTradeOrdersBadRequestResponse(OrderCancelRejectTransaction takeProfitOrderCancelRejectTransaction = default(OrderCancelRejectTransaction), TakeProfitOrderRejectTransaction takeProfitOrderRejectTransaction = default(TakeProfitOrderRejectTransaction), OrderCancelRejectTransaction stopLossOrderCancelRejectTransaction = default(OrderCancelRejectTransaction), StopLossOrderRejectTransaction stopLossOrderRejectTransaction = default(StopLossOrderRejectTransaction), OrderCancelRejectTransaction trailingStopLossOrderCancelRejectTransaction = default(OrderCancelRejectTransaction), TrailingStopLossOrderRejectTransaction trailingStopLossOrderRejectTransaction = default(TrailingStopLossOrderRejectTransaction), string errorCode = default(string), string errorMessage = default(string), int lastTransactionID = default(int), List <int> relatedTransactionIDs = default(List <int>))
 {
     this.TakeProfitOrderCancelRejectTransaction       = takeProfitOrderCancelRejectTransaction;
     this.TakeProfitOrderRejectTransaction             = takeProfitOrderRejectTransaction;
     this.StopLossOrderCancelRejectTransaction         = stopLossOrderCancelRejectTransaction;
     this.StopLossOrderRejectTransaction               = stopLossOrderRejectTransaction;
     this.TrailingStopLossOrderCancelRejectTransaction = trailingStopLossOrderCancelRejectTransaction;
     this.TrailingStopLossOrderRejectTransaction       = trailingStopLossOrderRejectTransaction;
     this.ErrorCode             = errorCode;
     this.ErrorMessage          = errorMessage;
     this.LastTransactionID     = lastTransactionID;
     this.RelatedTransactionIDs = relatedTransactionIDs;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InlineResponse4007" /> class.
 /// </summary>
 /// <param name="TakeProfitOrderCancelRejectTransaction">TakeProfitOrderCancelRejectTransaction.</param>
 /// <param name="TakeProfitOrderRejectTransaction">TakeProfitOrderRejectTransaction.</param>
 /// <param name="StopLossOrderCancelRejectTransaction">StopLossOrderCancelRejectTransaction.</param>
 /// <param name="StopLossOrderRejectTransaction">StopLossOrderRejectTransaction.</param>
 /// <param name="TrailingStopLossOrderCancelRejectTransaction">TrailingStopLossOrderCancelRejectTransaction.</param>
 /// <param name="TrailingStopLossOrderRejectTransaction">TrailingStopLossOrderRejectTransaction.</param>
 /// <param name="LastTransactionID">The ID of the most recent Transaction created for the Account..</param>
 /// <param name="RelatedTransactionIDs">The IDs of all Transactions that were created while satisfying the request..</param>
 /// <param name="ErrorCode">The code of the error that has occurred. This field may not be returned for some errors..</param>
 /// <param name="ErrorMessage">The human-readable description of the error that has occurred..</param>
 public InlineResponse4007(OrderCancelRejectTransaction TakeProfitOrderCancelRejectTransaction = default(OrderCancelRejectTransaction), TakeProfitOrderRejectTransaction TakeProfitOrderRejectTransaction = default(TakeProfitOrderRejectTransaction), OrderCancelRejectTransaction StopLossOrderCancelRejectTransaction = default(OrderCancelRejectTransaction), StopLossOrderRejectTransaction StopLossOrderRejectTransaction = default(StopLossOrderRejectTransaction), OrderCancelRejectTransaction TrailingStopLossOrderCancelRejectTransaction = default(OrderCancelRejectTransaction), TrailingStopLossOrderRejectTransaction TrailingStopLossOrderRejectTransaction = default(TrailingStopLossOrderRejectTransaction), string LastTransactionID = default(string), List <string> RelatedTransactionIDs = default(List <string>), string ErrorCode = default(string), string ErrorMessage = default(string))
 {
     this.TakeProfitOrderCancelRejectTransaction       = TakeProfitOrderCancelRejectTransaction;
     this.TakeProfitOrderRejectTransaction             = TakeProfitOrderRejectTransaction;
     this.StopLossOrderCancelRejectTransaction         = StopLossOrderCancelRejectTransaction;
     this.StopLossOrderRejectTransaction               = StopLossOrderRejectTransaction;
     this.TrailingStopLossOrderCancelRejectTransaction = TrailingStopLossOrderCancelRejectTransaction;
     this.TrailingStopLossOrderRejectTransaction       = TrailingStopLossOrderRejectTransaction;
     this.LastTransactionID     = LastTransactionID;
     this.RelatedTransactionIDs = RelatedTransactionIDs;
     this.ErrorCode             = ErrorCode;
     this.ErrorMessage          = ErrorMessage;
 }