{"id":43844,"date":"2026-06-22T22:05:24","date_gmt":"2026-06-23T03:05:24","guid":{"rendered":"https:\/\/library-staging.tradingtechnologies.com\/doc\/algos-in-adl-2\/"},"modified":"2026-06-22T22:05:26","modified_gmt":"2026-06-23T03:05:26","slug":"algos-in-adl-2","status":"publish","type":"doc","link":"https:\/\/library-staging.tradingtechnologies.com\/ja\/algos-in-adl-2\/","title":{"rendered":"ADL \u306e\u30a2\u30eb\u30b4"},"content":{"rendered":"<p><!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p> <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p>     <!-- in source YML header, should also match the filename\/url --><\/p>\n<p> <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p> <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<p> <!-- pages using refernce-tab-list layout will not trigger this condition. The Heading will be set in that layout file--><\/p>\n<div>\n<p>ADL \u306e\u30a2\u30eb\u30b4\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u8996\u899a\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u30ed\u30b8\u30c3\u30af\u304c\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u5165\u529b\u5024\u3092\u53d6\u5f97\u3059\u308b\u6a5f\u80fd\u7684\u306a<a href=\"abc-blocks.html\">\u30d6\u30ed\u30c3\u30af<\/a>\u306e\u96c6\u5408\u306f\u3001\u5404\u30d6\u30ed\u30c3\u30af\u306e\u6a5f\u80fd\u306b\u57fa\u3065\u3044\u3066\u8a08\u7b97\u3092\u884c\u3044\u51fa\u529b\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d6\u30ed\u30c3\u30af\u9593\u3067\u30c7\u30fc\u30bf\u304c\u6d41\u308c\u308b\u65b9\u6cd5\u3092\u6307\u5b9a\u3059\u308b\u4e00\u7d44\u306e<a href=\"abc-edges.html\">\u30a8\u30c3\u30b8<\/a>\u3002<\/li>\n<\/ul>\n<p>\u30d6\u30ed\u30c3\u30af\u3068\u30a8\u30c3\u30b8\u304c\u3069\u306e\u3088\u3046\u306b\u4e00\u7dd2\u306b\u4f5c\u52d5\u3059\u308b\u304b\u3092\u77e5\u308b\u306b\u306f\u3001\u5229\u7528\u53ef\u80fd\u306a\u679a\u6570\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u306e\u5024\u4ee5\u4e0b\u306b\u306a\u3063\u305f\u5834\u5408\u306b\u3001\u53cd\u5bfe\u306e\u30a4\u30f3\u30b5\u30a4\u30c9\u30de\u30fc\u30b1\u30c3\u30c8\u3067\u3059\u3079\u3066\u306e\u5229\u7528\u53ef\u80fd\u306a\u679a\u6570\u306b\u5bfe\u3057\u3066\u3001\u8cb7\u6ce8\u6587\u3092\u767a\u6ce8\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u305f\u3001\u4ee5\u4e0b\u306e\u30a2\u30eb\u30b4\u306b\u6ce8\u76ee\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/gs-algos-in-adl-4.png\" alt=\"ADL \u306e\u6982\u8981\"><\/p>\n<p>\u76ee\u7684\u3092\u9054\u6210\u3059\u308b\u305f\u3081\u3001\u30a2\u30eb\u30b4\u306f\u4ee5\u4e0b\u306e\u30d6\u30ed\u30c3\u30af\u3068\u30b3\u30cd\u30af\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\n<p>\u30a2\u30eb\u30b4\u306e\u76ee\u7684\u306f\u3001\u30de\u30fc\u30b1\u30c3\u30c8\u306b\u6ce8\u6587\u3092\u767a\u6ce8\u3059\u308b\u3053\u3068\u306a\u306e\u3067\u3001\u53d6\u5f15\u6240\u306b\u8cb7\u6ce8\u6587\u3092\u767a\u6ce8\u3059\u308b\u306b\u306f [<a href=\"tb-order-block.html\">Order<\/a>] \u30d6\u30ed\u30c3\u30af\u304c\u5fc5\u8981\u3067\u3059\u3002\u6ce8\u6587\u306f\u3001[Order] \u30d6\u30ed\u30c3\u30af\u306b\u5165\u529b\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u3001\u9650\u6708\u3068\u6ce8\u6587\u4fa1\u683c\u3001\u6ce8\u6587\u679a\u6570\u304c\u6700\u5c0f\u9650\u3067\u3082\u5fc5\u9808\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/gs-algos-in-adl-0-1.png\" alt=\"\"><\/p>\n<p hidden><span class=\"label label-info\">\u6ce8<\/span> <b>[Order] \u30d6\u30ed\u30c3\u30af\u306b\u306f\u3001\u30a2\u30eb\u30b4\u306e\u4ed6\u306e\u30d6\u30ed\u30c3\u30af\u306b\u60c5\u5831\u3092\u9001\u4fe1\u3059\u308b\u969b\u306b\u4f7f\u7528\u3067\u304d\u308b\u3001\u69d8\u3005\u306a\u51fa\u529b\u30dd\u30fc\u30c8\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/b>\u3053\u308c\u3089\u306e\u51fa\u529b\u30dd\u30fc\u30c8\u306e\u30bf\u30a4\u30d7\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"TBD\">TBD<\/a> \u306b\u3066\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p>[Order] \u30d6\u30ed\u30c3\u30af\u306e [<strong>inst<\/strong>] \u5165\u529b\u3092\u8b58\u5225\u3059\u308b\u306b\u306f\u3001\u30a2\u30eb\u30b4\u306f [<a href=\"tb-instrument-block.html\">Instrument<\/a>] \u30d6\u30ed\u30c3\u30af\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001\u30a2\u30eb\u30b4\u3092\u6bce\u56de\u8d77\u52d5\u3059\u308b\u305f\u3073\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u9650\u6708\u3092\u9078\u629e\u3067\u304d\u308b\u3088\u3046\u306b [Instrument] \u30d6\u30ed\u30c3\u30af\u306f\u8a2d\u5b9a\u3055\u308c\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\/gs-algos-in-adl-1-1.png\" alt=\"\"><\/p>\n<\/li>\n<li>\n<p>[Order] \u30d6\u30ed\u30c3\u30af\u306e [<strong>price<\/strong>] \u5165\u529b\u3068 [<strong>qty<\/strong>] \u5165\u529b\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u3001\u30a2\u30eb\u30b4\u306b\u306f2\u3064\u306e [<a href=\"tb-field-block.html\">Field<\/a>] \u30d6\u30ed\u30c3\u30af\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30d6\u30ed\u30c3\u30af\u306f [Instrument] \u30d6\u30ed\u30c3\u30af\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u306e\u9650\u6708\u304b\u3089\u3001\u6700\u826f\u8cb7\u5024\u3068\u679a\u6570\u306e\u30e9\u30a4\u30d6 \u30de\u30fc\u30b1\u30c3\u30c8 \u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/gs-algos-in-adl-2-1.png\" alt=\"\"><\/p>\n<\/li>\n<li>\n<p>[Order] \u30d6\u30ed\u30c3\u30af\u306b\u306f\u307e\u305f\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u304c\u6e80\u305f\u3055\u308c\u305f\u5834\u5408\u306b\u306e\u307f\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30d6\u30ed\u30c3\u30af\u3092\u6709\u52b9\u5316\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b\u3001[<strong>on\/off<\/strong>] \u5165\u529b\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001[<strong>on\/off<\/strong>] \u5165\u529b\u306f\u5fc5\u305a\u3001\u6700\u826f\u8cb7\u5024\u306e\u5229\u7528\u53ef\u80fd\u306a\u679a\u6570\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u5024\u4ee5\u4e0b\u3067\u3042\u308b\u5834\u5408\u306b\u306e\u307f\u3001\u30a2\u30eb\u30b4\u304c\u6ce8\u6587\u3092\u767a\u6ce8\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<!--To calculate the value, the algo uses a <a href=\"bb-number-block.html\">Number<\/a> block to get the desired quantity from the user (or use 20 by default). The <a href=\"lb-less-than-block.html\">Less Than<\/a> block takes its inputs from the Field and Number blocks and outputs a Boolean value that is passed to the Order block.-->\u5024\u3092\u8a08\u7b97\u3059\u308b\u306b\u306f\u3001\u30a2\u30eb\u30b4\u306f [<a href=\"bb-number-block.html\">Number<\/a>] \u30d6\u30ed\u30c3\u30af\u3092\u4f7f\u3063\u3066\u3001\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u5e0c\u671b\u3059\u308b\u3057\u304d\u3044\u5024\u679a\u6570\u3092\u53d6\u5f97\u3057\u307e\u3059 (\u307e\u305f\u306f\u65e2\u5b9a\u306e 20 \u679a\u3092\u4f7f\u7528\u3057\u307e\u3059)\u3002[<a href=\"lb-less-than-block.html\">Less Than<\/a>] \u30d6\u30ed\u30c3\u30af\u306f\u3001[<a href=\"tb-field-block.html\">Field<\/a>] \u30d6\u30ed\u30c3\u30af\u3068 [<a href=\"bb-number-block.html\">Number<\/a>] \u30d6\u30ed\u30c3\u30af\u304b\u3089\u5165\u529b\u3092\u53d6\u5f97\u3057\u3001[Order] \u30d6\u30ed\u30c3\u30af\u306e [<strong>on\/off<\/strong>] \u5165\u529b\u30b3\u30cd\u30af\u30bf\u30fc\u306b\u6e21\u3055\u308c\u305f Boolean (\u30d6\u30fc\u30eb) \u5024\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u5024\u304c\u771f\u306e\u5834\u5408\u306f\u3001\u6700\u826f\u8cb7\u306e\u5229\u7528\u53ef\u80fd\u306a\u679a\u6570\u304c\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u5024\u3088\u308a\u5c11\u306a\u3044\u3053\u3068\u3092\u793a\u3057\u3001\u30a2\u30eb\u30b4\u306f [Order] \u30d6\u30ed\u30c3\u30af\u3092\u6709\u52b9\u5316\u3059\u308b\u306e\u3067\u6ce8\u6587\u3092\u767a\u6ce8\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2026\/06\/gs-algos-in-adl-3-1.png\" alt=\"\"><\/p>\n<\/li>\n<\/ul>\n<p><!--\n\t\n\n<ol>\n\t  \n\n<li>\n\t  \t\n\n<p>The <a href=\"tb-instrument-block.html\">Instrument<\/a> block is a trading block that allows the user to specify which instrument and account to use for the algo. The Instrument block provides access to market data for contracts you want to trade using an ADL algo.<\/p>\n\n\n\t  <\/li>\n\n\n\t  \n\n<li>\n\t  \t\n\n<p>The <a href=\"tb-field-block.html\">Field<\/a> block is a trading block that extracts a piece of market data from an <a href=\"tb-instrument-block.html\">Instrument<\/a>, such as prices and quantities, that you can then use in your algo. This algo uses two Field blocks to get the price and quantity of the bid at the inside market.<\/p>\n\n\n\t  <\/li>\n\n\n\t  \n\n<li>\n\t  \t\n\n<p>The <a href=\"bb-number-block.html\">Number<\/a> block is a basic block that allows the user to set the available quantity to trigger the buy order.<\/p>\n\n\n\t  <\/li>\n\n\n\t  \n\n<li>\n\t  \t\n\n<p>The <a href=\"lb-less-than-block.html\">Less Than<\/a> block is a logic block that produces a Boolean value that determines whether to submit an order.<\/p>\n\n\n\t  <\/li>\n\n\n\t  \n\n<li>\n\t  \t\n\n<p>The <a href=\"tb-order-block.html\">Order<\/a> block is a trading block that submits an order to the exchange. It specifies the order type, such as Limit or Market, and identifies the instrument, price and quantity through its input ports.<\/p>\n\n\n\t  <\/li>\n\n\n\n\t  \n\n<li>\n\t  \t\n\n<p>The colored lines represent connectors that control the flow of information through the algo. A connector links an output port from one block to an input port of another block. In this algo, the connectors create the following information flow:<\/p>\n\n\n\t  \t\n\n<ul>\n\t  \t  \n\n<li>\n\t  \t  Retrieves the price and quantity of the inside market for the bid from the Instrument block output port and sends them to the Buy Order block.\n\t  \t  \n\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"Content\/gs-algos-in-adl-flow1.png\" alt=\"\"><\/p>\n\n\n\t  \t  <\/li>\n\n\n\t  \t  \n\n<li>\n\t  \t  Sends outputs from the Best Bid Qty and Trigger Qty blocks to the Avail Bid Test block inputs to indicate when the available quantity is less that the desired trigger quantity.\n\t  \t  \n\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"Content\/gs-algos-in-adl-flow2.png\" alt=\"\"><\/p>\n\n\n\t  \t  <\/li>\n\n\n\t  \t  \n\n<li>\n\t  \t  Sends the Avail Bid Test block output to the on\/off input port of Buy Order block, which then causes the order block to submit an order when the value is true.\n\t  \t  \n\n<p><img decoding=\"async\" class=\"img-responsive\" src=\"Content\/gs-algos-in-adl-flow3.png\" alt=\"\"><\/p>\n\n\n\t  \t  <\/li>\n\n\n\t  \t<\/ul>\n\n\n\t  <\/li>\n\n\n\t<\/ol>\n\n\n\t  --><\/div>\n","protected":false},"excerpt":{"rendered":"<p>ADL \u306e\u30a2\u30eb\u30b4\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u8996\u899a\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u30ed\u30b8\u30c3\u30af\u304c\u793a\u3055\u308c\u307e\u3059\u3002 \u5165\u529b\u5024\u3092\u53d6\u5f97\u3059\u308b\u6a5f\u80fd\u7684\u306a\u30d6\u30ed\u30c3\u30af\u306e\u96c6\u5408\u306f\u3001\u5404\u30d6\u30ed\u30c3\u30af\u306e\u6a5f\u80fd\u306b\u57fa\u3065\u3044\u3066\u8a08\u7b97\u3092\u884c\u3044\u51fa\u529b\u3092\u751f\u6210\u3057\u307e\u3059\u3002 \u30d6\u30ed\u30c3\u30af\u9593\u3067\u30c7\u30fc\u30bf\u304c\u6d41\u308c\u308b\u65b9\u6cd5\u3092\u6307\u5b9a\u3059\u308b [&hellip;]<\/p>\n","protected":false},"author":2,"template":"","meta":{"_acf_changed":false,"footnotes":""},"docs-category":[223],"class_list":["post-43844","doc","type-doc","status-publish","hentry","docs-category-description-introduction-to-adl"],"acf":[],"_links":{"self":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/43844","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\/43844\/revisions"}],"wp:attachment":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/media?parent=43844"}],"wp:term":[{"taxonomy":"docs-category","embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/docs-category?post=43844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}