Enhance UI, add AI integration, improve logging and database stats
This commit is contained in:
@@ -22,5 +22,8 @@ public interface ITraderRepository
|
||||
/// <summary>Get traders that haven't been polled in a long time or have a prolonged API error for cleanup.</summary>
|
||||
Task<IReadOnlyList<Trader>> GetTradersForCleanupAsync(DateTime inactiveSince, DateTime errorSince, int take = 50, CancellationToken ct = default);
|
||||
|
||||
/// <summary>Get traders ordered by LastPolledAt to ensure round-robin polling of all traders.</summary>
|
||||
Task<IReadOnlyList<Trader>> GetTradersForPollingAsync(int take, CancellationToken ct = default);
|
||||
|
||||
Task<IReadOnlyList<Trader>> SearchAsync(string query, int take = 20, CancellationToken ct = default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user