Add new parameters
This commit is contained in:
@@ -25,5 +25,16 @@ namespace Managing.Api.Models.Responses
|
||||
[Required] public MoneyManagement MoneyManagement { get; internal set; }
|
||||
[Required] public string Identifier { get; set; }
|
||||
[Required] public string AgentName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Maximum time in hours that a position can remain open before being automatically closed.
|
||||
/// If null, time-based position closure is disabled.
|
||||
/// </summary>
|
||||
[Required] public decimal? MaxPositionTimeHours { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// If true, positions will only be flipped when the current position is in profit.
|
||||
/// </summary>
|
||||
[Required] public bool FlipOnlyWhenInProfit { get; internal set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user