Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            var bitstamp = new BitstampClient();
            bitstamp.TradeOccured += (s, t) => Console.WriteLine(t);

            bitstamp.ConnectAsync().Wait();
            Console.ReadLine();
        }
Ejemplo n.º 2
0
        public static void Main(string[] args) {
            var bitstamp = new BitstampClient();

            bitstamp.ConnectAsync().Wait();

            bitstamp.GetTickerObservable()
                .Subscribe(x=>Console.WriteLine(x));

            //bitstamp.GetTradesObservable()
            //    .Subscribe(x => Console.WriteLine(x));

            //bitstamp.GetOrderBookObservable()
            //    .Subscribe(x => Console.WriteLine(x));

            Console.ReadLine();
        }