Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            string apiKey    = ConfigurationManager.AppSettings["ApiKey"];
            string secretKey = ConfigurationManager.AppSettings["SecretKey"];

            DateTime start = DateTime.Now.AddDays(-150);
            DateTime end   = start.AddMinutes(10);

            BitfinexMethod bm = new BitfinexMethod(null, null);
            var            r  = bm.GetSymbols().Result;

            Console.ReadKey();
        }
Ejemplo n.º 2
0
        //获取symbols
        public async Task <string> GetSymbols()
        {
            var result = await Bitfinex.GetSymbols();

            return(JsonConvert.SerializeObject(result));
        }