/// <summary>
 /// Initializes a new instance of the <see cref="CloseTradeResponse" /> class.
 /// </summary>
 /// <param name="orderCreateTransaction">orderCreateTransaction.</param>
 /// <param name="orderFillTransaction">orderFillTransaction.</param>
 /// <param name="orderCancelTransaction">orderCancelTransaction.</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 CloseTradeResponse(MarketOrderTransaction orderCreateTransaction = default(MarketOrderTransaction), OrderFillTransaction orderFillTransaction = default(OrderFillTransaction), OrderCancelTransaction orderCancelTransaction = default(OrderCancelTransaction), int lastTransactionID = default(int), List <int> relatedTransactionIDs = default(List <int>))
 {
     this.OrderCreateTransaction = orderCreateTransaction;
     this.OrderFillTransaction   = orderFillTransaction;
     this.OrderCancelTransaction = orderCancelTransaction;
     this.LastTransactionID      = lastTransactionID;
     this.RelatedTransactionIDs  = relatedTransactionIDs;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ClosePositionResponseAllOf" /> class.
 /// </summary>
 /// <param name="longOrderCreateTransaction">longOrderCreateTransaction.</param>
 /// <param name="longOrderFillTransaction">longOrderFillTransaction.</param>
 /// <param name="longOrderCancelTransaction">longOrderCancelTransaction.</param>
 /// <param name="shortOrderCreateTransaction">shortOrderCreateTransaction.</param>
 /// <param name="shortOrderFillTransaction">shortOrderFillTransaction.</param>
 /// <param name="shortOrderCancelTransaction">shortOrderCancelTransaction.</param>
 public ClosePositionResponseAllOf(MarketOrderTransaction longOrderCreateTransaction = default(MarketOrderTransaction), OrderFillTransaction longOrderFillTransaction = default(OrderFillTransaction), OrderCancelTransaction longOrderCancelTransaction = default(OrderCancelTransaction), MarketOrderTransaction shortOrderCreateTransaction = default(MarketOrderTransaction), OrderFillTransaction shortOrderFillTransaction = default(OrderFillTransaction), OrderCancelTransaction shortOrderCancelTransaction = default(OrderCancelTransaction))
 {
     this.LongOrderCreateTransaction  = longOrderCreateTransaction;
     this.LongOrderFillTransaction    = longOrderFillTransaction;
     this.LongOrderCancelTransaction  = longOrderCancelTransaction;
     this.ShortOrderCreateTransaction = shortOrderCreateTransaction;
     this.ShortOrderFillTransaction   = shortOrderFillTransaction;
     this.ShortOrderCancelTransaction = shortOrderCancelTransaction;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ClosePositionResponse" /> class.
 /// </summary>
 /// <param name="longOrderCreateTransaction">longOrderCreateTransaction.</param>
 /// <param name="longOrderFillTransaction">longOrderFillTransaction.</param>
 /// <param name="longOrderCancelTransaction">longOrderCancelTransaction.</param>
 /// <param name="shortOrderCreateTransaction">shortOrderCreateTransaction.</param>
 /// <param name="shortOrderFillTransaction">shortOrderFillTransaction.</param>
 /// <param name="shortOrderCancelTransaction">shortOrderCancelTransaction.</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 ClosePositionResponse(MarketOrderTransaction longOrderCreateTransaction = default(MarketOrderTransaction), OrderFillTransaction longOrderFillTransaction = default(OrderFillTransaction), OrderCancelTransaction longOrderCancelTransaction = default(OrderCancelTransaction), MarketOrderTransaction shortOrderCreateTransaction = default(MarketOrderTransaction), OrderFillTransaction shortOrderFillTransaction = default(OrderFillTransaction), OrderCancelTransaction shortOrderCancelTransaction = default(OrderCancelTransaction), int lastTransactionID = default(int), List <int> relatedTransactionIDs = default(List <int>))
 {
     this.LongOrderCreateTransaction  = longOrderCreateTransaction;
     this.LongOrderFillTransaction    = longOrderFillTransaction;
     this.LongOrderCancelTransaction  = longOrderCancelTransaction;
     this.ShortOrderCreateTransaction = shortOrderCreateTransaction;
     this.ShortOrderFillTransaction   = shortOrderFillTransaction;
     this.ShortOrderCancelTransaction = shortOrderCancelTransaction;
     this.LastTransactionID           = lastTransactionID;
     this.RelatedTransactionIDs       = relatedTransactionIDs;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CloseTradeResponseAllOf" /> class.
 /// </summary>
 /// <param name="orderCreateTransaction">orderCreateTransaction.</param>
 /// <param name="orderFillTransaction">orderFillTransaction.</param>
 /// <param name="orderCancelTransaction">orderCancelTransaction.</param>
 public CloseTradeResponseAllOf(MarketOrderTransaction orderCreateTransaction = default(MarketOrderTransaction), OrderFillTransaction orderFillTransaction = default(OrderFillTransaction), OrderCancelTransaction orderCancelTransaction = default(OrderCancelTransaction))
 {
     this.OrderCreateTransaction = orderCreateTransaction;
     this.OrderFillTransaction   = orderFillTransaction;
     this.OrderCancelTransaction = orderCancelTransaction;
 }