예제 #1
0
        public clsApiTicker(string aStrJson)
        {
            try
            {
                clsApiTicker vObjTicker = JsonConvert.DeserializeObject <clsApiTicker>(aStrJson);

                this.ticker = vObjTicker.ticker;
            }
            catch
            {
                throw;
            }
        }
예제 #2
0
 public clsApiTicker()
 {
     this.ticker      = new clsApiTicker_data();
     this.ticker.buy  = 0;
     this.ticker.sell = 0;
 }