Add netpnl and initialBalance to backtests
This commit is contained in:
@@ -189,6 +189,9 @@ namespace Managing.Infrastructure.Databases.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<decimal>("InitialBalance")
|
||||
.HasColumnType("decimal(18,8)");
|
||||
|
||||
b.Property<decimal>("MaxDrawdown")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("decimal(18,8)")
|
||||
@@ -211,6 +214,9 @@ namespace Managing.Infrastructure.Databases.Migrations
|
||||
.HasMaxLength(255)
|
||||
.HasColumnType("character varying(255)");
|
||||
|
||||
b.Property<decimal>("NetPnl")
|
||||
.HasColumnType("decimal(18,8)");
|
||||
|
||||
b.Property<string>("PositionsJson")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
Reference in New Issue
Block a user