public XbtceProvider() { ApiProvider = new RestApiClientProvider <IXbtceApi>(XbtceApiUrl, this, (k) => new XbtceAuthenticator(k).GetRequestModifierAsync) { DecompressionMethods = DecompressionMethods.GZip | DecompressionMethods.Deflate }; }
public KrakenProvider() { ApiProvider = new RestApiClientProvider <IKrakenApi>(KrakenApiUrl, this, k => new KrakenAuthenticator(k).GetRequestModifierAsync) { JsonSerializerSettings = CreateJsonSerializerSettings() }; }
public WexProvider() { ApiProviderPublic = new RestApiClientProvider <IWexApi>(WexApiUrlPublic, this, (k) => null); ApiProviderPrivate = new RestApiClientProvider <IWexApi>(WexApiUrlPrivate, this, (k) => new WexAuthenticator(k).GetRequestModifierAsync); // Add new methods that support exchange. ApiMethodsConfig.Add(ApiMethodNamesTiLiWe.WithdrawCoin, "WithdrawCoin"); ApiMethodsConfig.Add(ApiMethodNamesTiLiWe.GetInfo, "getInfo"); // Update existing common methods that support exchange. ApiMethodsConfig[ApiMethodNamesTiLiWe.OrderInfo] = "OrderInfo"; }
public BitKonanProvider() { ApiProvider = new RestApiClientProvider <IBitKonanApi>(BitKonanApiUrl, this, (k) => null); if (_assetPairBtcUsd == null) { _assetPairBtcUsd = new AssetPair("BTC", "USD", this); } if (_assetPairLtcUsd == null) { _assetPairLtcUsd = new AssetPair("LTC", "USD", this); } }
public Bit2CProvider() { ApiProvider = new RestApiClientProvider <IBit2CApi>(Bit2CApiUrl, this, (k) => null); }
public BinanceProvider() { ApiProvider = new RestApiClientProvider <IBinanceApi>(BinanceApiUrl, this, k => new BinanceAuthenticator(k).GetRequestModifierAsync); }
public YobitProvider() { Encoding.RegisterProvider(new YobitEncodingProvider()); ApiProvider = new RestApiClientProvider <IYobitApi>(YobitApiUrl, this, (k) => null); ApiProviderPrivate = new RestApiClientProvider <IYobitApi>(YobitApiPrivateUrl, this, (k) => new YobitAuthenticator(k).GetRequestModifierAsync); }
public GdaxProvider() { ApiProvider = new RestApiClientProvider <IGdaxApi>(GdaxApiUrl, this, k => null); }
public OkexProvider() { ApiProvider = new RestApiClientProvider <IOkexApi>(OkexApiUrl, this, (k) => null); }
public CoinCornerProvider() { ApiProvider = new RestApiClientProvider <ICoinCornerApi>(CoinCornerApiUrl, this, (k) => null); }
public AcxProvider() { ApiProvider = new RestApiClientProvider <IAcxApi>(AcxApiUrl, this, (k) => null); }
public CoinCornerProvider() { ApiProvider = new RestApiClientProvider <ICoinCornerApi>(CoinCornerApiUrl, this, (k) => new CoinCornerAuthenticator(k).GetRequestModifierAsync); }
public BrightonPeakProvider() { ApiProvider = new RestApiClientProvider <IBrightonPeakApi>(BrightonPeakApiUrl, this, (k) => null); }
public CoinroomProvider() { ApiProvider = new RestApiClientProvider <ICoinroomApi>(CoinroomApiUrl, this, (k) => null); }
public GatecoinProvider() { ApiProvider = new RestApiClientProvider <IGatecoinApi>(GatecoinApiUrl, this, (k) => null); }
public BtcxIndiaProvider() { ApiProvider = new RestApiClientProvider <IBtcxIndiaApi>(BtcxIndiaApiUrl, this, (k) => null); }
public CoinsecureProvider() { ApiProvider = new RestApiClientProvider <ICoinsecureApi>(CoinsecureApiUrl, this, (k) => null); }
public DsxProvider() { ApiProviderPublic = new RestApiClientProvider <IDsxApi>(DsxApiPublicUrl, this, (k) => null); ApiProviderPrivate = new RestApiClientProvider <IDsxApi>(DsxApiPrivateUrl, this, (k) => new DsxAuthenticator(k).GetRequestModifierAsync); }
public PaymiumProvider() { ApiProvider = new RestApiClientProvider <IPaymiumApi>(PaymiumApiUrl, this, (k) => null); }
public BtcMarketsProvider() { ApiProvider = new RestApiClientProvider <IBtcMarketsApi>(BtcMarketsApiUrl, this, (k) => null); }
public TuxExchangeProvider() { ApiProvider = new RestApiClientProvider <ITuxExchangeApi>(TuxExchangeApiUrl, this, (k) => null); }
public CryptopiaProvider() { ApiProvider = new RestApiClientProvider <ICryptopiaApi>(CryptopiaApiUrl, this, (k) => null); }
public BlinkTradeProvider() { ApiPublicProvider = new RestApiClientProvider <IBlinkTradeApi>(BlinkPublicApiUrl, this, (k) => null); ApiPrivateProvider = new RestApiClientProvider <IBlinkTradeApi>(BlinkTradePrivateApiUrl, this, (k) => new BlinkTradeAuthenticator(k).GetRequestModifierAsync); }
public CoinbaseProvider() { ApiProvider = new RestApiClientProvider <ICoinbaseApi>(CoinbaseApiUrl, this, k => new CoinbaseAuthenticator(k).GetRequestModifierAsync); GdaxApiProvider = new RestApiClientProvider <IGdaxApi>(GdaxApiUrl); }
public CexProvider() { ApiProvider = new RestApiClientProvider <ICexApi>(CexApiUrl, this, k => null); }
public PoloniexProvider() { ApiProvider = new RestApiClientProvider <IPoloniexApi>(PoloniexApiUrl, this, k => new PoloniexAuthenticator(k).GetRequestModifierAsync); }
public ItBitProvider() { ApiProvider = new RestApiClientProvider <IItBitApi>(ItBitApiUrl, this, k => null); }
public BlinkTradeProvider() { ApiProvider = new RestApiClientProvider <IBlinkTradeApi>(BlinkTradeApiUrl, this, (k) => null); }
public BitcoinIndonesiaProvider() { ApiProvider = new RestApiClientProvider <IBitcoinIndonesiaApi>(BitcoinIndonesiaApiUrl, this, (k) => null); }
public KunaProvider() { ApiProvider = new RestApiClientProvider <IKunaApi>(KunaApiUrl, this, (k) => new KunaAuthenticator(k).GetRequestModifierAsync); }