diff --git a/KLHZ.Trader.Core/Exchange/Services/Trader.cs b/KLHZ.Trader.Core/Exchange/Services/Trader.cs index 1f4739c..83694f9 100644 --- a/KLHZ.Trader.Core/Exchange/Services/Trader.cs +++ b/KLHZ.Trader.Core/Exchange/Services/Trader.cs @@ -282,7 +282,7 @@ namespace KLHZ.Trader.Core.Exchange.Services { using var context = await _dbContextFactory.CreateDbContextAsync(); await context.Trades - .Where(t => t.Figi == newPrice.Figi && t.ArchiveStatus == 0) + .Where(t => t.Figi == newPrice.Figi && t.ArchiveStatus == 0 && t.Asset == DataLayer.Entities.Trades.Enums.AssetType.Future) .ExecuteUpdateAsync(t => t.SetProperty(tr => tr.Price, newPriceValue)); foreach (var account in Accounts.Values) {