Add reason when stopping bot

This commit is contained in:
2025-10-10 23:31:32 +07:00
parent d9ffadfe2b
commit d71d47f644
5 changed files with 13 additions and 10 deletions

View File

@@ -28,7 +28,7 @@ public interface ILiveTradingBotGrain : IGrainWithGuidKey
Task CreateAsync(TradingBotConfig config, User user);
Task StartAsync();
Task StopAsync();
Task StopAsync(string reason);
Task<bool> UpdateConfiguration(TradingBotConfig newConfig);
Task<Account> GetAccount();