Fix restart/start if not account with the first account of the user
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user