Beispiel #1
0
            public ReplyData(int id, string error)
            {
                this.Type = ReplyTypes.OrderReply;

                this.Id     = id;
                this.Error  = error;
                this.Active = 0;
                this.Filled = 0;
                this.Price  = 0;
            }
Beispiel #2
0
            public ReplyData(ReplyTypes type, int id, int active, int filled, int price)
            {
                this.Type = type;

                this.Id    = id;
                this.Error = null;

                this.Active = active;
                this.Filled = filled;

                this.Price = price;
            }
 public static string GetResponse(ReplyTypes responseType)
 {
     return(GetResponse(responseType.ToString()));
 }