22 lines
620 B
C#
22 lines
620 B
C#
using Managing.Application.Abstractions;
|
|
using Managing.Domain.Users;
|
|
using MediatR;
|
|
|
|
namespace Managing.Application.ManageBot.Commands
|
|
{
|
|
/// <summary>
|
|
/// Command to retrieve all active agents and their strategies
|
|
/// </summary>
|
|
public class GetAllAgentsCommand : IRequest<Dictionary<User, List<ITradingBot>>>
|
|
{
|
|
/// <summary>
|
|
/// Optional time filter to apply (24H, 3D, 1W, 1M, 1Y, Total)
|
|
/// </summary>
|
|
public string TimeFilter { get; }
|
|
|
|
public GetAllAgentsCommand(string timeFilter = "Total")
|
|
{
|
|
TimeFilter = timeFilter;
|
|
}
|
|
}
|
|
} |