/// <summary> /// Creates an instance of the <see cref="TransactionStreamSession"/> class /// </summary> public TransactionStreamSession(OandaRestApiV20 api) { _api = api; }
/// <summary> /// Creates an instance of the <see cref="PricingStreamSession"/> class /// </summary> /// <param name="api">The Rest API instance</param> /// <param name="instruments">The list of instruments</param> public PricingStreamSession(OandaRestApiV20 api, List <string> instruments) { _api = api; _instruments = instruments; }