Пример #1
0
 public async Task<MarketData.Ticker[]> GetAllTickers()
 {
     PreCall();
     string s = await BitxClient.GetStringAsync("tickers");
     MarketData.Ticker tmpTicker = null;
     Task<MarketData.Ticker> tmp = new Task<MarketData.Ticker>(() => { tmpTicker = JSON.JsonDeserialize<MarketData.jsonTicker>(s).ToTicker(); return tmpTicker; });
     Calls.Add(new Call("Tickers", false));
     return tmpTicker.Tickers;
 }
Пример #2
0
 public static jsonTicker ToJsonTicker(Ticker Tick)
 {
     return(jsonTicker.FromTicker(Tick));
 }