Пример #1
0
 /// <summary>
 /// Every 60 seconds the number of calls can not be more than 120 times.
 /// </summary>
 public AEXExchange(
     ExchangeMonitor exchangeMonitor)
     : base(exchangeMonitor, ExchangeName.AEX, 120, "https://api.aex.com")
 {
     client = new RestClient("https://www.aex.com");
     exchangeMonitor.AddAlias("BitcoinGod", "Bitcoin God");
     exchangeMonitor.AddAlias("Tether USD", "Tether");
     exchangeMonitor.AddAlias("CanYa", "CanYaCoin");
     exchangeMonitor.AddAlias("New Economy Movement", "NEM");
     exchangeMonitor.AddAlias("Lightning Bitcoin", "Lightning Bitcoin [Futures]");
     exchangeMonitor.AddAlias("UnitedBitcoin", "United Bitcoin");
 }
Пример #2
0
 public GDaxExchange(
     ExchangeMonitor exchangeMonitor)
     : base(exchangeMonitor, ExchangeName.GDax, 3 * 60, "https://api.gdax.com")
 {
     exchangeMonitor.AddAlias("Ether", "Ethereum");
 }