Exemplo n.º 1
0
 public OwnTrade(OwnTradeSource source, DateTime dateTime,
                 long tradeId, long orderId, int price, int quantity)
 {
     this.Source   = source;
     this.DateTime = dateTime;
     this.TradeId  = tradeId;
     this.OrderId  = orderId;
     this.Price    = price;
     this.Quantity = quantity;
 }
Exemplo n.º 2
0
    public OwnTradeReply(OwnTradeSource source, DateTime dateTime,
      long tradeId, long orderId, int price, int quantity)
    {
      this.Type = TraderReplyType.OwnTrade;

      this.Source = source;
      this.DateTime = dateTime;
      this.TradeId = tradeId;
      this.OrderId = orderId;
      this.Price = price;
      this.Quantity = quantity;
    }