Update bot management

This commit is contained in:
2025-03-02 20:13:24 +01:00
parent 5c50159bda
commit c0d54f35f5
2 changed files with 152 additions and 83 deletions

View File

@@ -190,6 +190,12 @@ public static class Enums
Cancelled = 2,
Filled = 3,
}
public static bool IsActive(this TradeStatus status) =>
status == TradeStatus.Requested ||
status == TradeStatus.Cancelled ||
status == TradeStatus.Filled;
public enum PositionStatus
{