Update the position count and initiator

This commit is contained in:
2025-08-15 08:47:48 +07:00
parent 7528405845
commit b4a4656b3b
21 changed files with 1617 additions and 42 deletions

View File

@@ -23,6 +23,11 @@ public class PositionEntity
[MaxLength(255)] public string AccountName { get; set; }
public int? UserId { get; set; }
/// <summary>
/// Identifier of the bot or entity that initiated this position
/// </summary>
[Required] public Guid InitiatorIdentifier { get; set; }
// Foreign keys to trades
public int? OpenTradeId { get; set; }