Fix B6: Market concurrency lock, watchlist exclusion from cleanup, optimized trade ID deduplication query, and TradeHistoryWorker sync logic
This commit is contained in:
@@ -17,6 +17,6 @@ public interface ITradeRepository
|
||||
Task AddRangeAsync(IEnumerable<Trade> trades, CancellationToken ct = default);
|
||||
Task<decimal> GetTotalVolumeAsync(DateTime? since = null, CancellationToken ct = default);
|
||||
Task<IReadOnlyList<Trade>> GetOrphanedTradesAsync(int limit, CancellationToken ct = default);
|
||||
Task<HashSet<string>> GetKnownPlatformTradeIdsAsync(PlatformType platform, int traderId, CancellationToken ct = default);
|
||||
Task<HashSet<string>> GetKnownPlatformTradeIdsAsync(PlatformType platform, int traderId, IEnumerable<string> platformTradeIds, CancellationToken ct = default);
|
||||
Task UpdateAsync(Trade trade, CancellationToken ct = default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user