示例#1
0
 public GdaxWssApiClientTests()
 {
     _configuration = GdaxHelpers.GetGdaxConfiguration();
     _logger        = new LogToConsole();
     _api           = new GdaxWebSocketApi(_logger, _configuration.ApiKey,
                                           _configuration.ApiSecret, _configuration.PassPhrase, _configuration.WssEndpointUrl);
 }
        public GdaxRestApiClientTests()
        {
            var configuration = GdaxHelpers.GetGdaxConfiguration();

            _api = new GdaxRestApi(configuration.ApiKey, configuration.ApiSecret, configuration.PassPhrase,
                                   configuration.RestEndpointUrl, configuration.UserAgent);
        }