Add ticker to the UserStrategies list and set debit credit to 1 for backtest

This commit is contained in:
2025-09-10 20:41:36 +07:00
parent 12c6aea053
commit cb6778d9a0
6 changed files with 16 additions and 9 deletions

View File

@@ -554,6 +554,7 @@ public class DataController : ControllerBase
Positions = positions,
Identifier = strategy.Identifier,
WalletBalances = new Dictionary<DateTime, decimal>(),
Ticker = strategy.Ticker
};
}

View File

@@ -71,5 +71,6 @@ namespace Managing.Api.Models.Responses
public Guid Identifier { get; set; }
public Dictionary<DateTime, decimal> WalletBalances { get; set; } = new Dictionary<DateTime, decimal>();
public Enums.Ticker Ticker { get; set; }
}
}