public UpdateCryptoPrices( IFinancialAssetPriceDataService dataService, IGdaxClient gdaxClient, ILoginService loginService) : base(loginService) { this.dataService = dataService; this.gdaxClient = gdaxClient; }
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(); }
public GdaxDemo(IGdaxClient gdaxClient, ICoinbaseClient coinbaseClient) { _gdaxClient = gdaxClient; _coinbaseClient = coinbaseClient; }
public WebStreamDumper(IGdaxClient gdaxClient, ProductType productType, string rootPath) { _gdaxClient = gdaxClient; _productType = productType; _rootPath = rootPath; }