Fix restart/start if not account with the first account of the user

This commit is contained in:
2025-10-12 16:08:12 +07:00
parent 176573ddd1
commit ff74296c26
4 changed files with 61 additions and 7 deletions

View File

@@ -53,4 +53,9 @@ public interface ILiveTradingBotGrain : IGrainWithGuidKey
/// Returns true if there are open positions, false otherwise
/// </summary>
Task<bool> HasOpenPositionsAsync();
/// <summary>
/// Gets the user who owns this bot
/// </summary>
Task<User> GetUserAsync();
}