public CoinInfoService( ExchangeBittrexAPI bittrexApi, ExchangeBinanceAPI binanceApi, ExchangeHitbtcAPI hitbtcApi, ExchangeKucoinAPI kucoinApi, ExchangeCryptopiaAPI cryptopiaApi, MinExchangeOkexAPI okexApi, MinExchangeUpbitAPI upbitApi, MinExchangeHoubiAPI huobiApi, MinExchangeGateAPI gateApi, IMemoryCache memoryCache, IOptions <SiteSettings> options, IOptions <ExchangerEnableSettings> enableOptions) { this.binanceApi = binanceApi; this.bittrexApi = bittrexApi; this.hitbtcApi = hitbtcApi; this.kucoinApi = kucoinApi; this.cryptopiaApi = cryptopiaApi; this.memoryCache = memoryCache; this.okexApi = okexApi; this.options = options; this.gateApi = gateApi; this.huobiApi = huobiApi; this.upbitApi = upbitApi; this.enableOptions = enableOptions; }
public KuCoin() { ExchangeAPI.UseDefaultMethodCachePolicy = false; _client = new ExchangeKucoinAPI(); Orderbooks = new Dictionary <string, Orderbook>(); Currencies = new Dictionary <string, CurrencyData>(); IsAuthenticated = false; TradingEnabled = true; }