Do not stop strategy if position open

This commit is contained in:
2025-10-01 12:31:53 +07:00
parent 5953b96a38
commit 3e680ab815
4 changed files with 103 additions and 1 deletions

View File

@@ -46,4 +46,10 @@ public interface ILiveTradingBotGrain : IGrainWithGuidKey
/// Returns true if the ping was successful, false otherwise
/// </summary>
Task<bool> PingAsync();
/// <summary>
/// Checks if the bot has any open positions
/// Returns true if there are open positions, false otherwise
/// </summary>
Task<bool> HasOpenPositionsAsync();
}