{"id":8088,"date":"2025-09-04T23:21:47","date_gmt":"2025-09-05T04:21:47","guid":{"rendered":"https:\/\/librarytestdev.wpenginepowered.com\/?post_type=doc&#038;p=8088"},"modified":"2025-09-04T23:23:49","modified_gmt":"2025-09-05T04:23:49","slug":"leveraging-helper-properties-and-methods","status":"publish","type":"doc","link":"https:\/\/library-staging.tradingtechnologies.com\/apis\/tt-net-sdk\/working-with-trade-subscriptions\/leveraging-helper-properties-and-methods\/","title":{"rendered":"Leveraging helper properties and methods"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The&nbsp;<a href=\"\/tt-net-sdk\/api\/tt_net_sdk.TradeSubscription.html\">TradeSubscription<\/a>&nbsp;class provides several helper properties that aggregate useful information about the orders and fills included in it.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/tt-net-sdk\/api\/tt_net_sdk.TradeSubscription.html#tt_net_sdk_TradeSubscription_BuyWorking\">BuyWorking<\/a>:Gets the total quantity of working buy orders included in the subscription.<\/li>\n\n\n\n<li><a href=\"\/tt-net-sdk\/api\/tt_net_sdk.TradeSubscription.html#tt_net_sdk_TradeSubscription_SellWorking\">SellWorking<\/a>: Gets the total quantity of working sell orders included in the subscription.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The&nbsp;<a href=\"\/tt-net-sdk\/api\/tt_net_sdk.TradeSubscription.html\">TradeSubscription<\/a>&nbsp;class also provides several helper methods you can use when manipulating only buy orders, only sell orders, or all orders.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/tt-net-sdk\/api\/tt_net_sdk.TradeSubscription.html#tt_net_sdk_TradeSubscription_DeleteBySide_tt_net_sdk_BuySell_\">DeleteBySide(BuySell)<\/a>: Deletes all working buy or all working sell orders in the subscription.<\/li>\n\n\n\n<li><a href=\"\/tt-net-sdk\/api\/tt_net_sdk.TradeSubscription.html#tt_net_sdk_TradeSubscription_DeleteAll\">DeleteAll()<\/a>: Deletes all working orders in the subscription.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"wp-block-paragraph\">The&nbsp;<a href=\"\/tt-net-sdk\/api\/tt_net_sdk.TradeSubscription.html\">TradeSubscription<\/a>&nbsp;class provides several helper properties that aggregate useful information about the orders and fills included in it.<\/p>\n<p class=\"wp-block-paragraph\">The&nbsp;<a href=\"\/tt-net-sdk\/api\/tt_net_sdk.TradeSubscription.html\">TradeSubscription<\/a>&nbsp;class also provides several helper methods you can use when manipulating only buy orders, only sell orders, or all orders.<\/p>\n<p class=\"wp-block-paragraph\">\n","protected":false},"author":2,"template":"wp-custom-template-single-doc-tt-net-sdk","meta":{"_acf_changed":true,"footnotes":""},"docs-category":[774],"class_list":["post-8088","doc","type-doc","status-publish","hentry","docs-category-working-with-trade-subscriptions"],"acf":[],"_links":{"self":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/8088","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":0,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/8088\/revisions"}],"wp:attachment":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/media?parent=8088"}],"wp:term":[{"taxonomy":"docs-category","embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/docs-category?post=8088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}