Пример #1
0
        public static async Task <string> ProcessOrderbook(string relTicker, string baseTicker)
        {
            var req = new OrderbookRequest
            {
                Rel      = relTicker,
                Base     = baseTicker,
                Method   = "orderbook",
                Userpass = "******"
            };

            return(await ProcessRequest(req.ToJson()));
        }
 public static string ToJson(this OrderbookRequest self) =>
 JsonConvert.SerializeObject(self, Converter.Settings);