Do not stop strategy if position open
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user