public void Initialise(ExchangeContext context) { this.apiKey = context.ApiKey; this.secret = context.Secret; this.quoteCurrency = context.QuoteCurrency; this.simulate = context.Simulate; this.apiCall = new ApiCall(this.simulate); }
public void Initialise(ExchangeContext context) { _apiKey = context.ApiKey; _secret = context.Secret; _quoteCurrency = context.QuoteCurrency; _simulate = context.Simulate; _apiCall = new ApiCall(_simulate); }