{"id":43159,"date":"2026-06-22T21:45:45","date_gmt":"2026-06-23T02:45:45","guid":{"rendered":"https:\/\/library-staging.tradingtechnologies.com\/doc\/combining-multiple-filters-2\/"},"modified":"2026-06-22T21:45:45","modified_gmt":"2026-06-23T02:45:45","slug":"combining-multiple-filters-2","status":"publish","type":"doc","link":"https:\/\/library-staging.tradingtechnologies.com\/ja\/combining-multiple-filters-2\/","title":{"rendered":"\u8907\u6570\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u7d71\u5408"},"content":{"rendered":"<div><!-- \n\n<h3>Combining multiple filters<\/h3>\n\n --><\/p>\n<p>\u6570\u5f0f\u3067\u8907\u6570\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u4f7f\u7528\u3059\u308b\u969b\u3001TT RTD Server \u3067\u306f\u3001<!--you specify the same or different attributes and whether -->\u7b49\u5f0f\u307e\u305f\u306f\u4e0d\u7b49\u5f0f\u306e\u3044\u305a\u308c\u3092\u30c6\u30b9\u30c8\u3057\u3066\u3044\u308b\u304b\u306b\u57fa\u3065\u3044\u3066\u3001\u30d6\u30fc\u30eb\u5024\u30ed\u30b8\u30c3\u30af\u304c\u5024\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u8868\u306b\u306f\u3001TT RTD Server \u3067\u4e00\u81f4\u8a18\u9332\u304c\u691c\u7d22\u3055\u308c\u308b\u969b\u306b\u3001\u4f7f\u7528\u3055\u308c\u308b\u30ed\u30b8\u30c3\u30af\u306e\u6c7a\u5b9a\u65b9\u6cd5\u304c\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!--\n      \n\n<table class=\"table table-striped table-bordered\" border=\"1\">\n        \n\n<thead>\n          \n\n<tr>\n            \n\n<th>Attribute<\/th>\n\n\n            \n\n<th>Operator<\/th>\n\n\n            \n\n<th>Logic<\/th>\n\n\n            \n\n<th>Examples<\/th>\n\n\n          <\/tr>\n\n\n        <\/thead>\n\n\n        \n\n<tbody>\n          \n\n<tr>\n            \n\n<td>Same<\/td>\n\n\n            \n\n<td>All =<\/td>\n\n\n            \n\n<td>Boolean OR<\/td>\n\n\n            \n\n<td>\n              \n\n<p>\"Account=JDOE\",\"Account=BSMITH\"<\/p>\n\n\n              \n\n<p>Returns records for both JDOE and BSMITH accounts<\/p>\n\n\n            <\/td>\n\n\n          <\/tr>\n\n\n          \n\n<tr>\n            \n\n<td>Same<\/td>\n\n\n            \n\n<td>All &lt;&gt;<\/td>\n\n\n            \n\n<td>Boolean AND<\/td>\n\n\n            \n\n<td>\n              \n\n<p>\"Account&lt;&gt;JDOE\",\"Account&lt;&gt;BSMITH\"<\/p>\n\n\n              \n\n<p>Returns records for all accounts except JDOE and BSMITH<\/p>\n\n\n            <\/td>\n\n\n          <\/tr>\n\n\n          \n\n<tr>\n            \n\n<td>Same<\/td>\n\n\n            \n\n<td>Mixed<\/td>\n\n\n            \n\n<td>Boolean AND<\/td>\n\n\n            \n\n<td>\n              \n\n<p>\"Account=JDOE\",\"Account&lt;&gt;BSMITH\"<\/p>\n\n\n              \n\n<p>Returns records for both JDOE and all accounts expect BSMITH<\/p>\n\n\n            <\/td>\n\n\n          <\/tr>\n\n\n          \n\n<tr>\n            \n\n<td>Different<\/td>\n\n\n            \n\n<td>All =<\/td>\n\n\n            \n\n<td>Boolean AND<\/td>\n\n\n            \n\n<td>\n              \n\n<p>\"Account=JDOE\",\"ClrMember=ABC\"<\/p>\n\n\n              \n\n<p>Returns records that contain both account JDOE and clearing member ABC.<\/p>\n\n\n            <\/td>\n\n\n          <\/tr>\n\n\n          \n\n<tr>\n            \n\n<td>Different<\/td>\n\n\n            \n\n<td>All &lt;&gt;<\/td>\n\n\n            \n\n<td>Boolean OR<\/td>\n\n\n            \n\n<td>\n              \n\n<p>\"Account&lt;&gt;JDOE\",\"ClrMember&lt;&gt;ABC\"<\/p>\n\n\n              \n\n<p>Returns records for all accounts except JDOE and all clearing members except ABC.<\/p>\n\n\n            <\/td>\n\n\n          <\/tr>\n\n\n          \n\n<tr>\n            \n\n<td>Different<\/td>\n\n\n            \n\n<td>Mixed<\/td>\n\n\n            \n\n<td>Boolean OR<\/td>\n\n\n            \n\n<td>\n              \n\n<p>\"Account&lt;&gt;JDOE\",\"ClrMember=ABC\"<\/p>\n\n\n              \n\n<p>Returns records for all accounts except JDOE and all records with clearing member ABC.<\/p>\n\n\n            <\/td>\n\n\n          <\/tr>\n\n\n        <\/tbody>\n\n\n      <\/table>\n\n\n--><\/p>\n<table class=\"table table-striped table-bordered\" border=\"1\">\n<thead>\n<tr>\n<th>\u6f14\u7b97\u5b50<\/th>\n<th>\u30ed\u30b8\u30c3\u30af<\/th>\n<th>\u4f8b<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>All =<\/td>\n<td>Boolean OR<\/td>\n<td>\n<p>&#8220;Account=JDOE&#8221;,&#8221;Account=BSMITH&#8221;<\/p>\n<p>JDOE \u3068 BSMITH \u306e\u4e21\u65b9\u306e\u53e3\u5ea7\u306e\u8a18\u9332\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>All &lt;&gt;<\/td>\n<td>Boolean AND<\/td>\n<td>\n<p>&#8220;Account&lt;&gt;JDOE&#8221;,&#8221;Account&lt;&gt;BSMITH&#8221;<\/p>\n<p>JDOE \u3068 BSMITH \u3092\u9664\u304f\u3059\u3079\u3066\u306e\u53e3\u5ea7\u306e\u8a18\u9332\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>Mixed<\/td>\n<td>Boolean AND<\/td>\n<td>\n<p>\u300cAccount=JDOE&#8221;,&#8221;Account&lt;&gt;BSMITH&#8221;<\/p>\n<p>JDOE \u3068\u3059\u3079\u3066\u306e\u53e3\u5ea7 (BSMITH \u306f\u9664\u304f) \u306e\u8a18\u9332\u3092\u3059\u3079\u3066\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4f8b\u3048\u3070\u3001A48 \u30bb\u30eb\u306b\u300cNetPos\u300d\u3001<b>A31<\/b> \u30bb\u30eb\u306b\u300cAccount=&#8221;ATRSim\u300d\u3001<b>A39<\/b> \u30bb\u30eb\u306b\u300cAccount=ATRSim2\u300d \u306e\u6587\u5b57\u3001\u305d\u3057\u3066 <b>B3<\/b> \u30bb\u30eb\u306b\u9650\u6708 ID \u3092\u4fdd\u5b58\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30d5\u30a3\u30eb\u30bf\u30fc\u6e08\u307f\u306e\u30cd\u30c3\u30c8 \u30dd\u30b8\u30b7\u30e7\u30f3\u3092\u62bd\u51fa\u3067\u304d\u307e\u3059\u3002<\/p>\n<blockquote>\n<pre>=RTD(\"tt.rtd\",,B3,A48,A31,A39)<\/pre>\n<\/blockquote>\n<p>\u6570\u5f0f\u3092\u51e6\u7406\u3057\u305f\u5f8c\u3001Excel \u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5185\u5bb9\u306e\u7d50\u679c\u304c\u30bb\u30eb\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30bb\u30eb\u306e\u300c$\u300d\u306f\u3001Excel \u306e\u6df7\u5408\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u8a18\u53f7\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/rtd-type2-multi-filter-1.png\"><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<div><!-- \n\n\n\n<h3>Combining multiple filters<\/h3>\n\n\n\n --><\/p>\n<p>\u6570\u5f0f\u3067\u8907\u6570\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u4f7f\u7528\u3059\u308b\u969b\u3001TT RTD Server \u3067\u306f\u3001<!--you specify the same or different attributes and whether -->\u7b49\u5f0f\u307e\u305f\u306f\u4e0d\u7b49\u5f0f\u306e\u3044\u305a\u308c\u3092\u30c6\u30b9\u30c8\u3057\u3066\u3044\u308b\u304b\u306b\u57fa\u3065\u3044\u3066\u3001\u30d6\u30fc\u30eb\u5024\u30ed\u30b8\u30c3\u30af\u304c\u5024\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u8868\u306b\u306f\u3001TT RTD Server \u3067\u4e00\u81f4\u8a18\u9332\u304c\u691c\u7d22\u3055\u308c\u308b\u969b\u306b\u3001\u4f7f\u7528\u3055\u308c\u308b\u30ed\u30b8\u30c3\u30af\u306e\u6c7a\u5b9a\u65b9\u6cd5\u304c\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!--\n      \n\n\n\n<table class=\"table table-striped table-bordered\" border=\"1\">\n        \n\n\n\n<thead>\n          \n\n\n\n<tr>\n            \n\n\n\n<th>Attribute<\/th>\n\n\n\n\n            \n\n\n\n<th>Operator<\/th>\n\n\n\n\n            \n\n\n\n<th>Logic<\/th>\n\n\n\n\n            \n\n\n\n<th>Examples<\/th>\n\n\n\n\n          <\/tr>\n\n\n\n\n        <\/thead>\n\n\n\n\n        \n\n\n\n<tbody>\n          \n\n\n\n<tr>\n            \n\n\n\n<td>Same<\/td>\n\n\n\n\n            \n\n\n\n<td>All =<\/td>\n\n\n\n\n            \n\n\n\n<td>Boolean OR<\/td>\n\n\n\n\n            \n\n\n\n<td>\n              \n\n\n\n<p>\"Account=JDOE\",\"Account=BSMITH\"<\/p>\n\n\n\n\n              \n\n\n\n<p>Returns records for both JDOE and BSMITH accounts<\/p>\n\n\n\n\n            <\/td>\n\n\n\n\n          <\/tr>\n\n\n\n\n          \n\n\n\n<tr>\n            \n\n\n\n<td>Same<\/td>\n\n\n\n\n            \n\n\n\n<td>All &lt;&gt;<\/td>\n\n\n\n\n            \n\n\n\n<td>Boolean AND<\/td>\n\n\n\n\n            \n\n\n\n<td>\n              \n\n\n\n<p>\"Account&lt;&gt;JDOE\",\"Account&lt;&gt;BSMITH\"<\/p>\n\n\n\n\n              \n\n\n\n<p>Returns records for all accounts except JDOE and BSMITH<\/p>\n\n\n\n\n            <\/td>\n\n\n\n\n          <\/tr>\n\n\n\n\n          \n\n\n\n<tr>\n            \n\n\n\n<td>Same<\/td>\n\n\n\n\n            \n\n\n\n<td>Mixed<\/td>\n\n\n\n\n            \n\n\n\n<td>Boolean AND<\/td>\n\n\n\n\n            \n\n\n\n<td>\n              \n\n\n\n<p>\"Account=JDOE\",\"Account&lt;&gt;BSMITH\"<\/p>\n\n\n\n\n              \n\n\n\n<p>Returns records for both JDOE and all accounts expect BSMITH<\/p>\n\n\n\n\n            <\/td>\n\n\n\n\n          <\/tr>\n\n\n\n\n          \n\n\n\n<tr>\n            \n\n\n\n<td>Different<\/td>\n\n\n\n\n            \n\n\n\n<td>All =<\/td>\n\n\n\n\n            \n\n\n\n<td>Boolean AND<\/td>\n\n\n\n\n            \n\n\n\n<td>\n              \n\n\n\n<p>\"Account=JDOE\",\"ClrMember=ABC\"<\/p>\n\n\n\n\n              \n\n\n\n<p>Returns records that contain both account JDOE and clearing member ABC.<\/p>\n\n\n\n\n            <\/td>\n\n\n\n\n          <\/tr>\n\n\n\n\n          \n\n\n\n<tr>\n            \n\n\n\n<td>Different<\/td>\n\n\n\n\n            \n\n\n\n<td>All &lt;&gt;<\/td>\n\n\n\n\n            \n\n\n\n<td>Boolean OR<\/td>\n\n\n\n\n            \n\n\n\n<td>\n              \n\n\n\n<p>\"Account&lt;&gt;JDOE\",\"ClrMember&lt;&gt;ABC\"<\/p>\n\n\n\n\n              \n\n\n\n<p>Returns records for all accounts except JDOE and all clearing members except ABC.<\/p>\n\n\n\n\n            <\/td>\n\n\n\n\n          <\/tr>\n\n\n\n\n          \n\n\n\n<tr>\n            \n\n\n\n<td>Different<\/td>\n\n\n\n\n            \n\n\n\n<td>Mixed<\/td>\n\n\n\n\n            \n\n\n\n<td>Boolean OR<\/td>\n\n\n\n\n            \n\n\n\n<td>\n              \n\n\n\n<p>\"Account&lt;&gt;JDOE\",\"ClrMember=ABC\"<\/p>\n\n\n\n\n              \n\n\n\n<p>Returns records for all accounts except JDOE and all records with clearing member ABC.<\/p>\n\n\n\n\n            <\/td>\n\n\n\n\n          <\/tr>\n\n\n\n\n        <\/tbody>\n\n\n\n\n      <\/table>\n\n\n\n\n--><\/p>\n<table class=\"table table-striped table-bordered\" border=\"1\">\n<thead>\n<tr>\n<th>\u6f14\u7b97\u5b50<\/th>\n<th>\u30ed\u30b8\u30c3\u30af<\/th>\n<th>\u4f8b<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>All =<\/td>\n<td>Boolean OR<\/td>\n<td>\n<p>&#8220;Account=JDOE&#8221;,&#8221;Account=BSMITH&#8221;<\/p>\n<p>JDOE \u3068 BSMITH \u306e\u4e21\u65b9\u306e\u53e3\u5ea7\u306e\u8a18\u9332\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>All &lt;&gt;<\/td>\n<td>Boolean AND<\/td>\n<td>\n<p>&#8220;Account&lt;&gt;JDOE&#8221;,&#8221;Account&lt;&gt;BSMITH&#8221;<\/p>\n<p>JDOE \u3068 BSMITH \u3092\u9664\u304f\u3059\u3079\u3066\u306e\u53e3\u5ea7\u306e\u8a18\u9332\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>Mixed<\/td>\n<td>Boolean AND<\/td>\n<td>\n<p>\u300cAccount=JDOE&#8221;,&#8221;Account&lt;&gt;BSMITH&#8221;<\/p>\n<p>JDOE \u3068\u3059\u3079\u3066\u306e\u53e3\u5ea7 (BSMITH \u306f\u9664\u304f) \u306e\u8a18\u9332\u3092\u3059\u3079\u3066\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4f8b\u3048\u3070\u3001A48 \u30bb\u30eb\u306b\u300cNetPos\u300d\u3001<b>A31<\/b> \u30bb\u30eb\u306b\u300cAccount=&#8221;ATRSim\u300d\u3001<b>A39<\/b> \u30bb\u30eb\u306b\u300cAccount=ATRSim2\u300d \u306e\u6587\u5b57\u3001\u305d\u3057\u3066 <b>B3<\/b> \u30bb\u30eb\u306b\u9650\u6708 ID \u3092\u4fdd\u5b58\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30d5\u30a3\u30eb\u30bf\u30fc\u6e08\u307f\u306e\u30cd\u30c3\u30c8 \u30dd\u30b8\u30b7\u30e7\u30f3\u3092\u62bd\u51fa\u3067\u304d\u307e\u3059\u3002<\/p>\n<blockquote>\n<pre>=RTD(\"tt.rtd\",,B3,A48,A31,A39)<\/pre>\n<\/blockquote>\n<p>\u6570\u5f0f\u3092\u51e6\u7406\u3057\u305f\u5f8c\u3001Excel \u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5185\u5bb9\u306e\u7d50\u679c\u304c\u30bb\u30eb\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30bb\u30eb\u306e\u300c$\u300d\u306f\u3001Excel \u306e\u6df7\u5408\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u8a18\u53f7\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/rtd-type2-multi-filter-1.png\"><\/p>\n<\/p>\n<\/div>\n","protected":false},"author":2,"template":"","meta":{"_acf_changed":false,"footnotes":""},"docs-category":[274],"class_list":["post-43159","doc","type-doc","status-publish","hentry","docs-category-task-excel-integration-with-tt"],"acf":[],"_links":{"self":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/43159","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\/43159\/revisions"}],"wp:attachment":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/media?parent=43159"}],"wp:term":[{"taxonomy":"docs-category","embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/docs-category?post=43159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}