26 lines
644 B
C#
26 lines
644 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Managing.Domain.Backtests;
|
|
|
|
/// <summary>
|
|
/// Request model for scenario configuration without user information
|
|
/// </summary>
|
|
public class ScenarioRequest
|
|
{
|
|
/// <summary>
|
|
/// The name of the scenario
|
|
/// </summary>
|
|
[Required]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// List of indicator configurations for this scenario
|
|
/// </summary>
|
|
[Required]
|
|
public List<IndicatorRequest> Indicators { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// The loopback period for the scenario
|
|
/// </summary>
|
|
public int LookbackPeriod { get; set; }
|
|
} |