public static void Main(string[] args) { var bitstamp = new BitstampClient(); bitstamp.TradeOccured += (s, t) => Console.WriteLine(t); bitstamp.ConnectAsync().Wait(); Console.ReadLine(); }
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(); }
protected CurrencyExchange(BitstampClient client, string tickerSymbol) { this.client = client; this.TickerSymbol = tickerSymbol; }