Rename strategy to indicators

This commit is contained in:
2025-06-16 22:09:23 +07:00
parent e4f4d078b2
commit 0f7df04813
45 changed files with 477 additions and 474 deletions

View File

@@ -4,9 +4,7 @@ namespace Managing.Api.Models.Requests
{
public class CreateScenarioRequest
{
[Required]
public string Name { get; internal set; }
[Required]
public List<string> Strategies { get; internal set; }
[Required] public string Name { get; internal set; }
[Required] public List<string> Indicators { get; internal set; }
}
}
}

View File

@@ -5,12 +5,8 @@ namespace Managing.Api.Models.Requests;
public class CreateStrategyRequest
{
[Required]
public StrategyType Type { get; internal set; }
[Required]
public Timeframe Timeframe { get; internal set; }
[Required]
public string Name { get; internal set; }
[Required]
public int Period { get; internal set; }
}
[Required] public IndicatorType Type { get; internal set; }
[Required] public Timeframe Timeframe { get; internal set; }
[Required] public string Name { get; internal set; }
[Required] public int Period { get; internal set; }
}