Add startuptime and update creationDate
This commit is contained in:
@@ -505,7 +505,9 @@ public class BotController : BaseController
|
||||
ProfitAndLoss = item.GetProfitAndLoss(),
|
||||
Identifier = item.Identifier,
|
||||
AgentName = item.User.AgentName,
|
||||
Config = item.Config // Contains all configuration properties
|
||||
Config = item.Config,
|
||||
CreateDate = item.CreateDate,
|
||||
StartupTime = item.StartupTime
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -52,5 +52,15 @@ namespace Managing.Api.Models.Responses
|
||||
/// The full trading bot configuration
|
||||
/// </summary>
|
||||
[Required] public TradingBotConfig Config { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// The time when the bot was created
|
||||
/// </summary>
|
||||
[Required] public DateTime CreateDate { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// The time when the bot was started
|
||||
/// </summary>
|
||||
[Required] public DateTime StartupTime { get; internal set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user