Update account/position and platform summary
This commit is contained in:
@@ -11,16 +11,20 @@ public class PositionEntity
|
||||
|
||||
public DateTime Date { get; set; }
|
||||
|
||||
[Required] public int AccountId { get; set; }
|
||||
|
||||
[Column(TypeName = "decimal(18,8)")] public decimal ProfitAndLoss { get; set; }
|
||||
|
||||
[Column(TypeName = "decimal(18,8)")] public decimal UiFees { get; set; }
|
||||
|
||||
[Column(TypeName = "decimal(18,8)")] public decimal GasFees { get; set; }
|
||||
|
||||
public TradeDirection OriginDirection { get; set; }
|
||||
public PositionStatus Status { get; set; }
|
||||
public Ticker Ticker { get; set; }
|
||||
public PositionInitiator Initiator { get; set; }
|
||||
|
||||
[MaxLength(255)] public string SignalIdentifier { get; set; }
|
||||
|
||||
[MaxLength(255)] public string AccountName { get; set; }
|
||||
[MaxLength(255)] public string? SignalIdentifier { get; set; }
|
||||
|
||||
public int? UserId { get; set; }
|
||||
|
||||
|
||||
@@ -16,9 +16,6 @@ public class TradeEntity
|
||||
public TradeType TradeType { get; set; }
|
||||
public Ticker Ticker { get; set; }
|
||||
|
||||
[Column(TypeName = "decimal(18,8)")]
|
||||
public decimal Fee { get; set; }
|
||||
|
||||
[Column(TypeName = "decimal(18,8)")]
|
||||
public decimal Quantity { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user