Exemple #1
0
 public void Update()
 {
     this.Market          = client.GetGlobalDataAsync(CoinMarketCap.Enums.ConvertEnum.USD).Result;
     this.KeyPairsCapital = client.GetTickerListAsync(Global.Shared.Config.Config_MarketWatcher_vars.First().KeysPairsToLoad, CoinMarketCap.Enums.ConvertEnum.USD).Result;
     this.TopSymbol       = this.KeyPairsCapital.Select(y => y.Symbol).ToList();
     this.Jscontainer     = Newtonsoft.Json.JsonConvert.SerializeObject(this);
 }
Exemple #2
0
 public void Update()
 {
     this.Market = client.GetGlobalDataAsync(CoinMarketCap.Enums.ConvertEnum.USD).Result;
     //this.KeyPairsCapital = client.GetTickerListAsync(Global.Shared.Config.Config_MarketWatcher_vars.First().KeysPairsToLoad, CoinMarketCap.Enums.ConvertEnum.USD).Result;
     this.TopSymbol = this.KeyPairsCapital.Select(y => y.Symbol).ToList();
 }