Fix price impact

This commit is contained in:
2025-05-28 01:04:58 +07:00
parent f743436634
commit 4e49f03199
6 changed files with 45 additions and 31 deletions

View File

@@ -429,7 +429,7 @@ public class DataController : ControllerBase
return new UserStrategyDetailsViewModel
{
Name = strategy.Name,
StrategyName = strategy.Config.ScenarioName,
ScenarioName = strategy.Config.ScenarioName,
State = strategy.GetStatus() == BotStatus.Up.ToString() ? "RUNNING" :
strategy.GetStatus() == BotStatus.Down.ToString() ? "STOPPED" : "UNUSED",
PnL = pnl,