Rename strategy to indicators
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user