Leveraging helper properties and methods
The TradeSubscription class provides several helper properties that aggregate useful information about the orders and fills included in it.
- BuyWorking:Gets the total quantity of working buy orders included in the subscription.
- SellWorking: Gets the total quantity of working sell orders included in the subscription.
The TradeSubscription class also provides several helper methods you can use when manipulating only buy orders, only sell orders, or all orders.
- DeleteBySide(BuySell): Deletes all working buy or all working sell orders in the subscription.
- DeleteAll(): Deletes all working orders in the subscription.