public void Dispose()
 {
     _dataService.Stop();
     if (_currenciesSubscription != null)
     {
         _currenciesSubscription.Dispose();
     }
     if (_fxRatesSubscription != null)
     {
         _fxRatesSubscription.Dispose();
     }
     foreach (var fxRate in FxRates)
     {
         fxRate.Dispose();
     }
 }
 protected override void DisposeCore()
 {
     base.DisposeCore();
     _dataService.Stop();
 }