Add new parameters

This commit is contained in:
2025-06-03 01:01:17 +07:00
parent 71bcaea76d
commit 8c2e9b59de
23 changed files with 1346 additions and 510 deletions

View File

@@ -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; }
}
}