Example #1
0
 public GdaxTradeClient(IGdaxConfig gdaxConfig,
                        IGdaxCurrencyMapper currencyMapper,
                        IGdaxOrderStatusMapper orderStatusMapper)
 {
     _config            = gdaxConfig.GetConfigInfo();
     _currencyMapper    = currencyMapper;
     _orderStatusMapper = orderStatusMapper;
 }
 public ExchangeConfigService(IBitstampConfig bitstampConfig, IGdaxConfig gdaxConfig, IBl3pConfig bl3pConfig)
 {
     _bitstampConfig = bitstampConfig;
     _gdaxConfig     = gdaxConfig;
     _bl3PConfig     = bl3pConfig;
     configs.Add(bitstampConfig.Name, bitstampConfig);
     configs.Add(gdaxConfig.Name, gdaxConfig);
     configs.Add(bl3pConfig.Name, bl3pConfig);
 }
 public SelfInspectionService(AppSettings appSettings,
                              IBitstampConfig bitStampConfig,
                              IGdaxConfig gdaxConfig,
                              IObservationService observationService,
                              IExchangeDataService exchangeDataService,
                              IExchangeTradeService exchangeTradeService)
 {
     _appSettings          = appSettings;
     _bitStampConfig       = bitStampConfig;
     _gdaxConfig           = gdaxConfig;
     _observationService   = observationService;
     _exchangeDataService  = exchangeDataService;
     _exchangeTradeService = exchangeTradeService;
 }