Beispiel #1
0
 public UpdateCryptoPrices(
     IFinancialAssetPriceDataService dataService,
     IGdaxClient gdaxClient,
     ILoginService loginService) : base(loginService)
 {
     this.dataService = dataService;
     this.gdaxClient  = gdaxClient;
 }
Beispiel #2
0
        static async Task DoTestApi(IGdaxClient gdax, ICoinbaseClient coinbase)
        {
            var demo = new GdaxDemo(gdax, coinbase);

            _dumper = new WebStreamDumper(gdax, ProductType.BTC_EUR, Path.GetFullPath("Dump"));

            await demo.Init();

            await demo.ShowBalance();

            await _dumper.Run();
        }
Beispiel #3
0
 public GdaxDemo(IGdaxClient gdaxClient, ICoinbaseClient coinbaseClient)
 {
     _gdaxClient     = gdaxClient;
     _coinbaseClient = coinbaseClient;
 }
Beispiel #4
0
 public WebStreamDumper(IGdaxClient gdaxClient, ProductType productType, string rootPath)
 {
     _gdaxClient  = gdaxClient;
     _productType = productType;
     _rootPath    = rootPath;
 }