public async Task InitializeAsync(PROFITBEST.API.Trade tradeInstance, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Pair = await tradeInstance.GetPairAsync(Name, cancellationToken); ProfitBestCurrency cSource = new ProfitBestCurrency(Pair); Source = cSource; Target = new ProfitBestCurrency(Pair, cSource); }
public ProfitBestMarket(string sKey) { _market = new PROFITBEST.API.Trade(sKey); }
public ProfitBestMarket() { _market = new PROFITBEST.API.Trade(); }