private void NotifyAccountStatsChanged(IMarginTradingAccount account) { var stats = account.ToRabbitMqContract(_marginSettings.IsLive); _rabbitMqNotifyService.UpdateAccountStats(new AccountStatsUpdateMessage { Accounts = new[] { stats } }); }
private void NotifyAccountStatsChanged(IMarginTradingAccount account) { var stats = account.ToRabbitMqContract(_marginSettings.IsLive); _rabbitMqNotifyService.UpdateAccountStats(new AccountStatsUpdateMessage { Accounts = new[] { stats } }); }